Symbol visibility build failure on Solaris

Richard Henderson rth@redhat.com
Wed Jun 18 01:18:00 GMT 2003


On Tue, Jun 17, 2003 at 01:55:10PM -0400, Daniel Jacobowitz wrote:
>  - My installed GCC is 2.95.3.  It has an <assert.h> which references
>     __eprintf.
...
>  - stl-inst.o, when compiled, has two calls to assert which reference
>     __eprintf.  But it's linked with -shared-libgcc, so they are unresolved.

So why is the build of stl-inst.o picking up 2.95's assert.h?

You *should* be picking up /usr/include/assert.h, which should
not reference __eprintf.

> Does this mean that we need to move __eprintf from LIB2FUNCS_ST to
> LIB2FUNCS_2, or that -shared-libgcc should also pull in libgcc.a?

Absolutely not.


r~



More information about the Gcc mailing list