public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39849]  New: stage1 compiler segfault during `make profiledbootstrap'
@ 2009-04-22 14:44 dennis dot wassel at googlemail dot com
  2009-04-22 15:03 ` [Bug bootstrap/39849] " dennis dot wassel at googlemail dot com
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-04-22 14:44 UTC (permalink / raw)
  To: gcc-bugs

I've tried to build the shiny new 4.4, but it seems the stage1 compiler has
hiccuped here:

/localdata/install/gcc/objdir-gcc-4.4.0/./gcc/xgcc
-B/localdata/install/gcc/objdir-gcc-4.4.0/./gcc/
-B/localdata/i686-pc-linux-gnu/bin/ -B/localdata/i686-pc-linux-gnu/lib/
-isystem /localdata/i686-pc-linux-gnu/include -isystem
/localdata/i686-pc-linux-gnu/sys-include -g -O2 -O2  -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../gcc-4.4.0/libgcc -I../../../gcc-4.4.0/libgcc/.
-I../../../gcc-4.4.0/libgcc/../gcc -I../../../gcc-4.4.0/libgcc/../include
-I../../../gcc-4.4.0/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -Wno-missing-prototypes -Wno-type-limits -o divtf3.o
-MT divtf3.o -MD -MP -MF divtf3.dep -fexceptions -c
../../../gcc-4.4.0/libgcc/../gcc/config/soft-fp/divtf3.c -fvisibility=hidden
-DHIDE_EXPORTS
'
In function '__divtf3':
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [divtf3.o] Error 1
make[3]: Leaving directory
`/localdata/install/gcc/objdir-gcc-4.4.0/i686-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/localdata/install/gcc/objdir-gcc-4.4.0'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/localdata/install/gcc/objdir-gcc-4.4.0'
make: *** [profiledbootstrap] Error 2

gcc was configured with

../gcc-4.4.0/configure --prefix=/localdata --program-suffix=-4.4.0
--enable-languages=c,c++,fortran --with-gp=/localdata --with-mpfr=/localdata
--with-ppl=/localdata --with-cloog=/localdata
--enable-version-specific-runtime-libs --with-arch=athlon64
--with-tune=athlon64

and built with

make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' profiledbootstrap

(on a side note: make died at host-linux.c because SSIZE_MAX is not defined by
my system, so I #defined it and carried on bootstrapping *without* cleaning)

Also, my ClooG config is a bit fishy, but this should not really concern xgcc,
should it?


-- 
           Summary: stage1 compiler segfault during `make profiledbootstrap'
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dennis dot wassel at googlemail dot com
  GCC host triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] stage1 compiler segfault during `make profiledbootstrap'
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
@ 2009-04-22 15:03 ` dennis dot wassel at googlemail dot com
  2009-04-23  0:04 ` pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-04-22 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dennis dot wassel at googlemail dot com  2009-04-22 15:02 -------
Nevermind the typo in configure, it also segfaults with properly spelled
"--with-gmp=" instead of "--with-gp=".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] stage1 compiler segfault during `make profiledbootstrap'
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
  2009-04-22 15:03 ` [Bug bootstrap/39849] " dennis dot wassel at googlemail dot com
@ 2009-04-23  0:04 ` pinskia at gcc dot gnu dot org
  2009-04-23  8:27 ` dennis dot wassel at googlemail dot com
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-23  0:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] stage1 compiler segfault during `make profiledbootstrap'
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
  2009-04-22 15:03 ` [Bug bootstrap/39849] " dennis dot wassel at googlemail dot com
  2009-04-23  0:04 ` pinskia at gcc dot gnu dot org
@ 2009-04-23  8:27 ` dennis dot wassel at googlemail dot com
  2009-04-23  9:54 ` dennis dot wassel at googlemail dot com
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-04-23  8:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dennis dot wassel at googlemail dot com  2009-04-23 08:27 -------
I tried the following things:

- #define SSIZE_MAX in host-linux.c as SHRT_MAX instead of LONG_MAX (as
suggested by an internal posix header on my system), to no avail.
- Just issue plain `make', instead of profiledbootstrap with custom flags,
still segfaults with the same file.
- Running xgcc in gdb, but it seems to lack debug information, so I cannot find
out the source of the segfault.

I'm out of ideas!


-- 

dennis dot wassel at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build, ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] stage1 compiler segfault during `make profiledbootstrap'
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (2 preceding siblings ...)
  2009-04-23  8:27 ` dennis dot wassel at googlemail dot com
@ 2009-04-23  9:54 ` dennis dot wassel at googlemail dot com
  2009-04-27 10:39 ` dennis dot wassel at googlemail dot com
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-04-23  9:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dennis dot wassel at googlemail dot com  2009-04-23 09:54 -------
Tried to build using the all-in-one gcc-4.4.0 package (I only downloaded -core,
-g++ and -fortran before, all of which passed the md5 check) - still the same.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] stage1 compiler segfault during `make profiledbootstrap'
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (3 preceding siblings ...)
  2009-04-23  9:54 ` dennis dot wassel at googlemail dot com
@ 2009-04-27 10:39 ` dennis dot wassel at googlemail dot com
  2009-04-27 15:10 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-04-27 10:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dennis dot wassel at googlemail dot com  2009-04-27 10:38 -------
Today I tried configuring with --disable-bootstrap, again to no avail.

Please, could anybody just give me a pointer?
I cannot build gcc 4.4.0 with the gcc 4.3.3 on a mainstream Linux system
(Debian 4) - something has to be seriously wrong, given that gcc's bootstrap is
pretty die-hard, hasn't it?
Did I miss to include any relevant information?

I am now re-bootstrapping 4.3.3 to check if there is some kind of general
problem with my system - our admin recently installed an OS update, so maybe
that is the culprit...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] stage1 compiler segfault during `make profiledbootstrap'
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (4 preceding siblings ...)
  2009-04-27 10:39 ` dennis dot wassel at googlemail dot com
@ 2009-04-27 15:10 ` pinskia at gcc dot gnu dot org
  2009-04-27 15:36 ` dennis dot wassel at googlemail dot com
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-27 15:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2009-04-27 15:10 -------
(In reply to comment #4)
> Today I tried configuring with --disable-bootstrap, again to no avail.
> 
> Please, could anybody just give me a pointer?
> I cannot build gcc 4.4.0 with the gcc 4.3.3 on a mainstream Linux system
> (Debian 4) - something has to be seriously wrong, given that gcc's bootstrap is
> pretty die-hard, hasn't it?
> Did I miss to include any relevant information?

The easy workaround is to use all or bootstrap instead of using
profiledbootstrap.

-- Pinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] stage1 compiler segfault during `make profiledbootstrap'
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (5 preceding siblings ...)
  2009-04-27 15:10 ` pinskia at gcc dot gnu dot org
@ 2009-04-27 15:36 ` dennis dot wassel at googlemail dot com
  2009-04-28  9:54 ` [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install dennis dot wassel at googlemail dot com
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-04-27 15:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from dennis dot wassel at googlemail dot com  2009-04-27 15:36 -------
I re-profilebootstrapped 4.3.3 and it worked without problems (except for the
usual noise about my system headers missing SSIZE_MAX, but that is easily
fixed).

Now trying `make bootstrap' of 4.4.0.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (6 preceding siblings ...)
  2009-04-27 15:36 ` dennis dot wassel at googlemail dot com
@ 2009-04-28  9:54 ` dennis dot wassel at googlemail dot com
  2009-05-04 14:18 ` [Bug bootstrap/39849] [4.3/4.4 Regression] " dennis dot wassel at googlemail dot com
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-04-28  9:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dennis dot wassel at googlemail dot com  2009-04-28 09:53 -------
Neither `make bootstrap' nor `make all' produce different results.
Btw: isn't `make' (which I tried earlier) equivalent to `make bootstrap'?

Back to square 1.


-- 

dennis dot wassel at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|stage1 compiler segfault    |segfault for '__divtf3'
                   |during `make                |during bootstrap and non-
                   |profiledbootstrap'          |bootstrap install


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] [4.3/4.4 Regression] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (7 preceding siblings ...)
  2009-04-28  9:54 ` [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install dennis dot wassel at googlemail dot com
@ 2009-05-04 14:18 ` dennis dot wassel at googlemail dot com
  2009-05-04 14:28 ` rguenth at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-05-04 14:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dennis dot wassel at googlemail dot com  2009-05-04 14:18 -------
Marked as 4.3/4.4 regression.

What should I try next? Need I provide any additional info? Any help is much
appreciated!


-- 

dennis dot wassel at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
            Summary|segfault for '__divtf3'     |[4.3/4.4 Regression]
                   |during bootstrap and non-   |segfault for '__divtf3'
                   |bootstrap install           |during bootstrap and non-
                   |                            |bootstrap install


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] [4.3/4.4 Regression] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (8 preceding siblings ...)
  2009-05-04 14:18 ` [Bug bootstrap/39849] [4.3/4.4 Regression] " dennis dot wassel at googlemail dot com
@ 2009-05-04 14:28 ` rguenth at gcc dot gnu dot org
  2009-05-04 14:29 ` [Bug bootstrap/39849] " rguenth at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-04 14:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2009-05-04 14:28 -------
Do not set CFLAGS in

make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' profiledbootstrap

or specify your host compiler version.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (9 preceding siblings ...)
  2009-05-04 14:28 ` rguenth at gcc dot gnu dot org
@ 2009-05-04 14:29 ` rguenth at gcc dot gnu dot org
  2009-05-04 14:35 ` dennis dot wassel at googlemail dot com
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-05-04 14:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2009-05-04 14:29 -------
It obviously works for me, you system seems to be messed up / special.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4 Regression]        |segfault for '__divtf3'
                   |segfault for '__divtf3'     |during bootstrap and non-
                   |during bootstrap and non-   |bootstrap install
                   |bootstrap install           |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (10 preceding siblings ...)
  2009-05-04 14:29 ` [Bug bootstrap/39849] " rguenth at gcc dot gnu dot org
@ 2009-05-04 14:35 ` dennis dot wassel at googlemail dot com
  2009-05-04 14:43 ` dennis dot wassel at googlemail dot com
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-05-04 14:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from dennis dot wassel at googlemail dot com  2009-05-04 14:35 -------
(In reply to comment #9)
> Do not set CFLAGS in
> 
> make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
> -fno-implicit-templates' profiledbootstrap

This ^ was only in my first iteration, and I've omitted it in the following
ones. My last (unsuccessful) attempt was a plain:

../gcc-4.4.0/configure --prefix=/localdata --program-suffix=-4.4.0
--enable-languages=c,c++,fortran --with-gmp=/localdata --with-mpfr=/localdata
--with-ppl=/localdata --with-cloog=/localdata
--enable-version-specific-runtime-libs

make

and nothing out of the ordinary.

> or specify your host compiler version.

My host compiler is gcc 4.3.3

gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.3.3/configure --prefix=/localdata
--program-suffix=-4.3.3 --enable-languages=c,c++,fortran --with-gmp=/localdata
--with-mpfr=/localdata --enable-version-specific-runtime-libs
Thread model: posix
gcc version 4.3.3 (GCC)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (11 preceding siblings ...)
  2009-05-04 14:35 ` dennis dot wassel at googlemail dot com
@ 2009-05-04 14:43 ` dennis dot wassel at googlemail dot com
  2009-05-04 14:44 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-05-04 14:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from dennis dot wassel at googlemail dot com  2009-05-04 14:43 -------
(In reply to comment #10)
> It obviously works for me, you system seems to be messed up / special.

Seems so, although it is a Debian 4 with an unknown amount of modifications by
our admin.
One symptom of specialness is the fact that neither the system nor the gcc's
headers define SSIZE_MAX, but I have a workaround for that (namely defining it
as SHRT_MAX in config/host-linux.c, if it is undefined).

Shall I dig around somewhere to find out the exact amount of my system's
specialness?

Is there a way to build the bootstrap compiler with debugging info, so I can
use gdb to figure out where the segfault happens?

PS: I think this *is* a regression, because I can build 4.3, but not 4.4.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (12 preceding siblings ...)
  2009-05-04 14:43 ` dennis dot wassel at googlemail dot com
@ 2009-05-04 14:44 ` pinskia at gcc dot gnu dot org
  2009-05-04 14:55 ` dennis dot wassel at googlemail dot com
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-04 14:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|major                       |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (13 preceding siblings ...)
  2009-05-04 14:44 ` pinskia at gcc dot gnu dot org
@ 2009-05-04 14:55 ` dennis dot wassel at googlemail dot com
  2009-05-04 15:00 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-05-04 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from dennis dot wassel at googlemail dot com  2009-05-04 14:55 -------
I just noticed/remembered that [x]gcc only drives the compilers, so I plugged
cc1 into gdb and here is the (somewhat messy, slightly edited) result:


gdb /localdata/install/gcc/gcc-4.4.0-build/./gcc/cc1

GNU gdb 6.8
This GDB was configured as "i686-pc-linux-gnu"...


run -quiet -v -I. -I. -I../.././gcc -I../../../gcc-4.4.0/libgcc
-I../../../gcc-4.4.0/libgcc/. -I../../../gcc-4.4.0/libgcc/../gcc
-I../../../gcc-4.4.0/libgcc/../include
-I../../../gcc-4.4.0/libgcc/config/libbid -iprefix
/localdata/install/gcc/gcc-4.4.0-build/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.0/
-isystem /localdata/install/gcc/gcc-4.4.0-build/./gcc/include -isystem
/localdata/install/gcc/gcc-4.4.0-build/./gcc/include-fixed -MD divtf3.d -MF
divtf3.dep -MP -MT divtf3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS
-DHIDE_EXPORTS -isystem /localdata/i686-pc-linux-gnu/include -isystem
/localdata/i686-pc-linux-gnu/sys-include -isystem ./include
../../../gcc-4.4.0/libgcc/../gcc/config/soft-fp/divtf3.c -quiet -dumpbase
divtf3.c -mtune=generic -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wold-style-definition
-Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions
-fvisibility=hidden -o /tmp/ccuJ4Jyu.s

Starting program: /localdata/install/gcc/gcc-4.4.0-build/gcc/cc1 -quiet -v -I.
-I. -I../.././gcc -I../../../gcc-4.4.0/libgcc -I../../../gcc-4.4.0/libgcc/.
-I../../../gcc-4.4.0/libgcc/../gcc -I../../../gcc-4.4.0/libgcc/../include
-I../../../gcc-4.4.0/libgcc/config/libbid -iprefix
/localdata/install/gcc/gcc-4.4.0-build/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.0/
-isystem /localdata/install/gcc/gcc-4.4.0-build/./gcc/include -isystem
/localdata/install/gcc/gcc-4.4.0-build/./gcc/include-fixed -MD divtf3.d -MF
divtf3.dep -MP -MT divtf3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS
-DHIDE_EXPORTS -isystem /localdata/i686-pc-linux-gnu/include -isystem
/localdata/i686-pc-linux-gnu/sys-include -isystem ./include
../../../gcc-4.4.0/libgcc/../gcc/config/soft-fp/divtf3.c -quiet -dumpbase
divtf3.c -mtune=generic -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wold-style-definition
-Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions
-fvisibility=hidden -o /tmp/ccuJ4Jyu.s

Failed to read a valid object file image from memory.

ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/include"
ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/sys-include"
ignoring nonexistent directory "./include"
ignoring nonexistent directory
"/localdata/install/gcc/gcc-4.4.0-build/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.0/include"
ignoring nonexistent directory
"/localdata/install/gcc/gcc-4.4.0-build/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.0/include-fixed"
ignoring nonexistent directory
"/localdata/install/gcc/gcc-4.4.0-build/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/4.4.0/include"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/4.4.0/include-fixed"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../../gcc-4.4.0/libgcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../.././gcc
 ../../../gcc-4.4.0/libgcc
 ../../../gcc-4.4.0/libgcc/../gcc
 ../../../gcc-4.4.0/libgcc/../include
 ../../../gcc-4.4.0/libgcc/config/libbid
 /localdata/install/gcc/gcc-4.4.0-build/./gcc/include
 /localdata/install/gcc/gcc-4.4.0-build/./gcc/include-fixed
 /usr/local/include
 /localdata/include
 /usr/include
End of search list.

GNU C (GCC) version 4.4.0 (i686-pc-linux-gnu)
        compiled by GNU C version 4.3.3, GMP version 4.3, MPFR version
2.4.1-p5.
warning: GMP header version 4.3 differs from library version 4.3.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: ac242e6eff36fdeb132b194aac7540a7

Program received signal SIGSEGV, Segmentation fault.
0x0816a5ba in c_tree_printer (pp=0x9e3d288, text=0xbfd3ca04, spec=0x9e23129
"D", precision=0, wide=0 '\0', set_locus=0 '\0', hash=0 '\0')
    at ../../gcc-4.4.0/gcc/c-objc-common.c:99
99        tree t = va_arg (*text->args_ptr, tree);
(gdb) bt
#0  0x0816a5ba in c_tree_printer (pp=0x9e3d288, text=0xbfd3ca04, spec=0x9e23129
"D", precision=0, wide=0 '\0', set_locus=0 '\0',
    hash=0 '\0') at ../../gcc-4.4.0/gcc/c-objc-common.c:99
#1  0x088568b4 in pp_base_format (pp=0x9e3d288, text=0xbfd3ca04) at
../../gcc-4.4.0/gcc/pretty-print.c:557
#2  0x083cc846 in diagnostic_report_diagnostic (context=0x9dc3aa0,
diagnostic=0xbfd3ca04) at ../../gcc-4.4.0/gcc/diagnostic.c:402
#3  0x083ccbb1 in warning_at (location=682268, opt=208, gmsgid=0x9c21ee8 "%qD
may be used uninitialized in this function")
    at ../../gcc-4.4.0/gcc/diagnostic.c:537
#4  0x091dd663 in warn_uninit (t=0xb75047a8, gmsgid=0x9c21ee8 "%qD may be used
uninitialized in this function", data=0x0)
    at ../../gcc-4.4.0/gcc/tree-ssa.c:1446
#5  0x091dda54 in warn_uninitialized_phi (phi=0xb7518880) at
../../gcc-4.4.0/gcc/tree-ssa.c:1563
#6  0x091ddc48 in execute_late_warn_uninitialized () at
../../gcc-4.4.0/gcc/tree-ssa.c:1626
#7  0x0881c261 in execute_one_pass (pass=0x9db57c0) at
../../gcc-4.4.0/gcc/passes.c:1277
#8  0x0881c401 in execute_pass_list (pass=0x9db57c0) at
../../gcc-4.4.0/gcc/passes.c:1326
#9  0x0881c41d in execute_pass_list (pass=0x9db4820) at
../../gcc-4.4.0/gcc/passes.c:1327
#10 0x08ca2fbe in tree_rest_of_compilation (fndecl=0xb7678800) at
../../gcc-4.4.0/gcc/tree-optimize.c:420
#11 0x0947a994 in cgraph_expand_function (node=0xb7678b80) at
../../gcc-4.4.0/gcc/cgraphunit.c:1047
#12 0x0947ab36 in cgraph_expand_all_functions () at
../../gcc-4.4.0/gcc/cgraphunit.c:1106
#13 0x0947b0b1 in cgraph_optimize () at ../../gcc-4.4.0/gcc/cgraphunit.c:1311
#14 0x0809ceeb in c_write_global_declarations () at
../../gcc-4.4.0/gcc/c-decl.c:8102
#15 0x08a7bc25 in compile_file () at ../../gcc-4.4.0/gcc/toplev.c:981
#16 0x08a7d829 in do_compile () at ../../gcc-4.4.0/gcc/toplev.c:2193
#17 0x08a7d88b in toplev_main (argc=65, argv=0xbfd3ce24) at
../../gcc-4.4.0/gcc/toplev.c:2225
#18 0x081e31a2 in main (argc=Cannot access memory at address 0x0
) at ../../gcc-4.4.0/gcc/main.c:35


I hope this helps!


-- 

dennis dot wassel at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (14 preceding siblings ...)
  2009-05-04 14:55 ` dennis dot wassel at googlemail dot com
@ 2009-05-04 15:00 ` pinskia at gcc dot gnu dot org
  2009-05-04 15:09 ` dennis dot wassel at googlemail dot com
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-04 15:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from pinskia at gcc dot gnu dot org  2009-05-04 15:00 -------
Yes slightly, it is trying to warn about something which is unitialized.  This
works for me on i686-linux-gnu.  Can you provide the preprocessed source?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (15 preceding siblings ...)
  2009-05-04 15:00 ` pinskia at gcc dot gnu dot org
@ 2009-05-04 15:09 ` dennis dot wassel at googlemail dot com
  2009-06-08 14:27 ` dennis dot wassel at googlemail dot com
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-05-04 15:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from dennis dot wassel at googlemail dot com  2009-05-04 15:09 -------
Created an attachment (id=17796)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17796&action=view)
Preprocessed source

Sure!
Attaching preprocessed source of gcc-4.4.0/gcc/config/soft-fp/divtf3.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (16 preceding siblings ...)
  2009-05-04 15:09 ` dennis dot wassel at googlemail dot com
@ 2009-06-08 14:27 ` dennis dot wassel at googlemail dot com
  2009-06-08 14:28 ` dennis dot wassel at googlemail dot com
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-06-08 14:27 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]



------- Comment #16 from dennis dot wassel at googlemail dot com  2009-06-08 14:26 -------
Hi,

with Günther's last status report (2009-05-21) saying that there might be a
release in late June, is there any chance that this can be fixed till 4.4.1?

Thanks,
Dennis


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (17 preceding siblings ...)
  2009-06-08 14:27 ` dennis dot wassel at googlemail dot com
@ 2009-06-08 14:28 ` dennis dot wassel at googlemail dot com
  2009-07-27 12:40 ` dennis dot wassel at googlemail dot com
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-06-08 14:28 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]



------- Comment #17 from dennis dot wassel at googlemail dot com  2009-06-08 14:28 -------
(In reply to comment #16)

> with Günther's last status report [...]

Now that's just stupid - sorry Richard!
(German mistake)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (18 preceding siblings ...)
  2009-06-08 14:28 ` dennis dot wassel at googlemail dot com
@ 2009-07-27 12:40 ` dennis dot wassel at googlemail dot com
  2009-08-17 12:07 ` dennis dot wassel at googlemail dot com
  2009-08-17 12:14 ` dennis dot wassel at googlemail dot com
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-07-27 12:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from dennis dot wassel at googlemail dot com  2009-07-27 12:40 -------
It still happens in 4.4.1:

/localdata/install/gcc/objdir-gcc-4.4.1/./gcc/xgcc
-B/localdata/install/gcc/objdir-gcc-4.4.1/./gcc/
-B/localdata/i686-pc-linux-gnu/bin/ -B/localdata/i686-pc-linux-gnu/lib/
-isystem /localdata/i686-pc-linux-gnu/include -isystem
/localdata/i686-pc-linux-gnu/sys-include -g -O2 -O2  -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../gcc-4.4.1/libgcc -I../../../gcc-4.4.1/libgcc/.
-I../../../gcc-4.4.1/libgcc/../gcc -I../../../gcc-4.4.1/libgcc/../include
-I../../../gcc-4.4.1/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -Wno-missing-prototypes -Wno-type-limits -o divtf3.o
-MT divtf3.o -MD -MP -MF divtf3.dep -fexceptions -c
../../../gcc-4.4.1/libgcc/../gcc/config/soft-fp/divtf3.c -fvisibility=hidden
-DHIDE_EXPORTS
'
In function '__divtf3':
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [divtf3.o] Error 1
make[3]: Leaving directory
`/localdata/install/gcc/objdir-gcc-4.4.1/i686-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/localdata/install/gcc/objdir-gcc-4.4.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/localdata/install/gcc/objdir-gcc-4.4.1'
make: *** [profiledbootstrap] Error 2


Host compiler:
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.3.3/configure --prefix=/localdata
--program-suffix=-4.3.3 --enable-languages=c,c++,fortran --with-gmp=/localdata
--with-mpfr=/localdata --enable-version-specific-runtime-libs
Thread model: posix
gcc version 4.3.3 (GCC)


Configured with:
$../gcc-4.4.1/configure --prefix=/localdata --with-gmp=/localdata
--with-mpfr=/localdata --with-ppl=/localdata --with-cloog=/localdata
--enable-version-specific-runtime-libs --program-suffix=-4.4.1
--enable-checking=release --with-system-zlib --enable-languages=c,c++,fortran
--with-arch=athlon64 --enable-__cxa_atexit

$make profiledbootstrap


gdb output (seems to be the same spot as before):
$gdb /localdata/install/gcc/objdir-gcc-4.4.1/./gcc/cc1
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
< -Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions
-fvisibility=hidden -o /tmp/ccJeES8y.s
Starting program: /localdata/install/gcc/objdir-gcc-4.4.1/gcc/cc1 -quiet -v -I.
-I. -I../.././gcc -I../../../gcc-4.4.1/libgcc -I../../../gcc-4.4.1/libgcc/.
-I../../../gcc-4.4.1/libgcc/../gcc -I../../../gcc-4.4.1/libgcc/../include
-I../../../gcc-4.4.1/libgcc/config/libbid -iprefix
/localdata/install/gcc/objdir-gcc-4.4.1/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.1/
-isystem /localdata/install/gcc/objdir-gcc-4.4.1/./gcc/include -isystem
/localdata/install/gcc/objdir-gcc-4.4.1/./gcc/include-fixed -MD divtf3.d -MF
divtf3.dep -MP -MT divtf3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS
-DHIDE_EXPORTS -isystem /localdata/i686-pc-linux-gnu/include -isystem
/localdata/i686-pc-linux-gnu/sys-include -isystem ./include
../../../gcc-4.4.1/libgcc/../gcc/config/soft-fp/divtf3.c -quiet -dumpbase
divtf3.c -mtune=generic -march=athlon64 -auxbase-strip divtf3.o -g -g -g -O2
-O2 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wcast-qual
-Wold-style-definition -Wno-missing-prototypes -Wno-type-limits -version -fPIC
-fexceptions -fvisibility=hidden -o /tmp/ccJeES8y.s
Failed to read a valid object file image from memory.
ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/include"
ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/sys-include"
ignoring nonexistent directory "./include"
ignoring nonexistent directory
"/localdata/install/gcc/objdir-gcc-4.4.1/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.1/include"
ignoring nonexistent directory
"/localdata/install/gcc/objdir-gcc-4.4.1/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.1/include-fixed"
ignoring nonexistent directory
"/localdata/install/gcc/objdir-gcc-4.4.1/gcc/../lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/4.4.1/include"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/4.4.1/include-fixed"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../../gcc-4.4.1/libgcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../.././gcc
 ../../../gcc-4.4.1/libgcc
 ../../../gcc-4.4.1/libgcc/../gcc
 ../../../gcc-4.4.1/libgcc/../include
 ../../../gcc-4.4.1/libgcc/config/libbid
 /localdata/install/gcc/objdir-gcc-4.4.1/./gcc/include
 /localdata/install/gcc/objdir-gcc-4.4.1/./gcc/include-fixed
 /usr/local/include
 /localdata/include
 /usr/include
End of search list.
GNU C (GCC) version 4.4.1 (i686-pc-linux-gnu)
        compiled by GNU C version 4.3.3, GMP version 4.3.0, MPFR version
2.4.1-p5.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 21d538f5f9a4b2f25e8603df4e1c1d60

Program received signal SIGSEGV, Segmentation fault.
0x080f714e in c_tree_printer (pp=0x94da288, text=0xbffd13c4, spec=0x94c0129
"D", precision=0, wide=0 '\0', set_locus=0 '\0', hash=0 '\0')
    at ../../gcc-4.4.1/gcc/c-objc-common.c:99
99        tree t = va_arg (*text->args_ptr, tree);
(gdb) bt
#0  0x080f714e in c_tree_printer (pp=0x94da288, text=0xbffd13c4, spec=0x94c0129
"D", precision=0, wide=0 '\0', set_locus=0 '\0',
    hash=0 '\0') at ../../gcc-4.4.1/gcc/c-objc-common.c:99
#1  0x085618ad in pp_base_format (pp=0x94da288, text=0xbffd13c4) at
../../gcc-4.4.1/gcc/pretty-print.c:557
#2  0x082806f5 in diagnostic_report_diagnostic (context=0x945f4c0,
diagnostic=0xbffd13c4) at ../../gcc-4.4.1/gcc/diagnostic.c:402
#3  0x08280a60 in warning_at (location=682268, opt=163, gmsgid=0x93054e0 "%qD
may be used uninitialized in this function")
    at ../../gcc-4.4.1/gcc/diagnostic.c:537
#4  0x08ba6145 in warn_uninit (t=0xb75685e8, gmsgid=0x93054e0 "%qD may be used
uninitialized in this function", data=0x0)
    at ../../gcc-4.4.1/gcc/tree-ssa.c:1446
#5  0x08ba6401 in warn_uninitialized_phi (phi=0xb7561300) at
../../gcc-4.4.1/gcc/tree-ssa.c:1563
#6  0x08ba65f5 in execute_late_warn_uninitialized () at
../../gcc-4.4.1/gcc/tree-ssa.c:1626
#7  0x08536d75 in execute_one_pass (pass=0x9452be0) at
../../gcc-4.4.1/gcc/passes.c:1277
#8  0x08536f15 in execute_pass_list (pass=0x9452be0) at
../../gcc-4.4.1/gcc/passes.c:1326
#9  0x08536f31 in execute_pass_list (pass=0x9451c40) at
../../gcc-4.4.1/gcc/passes.c:1327
#10 0x0885b6ec in tree_rest_of_compilation (fndecl=0xb7700500) at
../../gcc-4.4.1/gcc/tree-optimize.c:420
#11 0x08d5104b in cgraph_expand_function (node=0xb7700880) at
../../gcc-4.4.1/gcc/cgraphunit.c:1047
#12 0x08d511ed in cgraph_expand_all_functions () at
../../gcc-4.4.1/gcc/cgraphunit.c:1106
#13 0x08d5175e in cgraph_optimize () at ../../gcc-4.4.1/gcc/cgraphunit.c:1311
#14 0x08078bf0 in c_write_global_declarations () at
../../gcc-4.4.1/gcc/c-decl.c:8102
#15 0x08703091 in compile_file () at ../../gcc-4.4.1/gcc/toplev.c:981
#16 0x08704b15 in do_compile () at ../../gcc-4.4.1/gcc/toplev.c:2197
#17 0x08704b77 in toplev_main (argc=66, argv=0xbffd1734) at
../../gcc-4.4.1/gcc/toplev.c:2229
#18 0x08142e6a in main (argc=Cannot access memory at address 0x0
) at ../../gcc-4.4.1/gcc/main.c:35
(gdb)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (19 preceding siblings ...)
  2009-07-27 12:40 ` dennis dot wassel at googlemail dot com
@ 2009-08-17 12:07 ` dennis dot wassel at googlemail dot com
  2009-08-17 12:14 ` dennis dot wassel at googlemail dot com
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-08-17 12:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from dennis dot wassel at googlemail dot com  2009-08-17 12:07 -------
Also fails for trunk revision 150835 with what looks to me like exactly the
same error:

GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run -quiet -v -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
-I../../../libgcc/../gcc -I../../../libgcc/../include
-I../../../libgcc/config/libbid -iprefix
/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/
-isystem /localdata/install/gcc/trunk/build/./gcc/include -isystem
/localdata/install/gcc/trunk/build/./gcc/include-fixed -MD divtf3.d -MF
divtf3.dep -MP -MT divtf3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS
-DHIDE_EXPORTS -isystem /localdata/i686-pc-linux-gnu/include -isystem
/localdata/i686-pc-linux-gnu/sys-include -isystem ./include
../../../libgcc/../gcc/config/soft-fp/divtf3.c -quiet -dumpbase divtf3.c
-mtune=generic -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wold-style-definition
-Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions
-fvisibility=hidden -o /tmp/ccuC5vI8.s
Starting program: /localdata/install/gcc/trunk/build/gcc/cc1 -quiet -v -I. -I.
-I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc
-I../../../libgcc/../include -I../../../libgcc/config/libbid -iprefix
/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/
-isystem /localdata/install/gcc/trunk/build/./gcc/include -isystem
/localdata/install/gcc/trunk/build/./gcc/include-fixed -MD divtf3.d -MF
divtf3.dep -MP -MT divtf3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS
-DHIDE_EXPORTS -isystem /localdata/i686-pc-linux-gnu/include -isystem
/localdata/i686-pc-linux-gnu/sys-include -isystem ./include
../../../libgcc/../gcc/config/soft-fp/divtf3.c -quiet -dumpbase divtf3.c
-mtune=generic -auxbase-strip divtf3.o -g -g -g -O2 -O2 -O2 -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wold-style-definition
-Wno-missing-prototypes -Wno-type-limits -version -fPIC -fexceptions
-fvisibility=hidden -o /tmp/ccuC5vI8.s
Failed to read a valid object file image from memory.
GNU C (GCC) version 4.5.0 20090817 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.3.4, GMP version 4.3.0, MPFR version
2.4.1-p5
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/include"
ignoring nonexistent directory "/localdata/i686-pc-linux-gnu/sys-include"
ignoring nonexistent directory "./include"
ignoring nonexistent directory
"/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/include"
ignoring nonexistent directory
"/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/include-fixed"
ignoring nonexistent directory
"/localdata/install/gcc/trunk/build/gcc/../lib/gcc/i686-pc-linux-gnu/4.5.0/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/4.5.0/include"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/4.5.0/include-fixed"
ignoring nonexistent directory
"/localdata/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../../libgcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../.././gcc
 ../../../libgcc
 ../../../libgcc/../gcc
 ../../../libgcc/../include
 ../../../libgcc/config/libbid
 /localdata/install/gcc/trunk/build/./gcc/include
 /localdata/install/gcc/trunk/build/./gcc/include-fixed
 /usr/local/include
 /localdata/include
 /usr/include
End of search list.
GNU C (GCC) version 4.5.0 20090817 (experimental) (i686-pc-linux-gnu)
        compiled by GNU C version 4.3.4, GMP version 4.3.0, MPFR version
2.4.1-p5
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 00b3392e7bc00f6d220c196c9496c5bb

Program received signal SIGSEGV, Segmentation fault.
0x081ed171 in c_tree_printer (pp=0xa2452e8, text=0xbfdd9160, spec=0xa22b129
"D", precision=0, wide=0 '\0', set_locus=0 '\0', hash=0 '\0')
    at ../../gcc/c-objc-common.c:101
101       tree t = va_arg (*text->args_ptr, tree);
(gdb) bt
#0  0x081ed171 in c_tree_printer (pp=0xa2452e8, text=0xbfdd9160, spec=0xa22b129
"D", precision=0, wide=0 '\0', set_locus=0 '\0',
    hash=0 '\0') at ../../gcc/c-objc-common.c:101
#1  0x089566a4 in pp_base_format (pp=0xa2452e8, text=0xbfdd9160) at
../../gcc/pretty-print.c:544
#2  0x08476949 in diagnostic_report_diagnostic (context=0xa1c6340,
diagnostic=0xbfdd9160) at ../../gcc/diagnostic.c:420
#3  0x08476cb4 in warning_at (location=682268, opt=209, gmsgid=0x9ffa470 "%qD
may be used uninitialized in this function")
    at ../../gcc/diagnostic.c:555
#4  0x092dedb6 in warn_uninit (t=0xb7586bfc, gmsgid=0x9ffa470 "%qD may be used
uninitialized in this function", data=0x0)
    at ../../gcc/tree-ssa.c:1330
#5  0x092df2ad in warn_uninitialized_phi (phi=0xb7580230) at
../../gcc/tree-ssa.c:1451
#6  0x092df4a1 in execute_late_warn_uninitialized () at
../../gcc/tree-ssa.c:1514
#7  0x08910703 in execute_one_pass (pass=0xa1b7f60) at ../../gcc/passes.c:1291
#8  0x089108a3 in execute_pass_list (pass=0xa1b7f60) at ../../gcc/passes.c:1340
#9  0x089108bf in execute_pass_list (pass=0xa1b7080) at ../../gcc/passes.c:1341
#10 0x08dd86af in tree_rest_of_compilation (fndecl=0xb7712200) at
../../gcc/tree-optimize.c:390
#11 0x095beaf8 in cgraph_expand_function (node=0xb7715c00) at
../../gcc/cgraphunit.c:1114
#12 0x095beca9 in cgraph_expand_all_functions () at ../../gcc/cgraphunit.c:1173
#13 0x095bf244 in cgraph_optimize () at ../../gcc/cgraphunit.c:1396
#14 0x095be7d5 in cgraph_finalize_compilation_unit () at
../../gcc/cgraphunit.c:1042
#15 0x0810a89a in c_write_global_declarations () at ../../gcc/c-decl.c:9392
#16 0x08b90209 in compile_file () at ../../gcc/toplev.c:1038
#17 0x08b92127 in do_compile () at ../../gcc/toplev.c:2351
#18 0x08b921ec in toplev_main (argc=65, argv=0xbfdd95a4) at
../../gcc/toplev.c:2393
#19 0x0826d8bf in main (argc=Cannot access memory at address 0x0
) at ../../gcc/main.c:35


Please, anything I can do to help get this fixed?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

* [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install
  2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
                   ` (20 preceding siblings ...)
  2009-08-17 12:07 ` dennis dot wassel at googlemail dot com
@ 2009-08-17 12:14 ` dennis dot wassel at googlemail dot com
  21 siblings, 0 replies; 23+ messages in thread
From: dennis dot wassel at googlemail dot com @ 2009-08-17 12:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from dennis dot wassel at googlemail dot com  2009-08-17 12:13 -------
Created an attachment (id=18382)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18382&action=view)
Preprocessed source (of trunk revision 150835)


-- 

dennis dot wassel at googlemail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17796|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39849


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

end of thread, other threads:[~2009-08-17 12:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-22 14:44 [Bug bootstrap/39849] New: stage1 compiler segfault during `make profiledbootstrap' dennis dot wassel at googlemail dot com
2009-04-22 15:03 ` [Bug bootstrap/39849] " dennis dot wassel at googlemail dot com
2009-04-23  0:04 ` pinskia at gcc dot gnu dot org
2009-04-23  8:27 ` dennis dot wassel at googlemail dot com
2009-04-23  9:54 ` dennis dot wassel at googlemail dot com
2009-04-27 10:39 ` dennis dot wassel at googlemail dot com
2009-04-27 15:10 ` pinskia at gcc dot gnu dot org
2009-04-27 15:36 ` dennis dot wassel at googlemail dot com
2009-04-28  9:54 ` [Bug bootstrap/39849] segfault for '__divtf3' during bootstrap and non-bootstrap install dennis dot wassel at googlemail dot com
2009-05-04 14:18 ` [Bug bootstrap/39849] [4.3/4.4 Regression] " dennis dot wassel at googlemail dot com
2009-05-04 14:28 ` rguenth at gcc dot gnu dot org
2009-05-04 14:29 ` [Bug bootstrap/39849] " rguenth at gcc dot gnu dot org
2009-05-04 14:35 ` dennis dot wassel at googlemail dot com
2009-05-04 14:43 ` dennis dot wassel at googlemail dot com
2009-05-04 14:44 ` pinskia at gcc dot gnu dot org
2009-05-04 14:55 ` dennis dot wassel at googlemail dot com
2009-05-04 15:00 ` pinskia at gcc dot gnu dot org
2009-05-04 15:09 ` dennis dot wassel at googlemail dot com
2009-06-08 14:27 ` dennis dot wassel at googlemail dot com
2009-06-08 14:28 ` dennis dot wassel at googlemail dot com
2009-07-27 12:40 ` dennis dot wassel at googlemail dot com
2009-08-17 12:07 ` dennis dot wassel at googlemail dot com
2009-08-17 12:14 ` dennis dot wassel at googlemail dot com

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