public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* PCH errors
@ 2003-01-31 17:35 Richard Guenther
  2003-01-31 19:41 ` Joe Buck
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Guenther @ 2003-01-31 17:35 UTC (permalink / raw)
  To: gcc; +Cc: Geoffrey Keating

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCH errors
  2003-01-31 17:35 PCH errors Richard Guenther
@ 2003-01-31 19:41 ` Joe Buck
  2003-01-31 20:51   ` Richard Guenther
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Buck @ 2003-01-31 19:41 UTC (permalink / raw)
  To: Richard Guenther; +Cc: gcc, Geoffrey Keating

On Fri, Jan 31, 2003 at 04:59:53PM +0100, Richard Guenther wrote:
> 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).

You'd have to ask the implementers, but generally speaking the only way
that ICEs get fixed is if someone sends in a test case that the developers
can debug.
 
> The link errors look like:
> 
> /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.

I'm not certain, but I've seen these when using a binutils version
that is too old.  What does

/usr/bin/ld --version

say?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCH errors
  2003-01-31 19:41 ` Joe Buck
@ 2003-01-31 20:51   ` Richard Guenther
  2003-01-31 22:54     ` Craig Rodrigues
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Guenther @ 2003-01-31 20:51 UTC (permalink / raw)
  To: Joe Buck; +Cc: Richard Guenther, gcc, Geoffrey Keating

On Fri, 31 Jan 2003, Joe Buck wrote:

> On Fri, Jan 31, 2003 at 04:59:53PM +0100, Richard Guenther wrote:
> > 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).
>
> You'd have to ask the implementers, but generally speaking the only way
> that ICEs get fixed is if someone sends in a test case that the developers
> can debug.

The latter is probably a problem for such a large testcase - but maybe
geoff wants it privately.

> > The link errors look like:
> >
> > /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
>
> I'm not certain, but I've seen these when using a binutils version
> that is too old.  What does
>
> /usr/bin/ld --version

bellatrix:~$ ld --version
GNU ld 2.10.91

So its old compared to my debian unstable version, which is 2.13.90.0.16.

Richard.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCH errors
  2003-01-31 20:51   ` Richard Guenther
@ 2003-01-31 22:54     ` Craig Rodrigues
  0 siblings, 0 replies; 4+ messages in thread
From: Craig Rodrigues @ 2003-01-31 22:54 UTC (permalink / raw)
  To: Richard Guenther; +Cc: gcc

On Fri, Jan 31, 2003 at 08:19:21PM +0100, Richard Guenther wrote:
> The latter is probably a problem for such a large testcase - but maybe
> geoff wants it privately.

If it is possible to do so, you may want to gzip or bzip the
testcase, put it on your own web site, and give out the URL to
anybody interested in investigating the testcase.

-- 
Craig Rodrigues        
http://home.attbi.com/~rodrigc
rodrigc@attbi.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-31 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-31 17:35 PCH errors Richard Guenther
2003-01-31 19:41 ` Joe Buck
2003-01-31 20:51   ` Richard Guenther
2003-01-31 22:54     ` Craig Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).