public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27342]  New: GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c
@ 2006-04-27 20:39 malitzke at metronets dot com
  2006-04-27 20:40 ` [Bug c/27342] " malitzke at metronets dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: malitzke at metronets dot com @ 2006-04-27 20:39 UTC (permalink / raw)
  To: gcc-bugs

./xgcc -v -save-temps -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include
-L/slackw/gcc-r41/gcc.build.lnx9/gcc/../ld -O2  -O2 -O2 -pipe
-fomit-frame-pointer -march=pentium3 -fno-strict-aliasing  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/.
-I../../gcc-4.1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include
-I/usr/lib/include -I/usr/lib/include -I/l3/gmp-4.2  -DL_gcov -c libgcov.c -o
libgcov.i 2>&1 |tee rmg.out

xgcc: warning: -pipe ignored because -save-temps specified
Reading specs from ./specs
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --prefix=/usr
--enable-version-specific-runtime-libs --with-java-home=/usr
--infodir=/usr/share/gcc-420 --datadir=/usr/share/gcc-420
--mandir=/usr/share/gcc-420 --program-suffix=-420 --enable-shared --enable-gomp
--enable-mudflap --enable-libgfortran --enable-threads=posix
--enable-__cxa_atexit --disable-checking --disable-multilib --disable-nls
--disable-werror --with-gnu-ld --enable-libgcc-math
--with-mpfr-dir=/l3/mpfr-2.2.0 --with-mpfr=/usr/lib --with-gmp-dir=/l3/gmp-4.2
--with-gmp=/usr/lib --enable-languages=c,c++,fortran,java,objc
--with-cpu=pentium3 --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 20060427 (prerelease)
 ./cc1 -E -quiet -v -I. -I. -I../../gcc-4.1.1/gcc -I../../gcc-4.1.1/gcc/.
-I../../gcc-4.1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include
-I/usr/lib/include -I/usr/lib/include -I/l3/gmp-4.2 -iprefix
/slackw/gcc-r41/gcc.build.lnx9/gcc/../lib/gcc/i686-pc-linux-gnu/4.1.1/ -isystem
./include -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-DL_gcov -isystem /usr/i686-pc-linux-gnu/include -isystem
/usr/i686-pc-linux-gnu/sys-include -isystem ./include libgcov.c -march=pentium3
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -fomit-frame-pointer -fno-strict-aliasing -fPIC
-fworking-directory -O2 -O2 -O2 -fpch-preprocess -o libgcov.i
ignoring nonexistent directory "/usr/i686-pc-linux-gnu/include"
ignoring nonexistent directory "/usr/i686-pc-linux-gnu/sys-include"
ignoring duplicate directory "./include"
ignoring nonexistent directory
"/slackw/gcc-r41/gcc.build.lnx9/gcc/../lib/gcc/i686-pc-linux-gnu/4.1.1/include"
ignoring nonexistent directory
"/slackw/gcc-r41/gcc.build.lnx9/gcc/../lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include"
ignoring nonexistent directory "/usr/lib/gcc/../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc-4.1.1/gcc/."
ignoring nonexistent directory "/usr/lib/include"
ignoring nonexistent directory "/usr/lib/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc-4.1.1/gcc
 ../../gcc-4.1.1/gcc/../include
 ../../gcc-4.1.1/gcc/../libcpp/include
 /l3/gmp-4.2
 ./include
 /usr/local/include
 /usr/include
End of search list.
 ./cc1 -fpreprocessed libgcov.i -quiet -dumpbase libgcov.c -march=pentium3
-auxbase-strip libgcov.i -g -O2 -O2 -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version
-fomit-frame-pointer -fno-strict-aliasing -fPIC -o libgcov.s
GNU C version 4.1.1 20060427 (prerelease) (i686-pc-linux-gnu)
        compiled by GNU C version 4.1.0 20060226 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 3c1c0ca8dc7131f4b263707b4c318e14
libgcov.c: In function 'gcov_exit':
libgcov.c:161: error: 'else' label does not match edge at end of bb 140
libgcov.c:161: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov
                    (1st of several libgcov.c
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: malitzke at metronets dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c/27342] GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c
  2006-04-27 20:39 [Bug c/27342] New: GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c malitzke at metronets dot com
@ 2006-04-27 20:40 ` malitzke at metronets dot com
  2006-04-27 20:49 ` malitzke at metronets dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: malitzke at metronets dot com @ 2006-04-27 20:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from malitzke at metronets dot com  2006-04-27 20:40 -------
Created an attachment (id=11341)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11341&action=view)
Preprocessed file


-- 


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


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

* [Bug c/27342] GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c
  2006-04-27 20:39 [Bug c/27342] New: GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c malitzke at metronets dot com
  2006-04-27 20:40 ` [Bug c/27342] " malitzke at metronets dot com
@ 2006-04-27 20:49 ` malitzke at metronets dot com
  2006-04-27 21:02 ` [Bug middle-end/27342] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: malitzke at metronets dot com @ 2006-04-27 20:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from malitzke at metronets dot com  2006-04-27 20:49 -------
I got it once and did a svn update to 113320 for good measure but still got
apparently the same segmentation fault. However, libgcov.c is processed about
14 times with a different -DLgcove_xxx each time and the error message does not
specify which.


-- 


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


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

* [Bug middle-end/27342] GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c
  2006-04-27 20:39 [Bug c/27342] New: GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c malitzke at metronets dot com
  2006-04-27 20:40 ` [Bug c/27342] " malitzke at metronets dot com
  2006-04-27 20:49 ` malitzke at metronets dot com
@ 2006-04-27 21:02 ` pinskia at gcc dot gnu dot org
  2006-04-27 21:25 ` [Bug c/27342] " malitzke at metronets dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-27 21:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-04-27 21:02 -------
if you run the preprocessed source again, do you run into the segfault/error?

If so then this is a hardware problem with your machine.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end


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


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

* [Bug c/27342] GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c
  2006-04-27 20:39 [Bug c/27342] New: GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c malitzke at metronets dot com
                   ` (2 preceding siblings ...)
  2006-04-27 21:02 ` [Bug middle-end/27342] " pinskia at gcc dot gnu dot org
@ 2006-04-27 21:25 ` malitzke at metronets dot com
  2006-04-27 22:03 ` malitzke at metronets dot com
  2006-04-28 16:46 ` malitzke at metronets dot com
  5 siblings, 0 replies; 7+ messages in thread
From: malitzke at metronets dot com @ 2006-04-27 21:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from malitzke at metronets dot com  2006-04-27 21:25 -------
Well, Andy, not so fast. Doing:
./xgcc -B./ -c libgcov,i 
I get no message and a get a "libgcov,o"
Anyhow that machine is a four processor server with 2G error corrected memory.
Also I have about 13 other commands processing libgcov.c, but each time with a
different -DLgcov_xxx and none of them turns up any errors.


-- 

malitzke at metronets dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |c


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


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

* [Bug c/27342] GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c
  2006-04-27 20:39 [Bug c/27342] New: GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c malitzke at metronets dot com
                   ` (3 preceding siblings ...)
  2006-04-27 21:25 ` [Bug c/27342] " malitzke at metronets dot com
@ 2006-04-27 22:03 ` malitzke at metronets dot com
  2006-04-28 16:46 ` malitzke at metronets dot com
  5 siblings, 0 replies; 7+ messages in thread
From: malitzke at metronets dot com @ 2006-04-27 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from malitzke at metronets dot com  2006-04-27 22:03 -------
Further:
I started the gcc-4.1.1 bootstrap with a different gcc (atually now a earlier
4.2.0) and it come up with the same "else label does not match edge....." The
xgcc now was generated by a different version of gcc.
While this boot was going on I retried the earlier ./xgcc to most likely hit a
different processor and a different memory region; same thing as before.

Most likely that particular define is triggering some otherwise hidden bug.


-- 


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


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

* [Bug c/27342] GCC-bootstrap using  ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c
  2006-04-27 20:39 [Bug c/27342] New: GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c malitzke at metronets dot com
                   ` (4 preceding siblings ...)
  2006-04-27 22:03 ` malitzke at metronets dot com
@ 2006-04-28 16:46 ` malitzke at metronets dot com
  5 siblings, 0 replies; 7+ messages in thread
From: malitzke at metronets dot com @ 2006-04-28 16:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from malitzke at metronets dot com  2006-04-28 16:46 -------
After compiling gcc-4.1.1 successfully on a powerpc and another pentium3
machine it appears that the problem reported was due to bit-rot in the server
and not caught by svn updates. This appears to be confirmed by erathing the
gcc-4.1.1 directory tree and transferring a new tree from the other pentium3.
This passed the ./gxx cpmpile of the libgcov.c file. 

Therefor I am taking the liberty of marking PR27342 as fixed.


-- 

malitzke at metronets dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2006-04-28 16:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-27 20:39 [Bug c/27342] New: GCC-bootstrap using ./xgcc on libgcov.c with -DL_gcov (1st of several libgcov.c malitzke at metronets dot com
2006-04-27 20:40 ` [Bug c/27342] " malitzke at metronets dot com
2006-04-27 20:49 ` malitzke at metronets dot com
2006-04-27 21:02 ` [Bug middle-end/27342] " pinskia at gcc dot gnu dot org
2006-04-27 21:25 ` [Bug c/27342] " malitzke at metronets dot com
2006-04-27 22:03 ` malitzke at metronets dot com
2006-04-28 16:46 ` malitzke at metronets 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).