This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ problems /w egcs-2.91.52 on sparc-linux?
- To: Kevin Milans <kmilans at CapAccess dot org>
- Subject: Re: libstdc++ problems /w egcs-2.91.52 on sparc-linux?
- From: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Date: 31 Jul 1998 10:47:33 +0200
- Cc: egcs at cygnus dot com, "David S. Miller" <davem at dm dot cobaltmicro dot com>, "H.J. Lu" <hjl at lucon dot org>
- References: <Pine.SUN.3.91-FP.980729104549.26339B-100000@cap1.capaccess.org>
Kevin Milans <kmilans@CapAccess.org> writes:
|> >Please try
|> >
|> > nm /usr/lib/libstdc++.a | grep -e : -e 'vt.*filebuf'
|>
|> This reports many object files. Those which are followed by symbols are:
|>
|> filebuf.o:
|> U __vt_7filebuf
|> stdstrbufs.o:
|> U _vt.7filebuf
|> streambuf.o:
|> 00000000 R __vt_7filebuf
|>
|> I will check to see if stdstrbufs.o was compiled differently from the
|> other two. If that turns out to be the problem, there's probably a bug
|> in the build process.
That looks like a problem with _G_config.h, perhaps the compiler is using
the wrong one. It should contain the following lines:
/* These are the vtbl details for ELF. */
#define _G_NAMES_HAVE_UNDERSCORE 0
#define _G_VTABLE_LABEL_HAS_LENGTH 1
#define _G_USING_THUNKS 1
#define _G_VTABLE_LABEL_PREFIX "__vt_"
#define _G_VTABLE_LABEL_PREFIX_ID __vt_
stdstrbufs.cc is special, because it constructs symbol names with asm.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org