Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
p5pRT opened this issue Jun 23, 1999 · 1 comment
Closed

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

p5pRT opened this issue Jun 23, 1999 · 1 comment

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Jun 23, 1999

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

Searchable as RT907$

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Jun 23, 1999

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
  .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.