Bug 15691 - [3.4 Regression] [unit-at-a-time] ../sysdeps/unix/sysv/linux/init-first.c:89: internal compiler error: Aborted
Summary: [3.4 Regression] [unit-at-a-time] ../sysdeps/unix/sysv/linux/init-first.c:89...
Status: RESOLVED DUPLICATE of bug 15666
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 3.4.1
: P2 normal
Target Milestone: 3.4.1
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2004-05-27 19:46 UTC by Carlos Velasco
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work: 4.0 3.3.3
Known to fail: 3.4.0
Last reconfirmed:


Attachments
preprocessed file (37.40 KB, application/octet-stream)
2004-05-27 19:48 UTC, Carlos Velasco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Velasco 2004-05-27 19:46:47 UTC
> uname -a
Linux atlas 2.4.26 #1 Fri May 14 16:46:39 CEST 2004 i586 unknown

While trying to build glibc:

> gcc -v -save-temps ../sysdeps/unix/sysv/linux/init-first.c -c -std=gnu99 -O2 -
Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-
boundary=4  -fPIC    -I../include -I. -I/home/ftp/compile/glibc/glibc-obj/csu -
I.. -I../libio  -I/home/ftp/compile/glibc/glibc-obj -I../sysdeps/i386/elf -
I../linuxthreads/sysdeps/unix/sysv/linux/i386 -
I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -
I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -
I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -
I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -
I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -
I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -
I../sysdeps/unix/sysv -I../sysdeps/unix/i386/i586 -I../sysdeps/unix/i386 -
I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -
I../sysdeps/i386/i486 -I../linuxthreads/sysdeps/i386/i486 -
I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -
I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -
I../sysdeps/generic -I /lib/modules/2.4.26/build/include -D_LIBC_REENTRANT -
include ../include/libc-symbols.h  -DPIC -DSHARED     -DHAVE_INITFINI -
o /home/ftp/compile/glibc/glibc-obj/csu/init-first.os -MD -MP -
MF /home/ftp/compile/glibc/glibc-obj/csu/init-first.os.dt
Reading specs from /usr/lib/gcc/i586-pc-linux-gnu/3.4.1/specs
Configured with: ./configure --prefix=/usr --sysconfdir=/etc --
localstatedir=/var --mandir=/usr/share/man --enable-threads=posix --with-gnu-
ld --enable-shared --enable-languages=c,c++
Thread model: posix
gcc version 3.4.1 20040514 (prerelease)
 /usr/libexec/gcc/i586-pc-linux-gnu/3.4.1/cc1 -E -quiet -v -I../include -I. -
I/home/ftp/compile/glibc/glibc-obj/csu -I.. -I../libio -
I/home/ftp/compile/glibc/glibc-obj -I../sysdeps/i386/elf -
I../linuxthreads/sysdeps/unix/sysv/linux/i386 -
I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -
I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -
I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -
I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -
I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -
I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -
I../sysdeps/unix/sysv -I../sysdeps/unix/i386/i586 -I../sysdeps/unix/i386 -
I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -
I../sysdeps/i386/i486 -I../linuxthreads/sysdeps/i386/i486 -
I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -
I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -
I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -
I../sysdeps/generic -I /lib/modules/2.4.26/build/include -
MD /home/ftp/compile/glibc/glibc-obj/csu/init-first.d -
MF /home/ftp/compile/glibc/glibc-obj/csu/init-first.os.dt -MP -
MQ /home/ftp/compile/glibc/glibc-obj/csu/init-first.os -D_LIBC_REENTRANT -DPIC -
DSHARED -DHAVE_INITFINI -include ../include/libc-
symbols.h ../sysdeps/unix/sysv/linux/init-first.c -mpreferred-stack-boundary=4 -
mtune=pentium -std=gnu99 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -
fPIC -fworking-directory -O2 -o init-first.i
ignoring nonexistent directory "/usr/lib/gcc/i586-pc-linux-
gnu/3.4.1/../../../../i586-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 ../include
 .
 /home/ftp/compile/glibc/glibc-obj/csu
 ..
 ../libio
 /home/ftp/compile/glibc/glibc-obj
 ../sysdeps/i386/elf
 ../linuxthreads/sysdeps/unix/sysv/linux/i386
 ../linuxthreads/sysdeps/unix/sysv/linux
 ../linuxthreads/sysdeps/pthread
 ../sysdeps/pthread
 ../linuxthreads/sysdeps/unix/sysv
 ../linuxthreads/sysdeps/unix
 ../linuxthreads/sysdeps/i386/i586
 ../linuxthreads/sysdeps/i386
 ../sysdeps/unix/sysv/linux/i386
 ../sysdeps/unix/sysv/linux
 ../sysdeps/gnu
 ../sysdeps/unix/common
 ../sysdeps/unix/mman
 ../sysdeps/unix/inet
 ../sysdeps/unix/sysv/i386
 ../sysdeps/unix/sysv
 ../sysdeps/unix/i386/i586
 ../sysdeps/unix/i386
 ../sysdeps/unix
 ../sysdeps/posix
 ../sysdeps/i386/i586
 ../sysdeps/i386/i486
 ../linuxthreads/sysdeps/i386/i486
 ../sysdeps/i386/fpu
 ../sysdeps/i386
 ../sysdeps/wordsize-32
 ../sysdeps/ieee754/ldbl-96
 ../sysdeps/ieee754/dbl-64
 ../sysdeps/ieee754/flt-32
 ../sysdeps/ieee754
 ../sysdeps/generic/elf
 ../sysdeps/generic
 /lib/modules/2.4.26/build/include
 /usr/local/include
 /usr/lib/gcc/i586-pc-linux-gnu/3.4.1/include
 /usr/include
End of search list.
 /usr/libexec/gcc/i586-pc-linux-gnu/3.4.1/cc1 -fpreprocessed init-first.i -
quiet -dumpbase init-first.c -mpreferred-stack-boundary=4 -mtune=pentium -
auxbase-strip /home/ftp/compile/glibc/glibc-obj/csu/init-first.os -g -O2 -Wall -
Winline -Wstrict-prototypes -Wwrite-strings -std=gnu99 -version -fPIC -o init-
first.s
GNU C version 3.4.1 20040514 (prerelease) (i586-pc-linux-gnu)
        compiled by GNU C version 3.4.1 20040514 (prerelease).
GGC heuristics: --param ggc-min-expand=36 --param ggc-min-heapsize=11879
../sysdeps/unix/sysv/linux/init-first.c:89: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Carlos Velasco 2004-05-27 19:48:50 UTC
Created attachment 6402 [details]
preprocessed file
Comment 2 Carlos Velasco 2004-05-27 19:51:12 UTC
tried gcc version 3.4.0 (release) with same problem.
Comment 3 Andrew Pinski 2004-05-27 19:59:11 UTC
Here is the backtrace:
#0  0x420292d1 in kill () from /lib/i686/libc.so.6
#1  0x420290ba in raise () from /lib/i686/libc.so.6
#2  0x4202a862 in abort () from /lib/i686/libc.so.6
#3  0x08303438 in htab_clear_slot (htab=0x40176400, slot=0x0) at ../../libiberty/hashtab.c:595
#4  0x082aeb67 in cgraph_remove_node (node=0x402740d8) at ../../gcc/cgraph.c:245
#5  0x082b1010 in cgraph_optimize () at ../../gcc/cgraphunit.c:887
#6  0x08086f04 in c_objc_common_finish_file () at ../../gcc/c-objc-common.c:245
#7  0x0827606d in toplev_main (argc=0, argv=0xbffec53f) at ../../gcc/toplev.c:1822
#8  0x0809962e in main (argc=0, argv=0x0) at ../../gcc/main.c:35
Comment 4 Carlos Velasco 2004-05-27 20:09:34 UTC
using -O1 instead of -O2 make it works.
Comment 5 Andrew Pinski 2004-06-04 02:46:58 UTC
This is a dup of bug 15666.

*** This bug has been marked as a duplicate of 15666 ***