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

Re: experimental gcc-3.2 packages



On Sat, Aug 03, 2002 at 08:07:03PM +0200, Matthias Klose wrote:
> 	http://ftp-master-debian.org/~doko/gcc

I've tracked down the problem I've been having compiling OpenOffice.org on
i386 and g++-3.2 to a difference between output of different compiler
versions.  The build process complains that a symbol can not be resolved,
and I've created a preprocessed version of the source and tested against
different compilers:

-------------------------------
$ ./g++test
+ g++-3.0 -c -w test.cxx
+ nm -C test.o
+ grep ucb::ContentProviderImplHelper$
00000000 V typeinfo for ucb::ContentProviderImplHelper
00000000 V typeinfo name for ucb::ContentProviderImplHelper
+ g++-3.1 -c -w test.cxx
+ nm -C test.o
+ grep ucb::ContentProviderImplHelper$
00000000 V typeinfo for ucb::ContentProviderImplHelper
00000000 V typeinfo name for ucb::ContentProviderImplHelper
+ g++-3.2 -c -w test.cxx
+ nm -C test.o
+ grep ucb::ContentProviderImplHelper$
         U typeinfo for ucb::ContentProviderImplHelper
-------------------------------

It seems that g++-3.2 is not including this type information in the output,
even though the older compiler versions do provide it.  Has the intended
behaviour changed, or is this likely to be a bug?

I have posted the test script and preprocessed source here:
  http://apt-proxy.sourceforge.net/ooo/g++test
  http://apt-proxy.sourceforge.net/ooo/test.cxx.bz2

Chris

Attachment: pgpzoX_3H9v7F.pgp
Description: PGP signature


Reply to: