missing __eprintf symbol in Solaris 8 builds of gcc-4.0.2
Jason.Beech-Brandt@ed.ac.uk
Jason.Beech-Brandt@ed.ac.uk
Thu Dec 15 17:05:00 GMT 2005
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
More information about the Gcc-help
mailing list