public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Failure to run gcc 3.4 cvs HEAD libstdc++ testsuite on i686-linux with -fPIC: ICEs
@ 2003-05-25 11:18 Christian Joensson
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Joensson @ 2003-05-25 11:18 UTC (permalink / raw)
  To: gcc

Red Hat Linux 9 (Shrike) ia32 dual pentium III i686:

binutils-2.13.90.0.18-9
bison-1.35-6
dejagnu-1.4.2-10
expect-5.38.0-88
gcc-3.2.2-5
glibc-2.3.2-27.9
glibc-kernheaders-2.4-8.10
kernel-smp-2.4.20-13.9
tcl-8.3.5-88

LAST_UPDATED: Sun May 25 05:31:16 UTC 2003

configure:  --prefix=/usr/local/gcc-binutils --enable-__cxa_atexit --enable-shared --enable-threads=posix --enable-languages=c,c++,f77,java,objc

Executing on host: /usr/local/src/trunk/objdir/gcc/g++ -shared-libgcc -B/usr/local/src/trunk/objdir/gcc/ -nostdinc++ -L/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/gcc-binutils/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-binutils/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/include -isystem /usr/local/gcc-binutils/i686-pc-linux-gnu/sys-include -L/usr/local/src/trunk/objdir/ld -include bits/stdc++.h -g -O2 -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR="/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/po/share/locale" -nostdinc++ -I/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/usr/local/src/trunk/objdir/i686-pc-linux-gnu/libstdc++-v3/include -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/libsupc++ -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/libio -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/include/backward -I/usr/local/src/trunk/gcc-binutils/libstdc++-v3/testsuite /usr/local/src/trunk/gcc-binutils/libstdc++-v3/testsuite/17_intro/header_cassert.cc   -DDEBUG_ASSERT  -L/usr/local/src/trunk/objdir/i686-pc-linux-gnu//libstdc++-v3/testsuite -lv3test -lm   -fPIC -o ./header_cassert.exe    (timeout = 300)
/usr/local/src/trunk/gcc-binutils/libstdc++-v3/testsuite/17_intro/header_cassert.cc: In function `void gnu::test01()':
/usr/local/src/trunk/gcc-binutils/libstdc++-v3/testsuite/17_intro/header_cassert.cc:33: internal compiler error: Segmentation fault

and there's plenty of similar ICEs....

There's no ICE runnign the tesuite without the -fPIC flag set...

See, for example,
http://gcc.gnu.org/ml/gcc-testresults/2003-05/msg01390.html

Cheers,

/ChJ

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

* Re: Failure to run gcc 3.4 cvs HEAD libstdc++ testsuite on i686-linux with -fPIC: ICEs
  2003-05-26 15:25 Benjamin Kosnik
@ 2003-05-28 12:51 ` Loren James Rittle
  0 siblings, 0 replies; 3+ messages in thread
From: Loren James Rittle @ 2003-05-28 12:51 UTC (permalink / raw)
  To: gcc

Benjamin Kosnik wrote:
> In the meantime you have two options, either add another PCH multilib to
> the libstdc++-v3/include/Makefile.am, so that -fPIC varients are built
> in addition to -O0 and -O2, or disable the use of pch in the libstdc++
> testsuite via manipulation/removal of PCHFLAGS in testsuite_flags.

I investigated adding additional variants.  It doesn't work since the
order that PCH files are considered is psuedo-randomized in a manner
that the crash on -fpic/no -fpic incompatibility will still hit.
(However, now you would see a psuedo-randomized pattern of test case
failures instead of 100% ;-) - Loren

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

* Re: Failure to run gcc 3.4 cvs HEAD libstdc++ testsuite on i686-linux with -fPIC: ICEs
@ 2003-05-26 15:25 Benjamin Kosnik
  2003-05-28 12:51 ` Loren James Rittle
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Kosnik @ 2003-05-26 15:25 UTC (permalink / raw)
  To: gcc; +Cc: c.christian.joensson

There was some commentary on the libstdc++ list about this between Kaveh
and Loren, and a related bug in Bugzilla about this. Search for [pch].

See 10757.

In the meantime you have two options, either add another PCH multilib to
the libstdc++-v3/include/Makefile.am, so that -fPIC varients are built
in addition to -O0 and -O2, or disable the use of pch in the libstdc++
testsuite via manipulation/removal of PCHFLAGS in testsuite_flags.

-benjamin

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

end of thread, other threads:[~2003-05-28  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-25 11:18 Failure to run gcc 3.4 cvs HEAD libstdc++ testsuite on i686-linux with -fPIC: ICEs Christian Joensson
2003-05-26 15:25 Benjamin Kosnik
2003-05-28 12:51 ` Loren James Rittle

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).