[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Perl 5.8.8 34711 on AIX 5.3
Hello,
currently I am trying to update the build instructions for AIX.
Here is my first result for patch 5.8.8 #34711.
Compiler IBM XL C/C++ V9 on AIX 5.3.
Patch to aix.sh
# diff aix.sh.orig aix.sh
167c167,168
< lddlflags="$lddlflags -bhalt:4 -bexpall -G -bnoentry -lc"
---
> # lddlflags="$lddlflags -bhalt:4 -bexpall -G -bnoentry -lc"
> lddlflags="$lddlflags -bhalt:4 -G -bI:\$(PERL_INC)/perl.exp
-bE:\$(BASEEXT).exp -bnoentry -lc -lm"
=> -G should work without a problem with the native dlopen (at least
starting from AIX 5.3; I have to check this on AIX 5.2).
=> We should not use -bexpall !! It is better to use an export file.
This gives more control over the exported symbols.
MyConfigure.sh
export OBJECT_MODE=32
export CC=cc_r
export MAKE=/opt/freeware/bin/make
./Configure \
-d \
-Duseshrplib \
-Dusethreads \
-Duseithreads \
-Dusemultiplicity \
-Duseperlio \
-Duselargefiles \
-Ud_sfio \
-Ud_signbit \
-Doptimize='-O -qipa' \
-Dldflags='-brtl -b32 -bmaxdata:0x80000000'
The -qipa is necessary with IBM XL C/C++ V8 and V9 because of an
optimizer bug (already reported to IBM).
Without this flag SDBM gets messed up.
With this setting:
Compile:
#!/usr/bin/ksh
export OBJECT_MODE=32
export MAKE=/opt/freeware/bin/make
/opt/freeware/bin/make
Make test:
#!/usr/bin/ksh
export MAKE=/opt/freeware/bin/make
/opt/freeware/bin/make test
Result:
All tests successful.
u=2.14 s=0.81 cu=251.15 cs=50.29 scripts=1148 tests=134084
make[2]: Leaving directory `/daten/source/perl-5.8.x-34711'
make[1]: Leaving directory `/daten/source/perl-5.8.x-34711'
The MAKE is necessary because the AIX make does not know the -w switch.
So I need to use GNU make.
Is anyone els testing on AIX ??
Bye
Rainer
- Follow-Ups from:
-
"H.Merijn Brand" <h.m.brand@xs4all.nl>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]