bin/123940: FreeBSD 7-STABLE buildworld fails with internal gcc error (no HW problem!)

Lev A. Serebryakov lev at FreeBSD.org
Fri May 23 19:30:02 UTC 2008


>Number:         123940
>Category:       bin
>Synopsis:       FreeBSD 7-STABLE buildworld fails with internal gcc error (no HW problem!)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 23 19:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serebryakov
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD blob.home.serebryakov.spb.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon May 19 21:26:08 MSD 2008 lev at blob.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/BLOB amd64
CPU: E4500
MEM: 6Gb
HDD: Samsung 320Gb as system.
Sources are cvsupped 23 May 2008.

>Description:

`make buildworld' failed about every third time with:

---------------------------------------------------------
### stage 3: cross tools
....
===> gnu/usr.bin/cc/cc_int (all)
....
cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber  -I/usr/obj/usr/src/tmp/legacy/usr/include -c ../cc_tools/insn-attrtab.c
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md: In function 'insn_default_latency':
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md:202: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_int.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
---------------------------------------------------------

Hardware is Ok: it can build world 10 time in loop with 8 jobs (-j8) and MAKEOBJDIRPREFIX set to non-/usr filesystem.
When MAKEOBJDIRPREFIX is empty (is not set) every third build is failed with this error.
/usr filesystem is clean and HDD with it is in good condition.
Here are wnought space on /usr (about 250Gb) and /tmp (450Mb).

Re-run `buildworld' with -DNO_CELAN typically finish build after that.

>How-To-Repeat:

Build world several times with default (not set) MAKEOBJDIRPREFIX 

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list