[tex-live] TeX Live does not compile with gcc 3.1 (Mac OS X only?)

Olaf Weber olaf@infovore.xs4all.nl
24 Oct 2002 18:37:46 +0200

Gerben Wierda writes:

> Since my update to Mac OS X 10.2 I could not compile TeX Live
> anymore. Running a compile ends when compiling xpdf:

> c++ -g -O2 -DHAVE_CONFIG_H  -I.. -I./../goo -I. -I. -DPDF_PARSER_ONLY
> -c FontFile.cc

> FontFile.h:27: storage size of `_ZTI8FontFile' isn't known
> FontFile.h:46: storage size of `_ZTI13Type1FontFile' isn't known
> FontFile.h:67: storage size of `_ZTI14Type1CFontFile' isn't known
> FontFile.h:144: storage size of `_ZTI16TrueTypeFontFile' isn't known
> make[3]: *** [FontFile.o] Error 1
> make[2]: *** [libs/xpdf/xpdf/libxpdf.a] Error 2

$ c++filt 
typeinfo for FontFile
typeinfo for Type1FontFile
typeinfo for Type1CFontFile
typeinfo for TrueTypeFontFile

Very weird, as these types should be generated by the compiler.  Is
this the very first file the C++ compiler tries to compile?

> When I compile the same sources with g++2, there is no problem.

> So, I have reverted to the use of gcc2 (which they luckily ship also),
> but I am curious if others could corroborate that gcc 3.1 cannot
> compile TeX Live. I am using

> c++ (GCC) 3.1 20020420 (prerelease)

I tried with "g++-3.2 (GCC) 3.2.1 20020924 (Debian prerelease)" which
didn't choke.

It surely looks to me like this particular _pre_release of g++ is

Olaf Weber

               (This space left blank for technical reasons.)