[EMAIL PROTECTED] wrote:
So of course you make me READ!!! Hmm, looks like the args are identical, but looks like the calls to the loader aren't getting thru, and somehow gcc is getting ahold of a -b opt....

so I went down the apaci path and found this

[snip]
[EMAIL PROTECTED]/omnitest/ext-tools/sources/src/mod_perl-1.29/apaci$make libperl.so
        rm -f libperl.so
        gcc -Wl,-bhalt:4 -Wl,-bM:SRE 
-Wl,-bI:/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp 
-Wl,-bE:mod_perl.exp -Wl,-bnoentry -lc -L/usr/local/lib -Xlinker 
-bI:/tmp/apache/libexec/httpd.exp -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo 
perl_util.lo perlio.lo mod_perl_opmask.lo  Apache.lo Constants.lo Connection.lo 
Server.lo -Xlinker 
-bE:/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp 
-bE:/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp  -Wl,-brtl 
-L/usr/local/lib -Wl,-b32 
/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/auto/DynaLoader/DynaLoader.a 
-L/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE -lperl -lbind -lnsl -ldl 
-lld -lm -lcrypt -lc -lbsd
gcc: `-b' must come at the start of the command line
make: 1254-004 The error code from the last command is 1.


looks like the


-bE:/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp

line is getting passed twice to -Xlinker (in the apaci/libperl.so build attempt, and below), gonna try to see if I can figure out how to hack that out in the apaci instance and see what happens.

If that's the cause, it's a bug in perl, since it's *perl* that has it twice:


ccdlflags='-Xlinker -bE:/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp -bE:/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp'

Edit perl's Config.pm to remove the duplication.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to