-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Nicholson wrote:
> Looks like it didn't try to build with -fPIC again. Out of curiosity, > could you print the info from `perl -V'? > > Interestingly, I stumbled on this build log of a GAIM perl module on > x86_64. Look at the output at the bottom where it shows info about > perl. A lot more tweaking went into this guy's build then what comes > with perl out of the box. Particularly, he has the '-Duseshrplib=true' > like Joe mentioned. He also is passing '-Acccdlflags=-fPIC' and in > the Dynamic Linking section he has "cccdlflags=' -fPIC'". This is > probably generated from the previous flag. If I had a 64 bit box, I > would play around with this. Unfortunately, things seem to work on > x86. Here's the log: > > http://www.nntp.perl.org/group/perl.cpan.testers/332119 > > -- > Dan Hi Dan, Here is the output from perl -V. As you can see there is a reference to the -fPIC "cccdlflags='-fPIC'". As perl was building (although my eyes can't read as fast as the output was scrolling by) I did not see the -fPIC on every compile line but I did see it on the final link phase lines I was able to catch. If your interested I could recompile and capture the output to a log and send it to you. I also see the -shared in the loader flags. Arnie [EMAIL PROTECTED]/usr/src/secondary/gaim-1.5.0] perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.16.20, archname=x86_64-linux-thread-multi uname='linux stender3 2.6.16.20 #25 smp sat jul 1 13:24:33 cdt 2006 x86_64 x86_64 x86_64 gnulinux ' config_args='-ds -e -Dprefix=/usr -Dman1dir=/usr/share/man/man1 - -Dman3dir=/usr/share/man/man3 -Dpager=/bin/less -isR -Dusethreads' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS - -fno-strict-aliasing -pipe -Wdeclaration-after-statement - -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS - -fno-strict-aliasing -pipe -Wdeclaration-after-statement - -I/usr/local/include' ccversion='', gccversion='4.1.1', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.4.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Aug 19 2006 10:48:39 @INC: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl . [EMAIL PROTECTED]/usr/src/secondary/gaim-1.5.0] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE51b4I9lqJPlLBqQRAkWHAJ9ii/NcP4XeT+5MWJpI/KGNTRzAJQCglkCp T0irsQn4oTQsZhbNA2xntdw= =Z1VT -----END PGP SIGNATURE----- -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
