Coding model error compiling mod_perl.so

"Kogelheide, Ryan SSBC:EX" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
When compiling mod_perl.so, I get:

ld: fatal: relocation error: R_SPARC_H44: file /dsk01/apache/app/build2064/perl-5.12.2/lib/5.12.2/sun4-solaris-thread-multi-64/CORE/libperl.a(op.o): symbol <unknown>: relocations based on the ABS44 coding model can not be used in building a shared object.

I'm using gccfss:

sparc-sun-solaris2.10-gcc (GCC) 4.3.3 (20091210) (gccfss)

My  compile options are:

CC="gcc -m64 -mcpu=niagara2 -O3"

I tried adding "-fPIC", but that didn't help. I think the coding model error may be a false flag.

I'm guessing my perl needs to be rebuilt with different compile options? I was thinking I should be able to use elfdump to see if this is the case, but I'm not sure how.

Any help would be appreciated.

Cheers,

Ryan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.