public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/13632] New: ICE while building crtbegin.o
@ 2004-01-09 13:12 lu_zero at gentoo dot org
2004-01-09 17:10 ` [Bug optimization/13632] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: lu_zero at gentoo dot org @ 2004-01-09 13:12 UTC (permalink / raw)
To: gcc-bugs
base info: gcc-3.2.3, glibc-2.3.2-r9, 2.6.1_rc1-benh1
CFLAGS="-O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec"
In the latest 4 days I tried to build gcc-3.4 from cvs HEAD,
it segfaults reproducibly on crtbegin.o
make[2]: Entering directory `/var/tmp/portage/gcc-3.4/work/build/gcc'
make CC=" stage1/xgcc -Bstage1/ -B/usr/powerpc-unknown-linux-gnu/bin/"
CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/usr/powerpc-unknown-linux-gnu/bin/" \
STAGE_PREFIX=stage1/ \
ADAFLAGS="" CFLAGS="-g -O2" LDFLAGS=""
WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long
-Wold-style-definition -Werror" libdir=/usr/lib LANGUAGES="c gcov gcov-dump c++
f77 objc" MAKEINFO="makeinfo" MAKEINFOFLAGS="" MAKEOVERRIDES= OUTPUT_OPTION="-o
\$@" \
CFLAGS="-g -O2" WERROR="-Werror"
make[3]: Entering directory `/var/tmp/portage/gcc-3.4/work/build/gcc'
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
./xgcc -B./ -B/usr/powerpc-unknown-linux-gnu/bin/ -isystem
/usr/powerpc-unknown-linux-gnu/include -isystem
/usr/powerpc-unknown-linux-gnu/sys-include
-L/var/tmp/portage/gcc-3.4/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -I. -I. -I/var/tmp/portage/gcc-3.4/work/gcc/gcc
-I/var/tmp/portage/gcc-3.4/work/gcc/gcc/.
-I/var/tmp/portage/gcc-3.4/work/gcc/gcc/../include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -msdata=none \
-c /var/tmp/portage/gcc-3.4/work/gcc/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from /usr/include/stdio.h:36,
from /var/tmp/portage/gcc-3.4/work/gcc/gcc/tsystem.h:79,
from /var/tmp/portage/gcc-3.4/work/gcc/gcc/crtstuff.c:62:
/usr/include/bits/types.h:146: internal compiler error: Segmentation fault
--
Summary: ICE while building crtbegin.o
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lu_zero at gentoo dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4 Regression] ICE while building crtbegin.o
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
@ 2004-01-09 17:10 ` pinskia at gcc dot gnu dot org
2004-01-10 18:34 ` lu_zero at gentoo dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-09 17:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-09 17:10 -------
Can you provide the preprocessed source file?
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |WAITING
Component|bootstrap |optimization
Keywords| |build, ice-on-valid-code
Priority|P2 |P1
Summary|ICE while building |[3.4 Regression] ICE while
|crtbegin.o |building crtbegin.o
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4 Regression] ICE while building crtbegin.o
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
2004-01-09 17:10 ` [Bug optimization/13632] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-01-10 18:34 ` lu_zero at gentoo dot org
2004-01-11 5:20 ` lu_zero at gentoo dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: lu_zero at gentoo dot org @ 2004-01-10 18:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lu_zero at gentoo dot org 2004-01-10 18:34 -------
I tried something on segher suggestion:
1) gcc-3.4 builds fine if I add --enable-checkings with both gcc-3.3.2 and gcc-3.2.3
2) I'm about to try to build w/out that option with gcc-3.3.2 and see if that
still applies or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4 Regression] ICE while building crtbegin.o
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
2004-01-09 17:10 ` [Bug optimization/13632] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-01-10 18:34 ` lu_zero at gentoo dot org
@ 2004-01-11 5:20 ` lu_zero at gentoo dot org
2004-01-13 2:00 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: lu_zero at gentoo dot org @ 2004-01-11 5:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lu_zero at gentoo dot org 2004-01-11 05:20 -------
Same result but that time with gcc-3.3.2
./xgcc -B./ -B/usr/powerpc-unknown-linux-gnu/bin/ -isystem
/usr/powerpc-unknown-linux-gnu/include -isystem
/usr/powerpc-unknown-linux-gnu/sys-include
-L/var/tmp/portage/gcc-3.4/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -I. -I. -I/var/tmp/portage/gcc-3.4/work/gcc/gcc
-I/var/tmp/portage/gcc-3.4/work/gcc/gcc/.
-I/var/tmp/portage/gcc-3.4/work/gcc/gcc/../include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -msdata=none \
-c /var/tmp/portage/gcc-3.4/work/gcc/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from /usr/include/stdio.h:36,
from /var/tmp/portage/gcc-3.4/work/gcc/gcc/tsystem.h:79,
from /var/tmp/portage/gcc-3.4/work/gcc/gcc/crtstuff.c:62:
/usr/include/bits/types.h:146: internal compiler error: Segmentation fault
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4 Regression] ICE while building crtbegin.o
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
` (2 preceding siblings ...)
2004-01-11 5:20 ` lu_zero at gentoo dot org
@ 2004-01-13 2:00 ` pinskia at gcc dot gnu dot org
2004-01-13 4:36 ` lu_zero at gentoo dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-13 2:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-13 02:00 -------
Some more information about this bug, it happens with STAGE1_CFLAGS="-0".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4 Regression] ICE while building crtbegin.o
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
` (3 preceding siblings ...)
2004-01-13 2:00 ` pinskia at gcc dot gnu dot org
@ 2004-01-13 4:36 ` lu_zero at gentoo dot org
2004-01-13 4:50 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: lu_zero at gentoo dot org @ 2004-01-13 4:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lu_zero at gentoo dot org 2004-01-13 04:36 -------
tried and the result is the same
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4 Regression] ICE while building crtbegin.o
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
` (4 preceding siblings ...)
2004-01-13 4:36 ` lu_zero at gentoo dot org
@ 2004-01-13 4:50 ` pinskia at gcc dot gnu dot org
2004-03-02 23:47 ` [Bug optimization/13632] [3.4/3.5 Regression] ICE while building crtbegin.o (STAGE1_CFLAGS=-O) rth at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-13 4:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-13 04:50 -------
Changing to new at this point, I have another bug which I am going to file as bootstrap is
broken with STAGE1_CFLAGS=-O at least also on powerpc-apple-darwin7.2.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-01-13 04:50:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4/3.5 Regression] ICE while building crtbegin.o (STAGE1_CFLAGS=-O)
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
` (5 preceding siblings ...)
2004-01-13 4:50 ` pinskia at gcc dot gnu dot org
@ 2004-03-02 23:47 ` rth at gcc dot gnu dot org
2004-03-21 18:01 ` steven at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-03-02 23:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-03-02 23:47 -------
Unless you can show a bug with BOOT_CFLAGS=-O1, then this is a problem with the
bootstrap compiler being used and *not* with gcc-3.4.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4/3.5 Regression] ICE while building crtbegin.o (STAGE1_CFLAGS=-O)
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
` (8 preceding siblings ...)
2004-03-21 18:01 ` steven at gcc dot gnu dot org
@ 2004-03-21 18:01 ` steven at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-03-21 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-03-21 18:01 -------
Andrew Pinski and I cannot reproduce this, and rth is right of course -- this
looks like a problem with the bootstrap compiler, not gcc 3.4.0. So I'm
closing this bug after discussing it with Andrew on IRC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4/3.5 Regression] ICE while building crtbegin.o (STAGE1_CFLAGS=-O)
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
` (6 preceding siblings ...)
2004-03-02 23:47 ` [Bug optimization/13632] [3.4/3.5 Regression] ICE while building crtbegin.o (STAGE1_CFLAGS=-O) rth at gcc dot gnu dot org
@ 2004-03-21 18:01 ` steven at gcc dot gnu dot org
2004-03-21 18:01 ` steven at gcc dot gnu dot org
2004-03-21 18:01 ` steven at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-03-21 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-03-21 18:01 -------
this time close it :)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/13632] [3.4/3.5 Regression] ICE while building crtbegin.o (STAGE1_CFLAGS=-O)
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
` (7 preceding siblings ...)
2004-03-21 18:01 ` steven at gcc dot gnu dot org
@ 2004-03-21 18:01 ` steven at gcc dot gnu dot org
2004-03-21 18:01 ` steven at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-03-21 18:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-03-21 18:01 -------
this time close it :)
--
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13632
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-03-21 18:01 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-09 13:12 [Bug bootstrap/13632] New: ICE while building crtbegin.o lu_zero at gentoo dot org
2004-01-09 17:10 ` [Bug optimization/13632] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-01-10 18:34 ` lu_zero at gentoo dot org
2004-01-11 5:20 ` lu_zero at gentoo dot org
2004-01-13 2:00 ` pinskia at gcc dot gnu dot org
2004-01-13 4:36 ` lu_zero at gentoo dot org
2004-01-13 4:50 ` pinskia at gcc dot gnu dot org
2004-03-02 23:47 ` [Bug optimization/13632] [3.4/3.5 Regression] ICE while building crtbegin.o (STAGE1_CFLAGS=-O) rth at gcc dot gnu dot org
2004-03-21 18:01 ` steven at gcc dot gnu dot org
2004-03-21 18:01 ` steven at gcc dot gnu dot org
2004-03-21 18:01 ` steven at gcc dot gnu dot org
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).