missing __eprintf symbol in Solaris 8 builds of gcc-4.0.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux