This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Symbol visibility build failure on Solaris
On Tue, Jun 17, 2003 at 03:50:08PM -0700, Richard Henderson wrote:
> 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.
Hrm, that's a really good question, now that you ask. I would go and
find out, but 3.3 doesn't suffer from this problem, so bugs in a 2.95
host compiler and a 3.2 build process aren't really worth following.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer