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

perl5.005_62 on AIX 4.3: Badly Configure'd import/export ld flags #924

Closed
p5pRT opened this issue Dec 8, 1999 · 2 comments
Closed

perl5.005_62 on AIX 4.3: Badly Configure'd import/export ld flags #924

p5pRT opened this issue Dec 8, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Dec 8, 1999

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

Searchable as RT1867$

@p5pRT
Copy link
Author

p5pRT commented Dec 8, 1999

From ortmann@vnet.ibm.com

While building perl5.005_62 on AIX 4.3 I get these values in lddlflags
"-bI​:/perl.exp -bE​:.exp" and it's screwing up all ld dynamic loading.
Each Makefile must then be manually editted.

The bug is caused because lddlflags in hints/aix.sh '' have been
replaced by "" but two variables were not subsequently escaped with
backslashes.

The following patch cures the problem​:

*** perl5.005_62/hints/aix.sh~ Wed Dec 8 12​:34​:13 1999
--- perl5.005_62/hints/aix.sh Tue Dec 7 17​:17​:15 1999
***************
*** 111,120 ****
  # symbol​: boot_$(EXP) can it be auto-generated?
  case "$osvers" in
  3*)
! lddlflags="$lddlflags -H512 -T512 -bhalt​:4 -bM​:SRE -bI​:$(PERL_INC)/perl.exp -bE​:$(BASEEXT).exp -e _nostart -lc"
  ;;
  *)
! lddlflags="$lddlflags -bhalt​:4 -bM​:SRE -bI​:$(PERL_INC)/perl.exp -bE​:$(BASEEXT).exp -b noentry -lc"
  ;;
  esac

--- 111,120 ----
  # symbol​: boot_$(EXP) can it be auto-generated?
  case "$osvers" in
  3*)
! lddlflags="$lddlflags -H512 -T512 -bhalt​:4 -bM​:SRE -bI​:\$(PERL_INC)/perl.exp -bE​:\$(BASEEXT).exp -e _nostart -lc"
  ;;
  *)
! lddlflags="$lddlflags -bhalt​:4 -bM​:SRE -bI​:\$(PERL_INC)/perl.exp -bE​:\$(BASEEXT).exp -b noentry -lc"
  ;;
  esac

Perl Info


Site configuration information for perl 5.00562:

Configured by ortmann at Tue Dec  7 17:22:51 CST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration:
  Platform:
    osname=aix, osvers=4.3.0.0, archname=aix
    uname='aix neon 3 4 000051197000 '
    config_args='-Dprefix=/afs/rchland.ibm.com/rel/common/prod/ct/local/9912/rs_aix43'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=define usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -DUSE_LONG_LONG -q32 -D_LARGE_FILES -qlonglong -I/usr/local/include'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -DUSE_LONG_LONG -q32 -D_LARGE_FILES -qlonglong -I/usr/local/include'
    stdchar='unsigned 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=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-b32 -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -ldbm -ldl -lld -lm -lC -lc -lcrypt -lbsd -lPW -lpthread
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=o, d_dlsymun=undef, ccdlflags='  -bE:/afs/.rchland.ibm.com/rel/common/prod/ct/local/9912/rs_aix43/lib/perl5/5.00562/aix/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lC -lc -L/usr/local/lib'

Locally applied patches:



@INC for perl 5.00562:
    /afs/rchland.ibm.com/rel/common/prod/ct/local/9912/rs_aix43/lib/perl5/5.00562/aix
    /afs/rchland.ibm.com/rel/common/prod/ct/local/9912/rs_aix43/lib/perl5/5.00562
    /afs/rchland.ibm.com/rel/common/prod/ct/local/9912/rs_aix43/lib/site_perl/5.00562/aix
    /afs/rchland.ibm.com/rel/common/prod/ct/local/9912/rs_aix43/lib/site_perl
    .


Environment for perl 5.00562:
    HOME=/afs/rchland.ibm.com/usr3/ortmann
    LANG=En_US
    LANGUAGE (unset)
    LC__FASTMSG=true
    LD_LIBRARY_PATH (unset)
    LIBPATH (unset)
    LOGDIR (unset)
    PATH=/afs/rchland.ibm.com/rel/common/prod/ct/local/9912/rs_aix43/bin:/afs/rchland.ibm.com/rel/common/prod/ct/local/dev/bin:/afs/rchland.ibm.com/rel/common/prod/ct/local/prod/bin:/sbin:/usr/sbin:/.../rchland.ibm.com/fs/eng/tools/fw/release/site/rchland:/.../rchland.ibm.com/fs/eng/tools/fw/release/wrappers:/.../rchland.ibm.com/fs/eng/tools/fw/release/bin:/afs/rchland.ibm.com/rel/rs_aix31/release/eda/xls/bin:/afs/rchland.ibm.com/rel/rs_aix31/release/eda/bin:/usr/tools/bin:/usr/local/bin:/usr/andrew/bin:/usr/contrib/bin:/usr/afs/bin:/bin:/usr/ucb:/usr/bin/X11:/etc:/afs/rchland.ibm.com/rel/common/prod/ct/bin:/afs/rchland.ibm.com/rel/common/prod/ct/contrib.bin:/afs/rchland.ibm.com/rel/common/loadl/lbin:/afs/rchland.ibm.com/rel/rs_aix31/prod/eda/bin:.
    PERL_BADLANG (unset)
    SHELL=/afs/rchland.ibm.com/rel/common/prod/ct/local/prod/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Dec 8, 1999

From @doughera88

On Wed, 8 Dec 1999 ortmann@​vnet.ibm.com wrote​:

While building perl5.005_62 on AIX 4.3 I get these values in lddlflags
"-bI​:/perl.exp -bE​:.exp" and it's screwing up all ld dynamic loading.
Each Makefile must then be manually editted.

The bug is caused because lddlflags in hints/aix.sh '' have been
replaced by "" but two variables were not subsequently escaped with
backslashes.

Thanks. That one's probably my fault.

--
  Andy Dougherty doughera@​lafayette.edu
  Dept. of Physics
  Lafayette College, Easton PA 18042

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

No branches or pull requests

1 participant