NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/49609: internal compiler error while building gcc for m68k with GCC48 and DBG="-O1 -g"



>Number:         49609
>Category:       toolchain
>Synopsis:       internal compiler error while building gcc for m68k with GCC48 and DBG="-O1 -g"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 27 14:25:00 +0000 2015
>Originator:     Frank Wille
>Release:        7.99.4
>Organization:
NetBSD
>Environment:
NetBSD tethys 6.1.5 NetBSD 6.1.5 (TETHYS) #0: Wed Oct  8 14:25:21 CEST 2014  frank@tethys:/home/frank/netbsd/REL6.1.5/src/objx64/sys/arch/amd64/compile/TETHYS amd64
>Description:
Building release (userland) with GCC4.8 for amiga (and probably other m68k ports as well) with Option DBG="-O1 -g" runs into an internal compiler error while building external/gpl3/gcc/usr.bin/backend:

#   compile  backend/tree-loop-distribution.o
/home/frank/netbsd/current/src/objamiga/tooldir.NetBSD-6.1.5-amd64/bin/m68k--netbsdelf-c++ -O1 -g -Werror   -g  -Wno-stack-protector  -I. -I/home/frank/netbsd/current/src/external/gpl3/gcc/usr.bin/backend/../gcc/arch/m68k -DIN_GCC -DHAVE_CONFIG_H -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/. -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/../include -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/../libcpp/include -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/../libdecnumber -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/../libdecnumber/dpd -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/../libbacktrace -DTARGET_NAME=\"m68k--netbsdelf\" -I/home/frank/netbsd/current/src/external/gpl3/gcc/dist/libgcc -I/home/frank/netbsd/current/src/external/gpl3/gcc/usr.bin/backend/../../lib/libgcc/libgcov/arch/m68k --sysroot=/home/frank/netbsd/current/src/
 objamiga/destdir.amiga -DLOCALEDIR=\"/usr/share/locale\" -DNETBSD_NATIVE -I. -DENABLE_SHARED_LIBGCC  -c    /home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/tree-loop-distribution.c -o tree-loop-distribution.o
/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/tree-loop-distribution.c: In function 'unsigned int tree_loop_distribution()':
/home/frank/netbsd/current/src/external/gpl3/gcc/dist/gcc/tree-loop-distribution.c:1568:1: internal compiler error: in cselib_record_set, at cselib.c:2373
 }
 ^
no stack trace because unwind library not available

>How-To-Repeat:
Build a current release (7.99.4) for any m68k port. Define the variables "HAVE_GCC=48" and "DBG=-O1 -g". Example:

$ ./build.sh -m amiga -O objamiga -U -x -X /home/frank/netbsd/current/xsrc -V HAVE_GCC=48 -V "DBG=-O1 -g" release

After some time the build process runs into the error message above, on my amd64 6.1.5 server.

>Fix:
Unknown.



Home | Main Index | Thread Index | Old Index