Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 525 forks source link

PATCH for perl5.005_03/hints/powerux.sh #103

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#907 (status was 'resolved')

Searchable as RT907$

p5pRT commented 24 years ago

From Tom.Horsley@mail.ccur.com

Perl seems to build fine without this patch to the PowerMAX hints file\, but later some modules fail because sys_nerr isn't defined\, so this forces the sys_nerr symbol to be linked into the main a.out file.

This patch is against perl5.005_03\, but it should apply equally well to the development version of perl.

*** perl5.005_03/hints/powerux.sh.orig Wed Jun 23 12​:31​:03 1999 --- perl5.005_03/hints/powerux.sh Wed Jun 23 12​:33​:21 1999 *************** *** 52\,58 ****   #   cc='/bin/cc'   cccdlflags='-Zpic' ! ccdlflags='-Zlink=dynamic -Wl\,-Bexport'   lddlflags='-Zlink=so'  
  # Configure sometime finds what it believes to be ndbm header files on the --- 52\,58 ----   #   cc='/bin/cc'   cccdlflags='-Zpic' ! ccdlflags='-Zlink=dynamic -Wl\,-usys_nerr -Wl\,-Bexport'   lddlflags='-Zlink=so'  
  # Configure sometime finds what it believes to be ndbm header files on the

For completeness\, here's the perl -V output for this system​:

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration​:   Platform​:   osname=powerux\, osvers=4.2\, archname=ppc-powerux   uname='powermax_os cleo 4.2 powermax_os night_hawk ppc604 '   hint=recommended\, useposix=true\, d_sigaction=define   usethreads=undef useperlio=undef d_sfio=undef   Compiler​:   cc='/bin/cc'\, optimize='-g -O3'\, gccversion=   cppflags='-DDEBUGGING -I/usr/local/include'   ccflags ='-DDEBUGGING -I/usr/local/include'   stdchar='char'\, d_stdstdio=define\, usevfork=false   intsize=4\, longsize=4\, ptrsize=4\, doublesize=8   d_longlong=define\, longlongsize=8\, d_longdbl=define\, longdblsize=8   alignbytes=8\, usemymalloc=n\, prototype=define   Linker and Libraries​:   ld='/bin/cc'\, ldflags =' -L/usr/local/lib'   libpth=/usr/local/lib /shlib /lib /usr/lib /usr/ccs/lib   libs=-lsocket -lnsl -lgen -lresolv -ldbm -ldl -lm -lc -lcrypt   libc=/lib/libc.so\, so=so\, useshrplib=false\, libperl=libperl.a   Dynamic Linking​:   dlsrc=dl_dlopen.xs\, dlext=so\, d_dlsymun=undef\, ccdlflags='-Zlink=dynamic -Wl\,-Bexport'   cccdlflags='-Zpic'\, lddlflags='-Zlink=so -L/usr/local/lib'

Characteristics of this binary (from libperl)​:   Compile-time options​: DEBUGGING   Built under powerux   Compiled at Jun 23 1999 07​:48​:49   %ENV​:   PERLDOC_PAGER="/cl0/tom/scripts/perldoc-pager"   @​INC​:   /usr/tools/perl5.005_03/lib/perl/ppc-powerux   /usr/tools/perl5.005_03/lib/perl   /usr/tools/perl5.005_03/lib/site_perl/5.005/ppc-powerux   /usr/tools/perl5.005_03/lib/site_perl/5.005   .