This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Using Sun GCCFSS and GNU ld
- From: "Vardhan, Sundara (GE Infra, Energy)" <sundara dot vardhan at ge dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 13 Jan 2009 22:31:23 -0500
- Subject: Using Sun GCCFSS and GNU ld
Hi
I downloaded and installed Sun GCC for Sun Sparc (GCCFSS) and then have
been using Sun ld as linker. But I have a requirement wherein I should
use GNU ld. So I downloaded binutils 2.18 and compiled using gccfss and
Sun ld. After which, I tried to use gnu ld and get the following warning
and error :
/usr/local/bin/ld:
/usr/local/solaris-gcc/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/li
bgcc_eh.a(unwind-dw2.o): warning: sh_link not set for section
`.eh_frame%base_of_encoded_value'
/usr/local/bin/ld:
/usr/local/solaris-gcc/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/li
bgcc_eh.a(unwind-dw2.o): warning: sh_link not set for section
`.eh_frame%base_of_encoded_value'
/usr/local/bin/ld: final link failed: Bad value
I would very much appreciate your help and advice.
With Regards
Vardhan