This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PCH errors


Hi!

Are there known issues with the pch implementation? I get ICEs using
complex (about 45MB) precompiled headers and linker errors for smaller
(about 15MB) examples. One of the difference may be one includes some
of libstdc++, the other not (maybe).

This is g++-3.4 (GCC) 3.4 20030128 (experimental) on i386-linux,
binutils-2.10.91.0.4-40 (SuSE linux 7.2). G++ is compiled with checking
disabled.

One ICE is f.e.:

/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Array/tests/array_test1.cpp:174
: internal compiler error: Segmentation
   fault
Please submit a full bug report, with preprocessed source if appropriate.

The link errors look like:

/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/tests/LINUXgcc34/grid.o:
In function `Inform& operator<< <int>(Inform&, int const&)':
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Utilities/ObserverEvent.h:134:
undefined reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(int)'
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/tests/LINUXgcc34/grid.o:
In function `void DomainBase<DomainTraits<Range<(int)1> >
>::print<std::basic_ostream<char, std::char_traits<char> >
>(std::basic_ostream<char, std::char_traits<char> >&) const':
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/DomainIterator.h:116:
undefined reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(int)'
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/tests/LINUXgcc34/grid.o:
In function `void DomainBase<DomainTraits<Range<(int)1> >
>::print<std::basic_ostream<char, std::char_traits<char> >
>(std::basic_ostream<char, std::char_traits<char> >&) const':
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Utilities/RefCountedBlockPtr.h:215:
undefined reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(int)'
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/tests/LINUXgcc34/grid.o:
In function `void Loc<(int)2>::print<std::basic_ostream<char,
std::char_traits<char> > >(std::basic_ostream<char, std::char_traits<char>
>&) const':
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/DomainIterator.h:115:
undefined reference to `std::basic_ostream<char, std::char_traits<char>
>::operator<<(int)'
/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/tests/LINUXgcc34/grid.o:/net/bellatrix/home/rguenth/src/pooma-testsuite/r2/src/Domain/DomainIterator.h:116:
more undefined references to `std::basic_ostream<char,
std::char_traits<char> >::operator<<(int)' follow
collect2: ld returned 1 exit status


Any ideas?

Should I file GNATS reports on them? The .ii files will be ridiculously
large...

Thanks, Richard.

--
Richard Guenther <richard.guenther@uni-tuebingen.de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]