Subject: toolchain/30251: gcc internal compiler error (-current amd64)
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 05/17/2005 10:07:00
>Number:         30251
>Category:       toolchain
>Synopsis:       gcc internal compiler error (-current amd64)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 17 10:07:00 +0000 2005
>Originator:     Nicolas Joly
>Release:        NetBSD 3.99.3
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 3.99.3 NetBSD 3.99.3 (LANFEUST) #10: Wed May 11 16:52:38 CEST 2005 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
I just updated my -current sources and noticed that gcc fails to build
crtbegin.o, with an `internal compiler error':

#    create  crtstuff3/.depend
rm -f .depend
CC=/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc /local/src/NetBSD/tool/amd64/bin/nbmkdep -d -f .depend -s .o\ .ln crtbegin.d crtbeginS.d crtbeginT.d crtend.d crtendS.d
/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc  -I/local/src/NetBSD/src/gnu/usr.bin/gcc3/arch/x86_64 -DIN_GCC -I/local/src/NetBSD/src/gnu/dist/gcc/gcc -I/local/src/NetBSD/src/gnu/dist/gcc/gcc/. -I/local/src/NetBSD/src/gnu/dist/gcc/gcc/config -I/local/src/NetBSD/src/gnu/dist/gcc/gcc/../include -I.  -nostdinc -isystem /local/src/NetBSD/dest/amd64/usr/include  -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fPIC -c /local/src/NetBSD/src/gnu/lib/crtstuff3/crtbegin.c -o crtbegin.o.o
/local/src/NetBSD/src/gnu/lib/crtstuff3/crtbegin.c:325: internal compiler error: in named_section_flags, at varasm.c:412
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.

>How-To-Repeat:
cd src && ./build.sh build
>Fix: