This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
missing __eprintf symbol in Solaris 8 builds of gcc-4.0.2
- From: Jason dot Beech-Brandt at ed dot ac dot uk
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 15 Dec 2005 17:05:23 +0000 (GMT)
- Subject: missing __eprintf symbol in Solaris 8 builds of gcc-4.0.2
Hi,
I've built gcc-4.0.2 for a Solaris 8/UltraSparc machine using the
binutils-2.16.1 for ld and as. The build seems to go OK and the gcc
compiler works fine. However, the g++ compiler gives linking errors
regarding a symbol __eprintf found in libgcc.a such as
g++ hello.C
/home/artery/packages/solaris/binutils-2.16.1/bin/ld:
abi_check: hidden symbol `__eprintf' in
/home/artery/packages/solaris/gcc-4.0.2/lib/gcc/sparc-sun-solaris2.8/4.0.2/libgcc.a(_eprintf.o)
is referenced by DSO collect2: ld returned 1 exit status
Building gcc-4.0.2 using the Sun loader and assembler works fine, without
a hitch. I've seen this error discussed previously on other gcc mailing
lists, but can't seem to find out how the problem was resolved. Does
anybody have any ideas?
Thanks
Jason