This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Solaris 64 Bit status of binutils-2.14
- From: <andre at florath dot net>
- To: <binutils at sources dot redhat dot com>
- Cc: <andre at florath dot net>
- Date: Fri, 19 Sep 2003 13:16:02 +0200
- Subject: Solaris 64 Bit status of binutils-2.14
Hello!
Can anybody please tell me something about the status of the
binutils-2.14 for Solaris v9 / 64 bit?
I tried to configure / compile binutils-2.14 for Solaris V9 / 64 bit but
e. g. "as" still complains about not compiled in 64 bit support. And
also in "objdump --help" the "elf64-sparc" is missing.
My configure line:
./configure --enable-targets=all --enable-64-bit-bfd
--enable-bfd-assembler sparcv9-sun-solaris2.8
I had a look in the "targets.c" file in the bfd directory and found that
the bfd_elf64_sparc_vec is commented out:
#if 0
&bfd_elf64_sparc_vec,
#endif
After removing the #if 0 and #endif everything compiled and I started
to compile some other packages with a gcc (3.3.1) that uses the 64bit
binutils. They compile out of the box and work fine:
m4, patch-2.5.4, flex-2.5.4a, make-3.80, bison-1.875, gdbm-1.8.3
Then I tried Perl and get the error:
Can't load 'lib/auto/File/Glob/Glob.so' for module File::Glob: ld.so.1:
./perl: fatal: relocation error: R_SPARC_WDISP30: file
lib/auto/File/Glob/Glob.so: symbol _exit: value 0x6080eec9 does not fit
at lib/XSLoader.pm line 83.
at lib/File/Glob.pm line 96
which looks for me like a corrupted .so file.
My questions:
1) Is Solaris V9 / 64 bit supported by binutils?
2) Why is there some #if 0 around the sparc 64 bit vector in target.c?
3) Has anybody succesfully compiled perl 5.8.0 with gcc 3.X using
binutils-as and binutils-ld? Any hints?
Best regards
Andre