pkgsrc-Bugs archive

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

pkg/44999: lang/perl5 fails to build on Solaris10 with gcc in 64bit mode



>Number:         44999
>Category:       pkg
>Synopsis:       lang/perl5 fails to build on Solaris10 with gcc in 64bit mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 27 14:35:00 +0000 2011
>Originator:     Dmitry Afanasiev
>Release:        
>Organization:
>Environment:
SunOS sunray 5.10 Generic_144489-01 i86pc i386 i86pc

>Description:
lang/perl5 fails to build on Solaris10 with gcc in 64bit mode.
I'm runned:
# ./bootstrap --abi=64
# cd ../lang/perl5
# bmake

Build fails after:
chmod 755 ../../lib/auto/XS/Typemap/Typemap.so
cp Typemap.bs ../../lib/auto/XS/Typemap/Typemap.bs
chmod 644 ../../lib/auto/XS/Typemap/Typemap.bs
LD_LIBRARY_PATH=/root/pkgsrc/lang/perl5/work/perl-5.12.2:/lib:/usr/lib/mps/sasl2:/usr/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib:/usr/openwin/lib
  ./perl -f -Ilib pod/buildtoc --build-toc -q
ld.so.1: perl: fatal: relocation error: R_AMD64_PC32: file 
/root/pkgsrc/lang/perl5/work/perl-5.12.2/libperl.so: symbol main: value 
0x280011b11ac does not fit
Killed
*** Error code 137

Stop.
bmake: stopped in /root/pkgsrc/lang/perl5/work/perl-5.12.2
*** Error code 1

Stop.
bmake: stopped in /root/pkgsrc/lang/perl5
*** Error code 1

Stop.
bmake: stopped in /root/pkgsrc/lang/perl5

I'm checked type of file perl and libperl.so
# file perl
perl:           ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, 
not stripped, no debugging information available
# file /root/pkgsrc/lang/perl5/work/perl-5.12.2/libperl.so
/root/pkgsrc/lang/perl5/work/perl-5.12.2/libperl.so:    ELF 64-bit LSB dynamic 
lib AMD64 Version 1, dynamically linked, not stripped, no debugging information 
available

...and not undestand where is a problem...
>How-To-Repeat:
On Solaris10/amd64:
# ./bootstrap --abi=64
# cd ../lang/perl5
# bmake
>Fix:



Home | Main Index | Thread Index | Old Index