This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]