pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/perl5 Makefile is broken for AIX





Joerg Sonnenberger wrote:
On Wed, Feb 11, 2009 at 09:56:30PM -0500, Louis Guillaume wrote:
Joerg - the package built fine and everything but we're left with the libraries in odd places that the system doesn't find by default:

What LOCLIBRAPTHFLAGS is it using and what are the search pathes
compiled into the Perl binary?



If I'm reading this right, it appears to be doing the right thing when building the libraries...

rm -f libperl.a
ld -o libperl.a -H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp -bnoentry -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.10.0/powerpc-aix-multi-64all/CORE -Wl,-R/usr/pkg/lib/perl5/5.10.0/powerpc-aix-multi/CORE -brtl -bdynamic -L/usr/pkg/lib -b64 -lm -lcrypt -ldl -lnsl -lbind -lpthreads -lc -lpthread -lrt gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o DynaLoader.o -lm -lcrypt -ldl -lnsl -lbind -lpthreads -lc -lpthread -lrt
ld: 0711-319 WARNING: Exported symbol not defined: Perl_signbit
rm -f libperl.o
mv libperl.a libperl.o
ar -X64 qv libperl.a libperl.o
ar: creating an archive file libperl.a
q - libperl.o
LIBPATH=/usr/pkgobj/lang/perl5/work/perl-5.10.0 cc_r -q64 -o perl -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.10.0/powerpc-aix-multi-64all/CORE -Wl,-R/usr/pkg/lib/perl5/5.10.0/powerpc-aix-multi/CORE -brtl -bdynamic -L/usr/pkg/lib -b64 -bE:perl.exp perlmain.o -L /usr/pkg/lib/perl5/5.10.0/powerpc-aix-thread-multi-64all/CORE -L /usr/pkgobj/lang/perl5/work/perl-5.10.0 -lperl `cat ext.libs` -lm -lcrypt -ldl -lnsl -lbind -lpthreads -lc -lpthread -lrt
ld: 0711-319 WARNING: Exported symbol not defined: Perl_signbit
cd x2p; LIBPATH=/usr/pkgobj/lang/perl5/work/perl-5.10.0 /usr/pkg/bin/bmake s2p
../miniperl -I../lib s2p.PL



... and the binary does have the correct paths built in...

# dump -Hv -X64 /usr/pkg/bin/perl

/usr/pkg/bin/perl:

                        ***Loader Section***
                      Loader Header Information
VERSION#         #SYMtableENT     #RELOCent        LENidSTR
0x00000001       0x000004c0       0x00000026       0x000000db

#IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
0x00000005       0x00007498       0x00005c54       0x00007573


                        ***Import File Strings***
INDEX PATH BASE MEMBER 0 /usr/lib:/lib:/usr/pkg/lib:/usr/pkg/lib/perl5/5.10.0/powerpc-aix-multi-64all/CORE:/usr/pkg/lib/perl5/5.10.0/powerpc-aix-multi/CORE 1 libperl.a libperl.o 2 libnsl.a shr_64.o 3 libpthreads.a shr_xpg5_64.o
4                                    libc.a              shr_64.o

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index