[LLVMbugs] [Bug 1731] New: libgcc2.c:541: internal compiler error: Segmentation fault
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Oct 13 09:50:52 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1731
Summary: libgcc2.c:541: internal compiler error: Segmentation
fault
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: blocker
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: laguest at archangeli.co.uk
CC: llvmbugs at cs.uiuc.edu
Linux rogue 2.6.20-16-generic #2 SMP Sun Sep 23 18:31:23 UTC 2007 x86_64
GNU/Linux
Ubuntu Feisty
../../llvm-gcc-4.2/configure --prefix=/home/laguest/opt/llvm
--enable-llvm=/home/laguest/src/others/compilers/llvm-svn/x86_64/build
$ make bootstrap
echo stage3 > stage_final
make[1]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
make[2]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
rm -f stage_current
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
make[2]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
make[2]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libiberty'
make[4]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libiberty/testsuite'
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libiberty'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/intl'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/build-x86_64-unknown-linux-gnu/libiberty'
make[4]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/build-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -fkeep-inline-functions"
"CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 "
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
"LDFLAGS=" "LIBCFLAGS=-g -fkeep-inline-functions" "LIBCFLAGS_FOR_TARGET=-O2 -g
-O2 " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000
--split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/home/laguest/opt/llvm" "infodir=/home/laguest/opt/llvm/info"
"libdir=/home/laguest/opt/llvm/lib" "prefix=/home/laguest/opt/llvm"
"tooldir=/home/laguest/opt/llvm/x86_64-unknown-linux-gnu" "AR=ar" "AS=as"
"CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -fkeep-inline-functions" "NM=nm"
"PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/zlib'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libcpp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libcpp'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libdecnumber'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/libdecnumber'
make[3]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/gcc'
make \
CFLAGS="-g -fkeep-inline-functions -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common " \
CONFIG_H="config.h auto-host.h
../../../llvm-gcc-4.2/gcc/../include/ansidecl.h" \
MAKEOVERRIDES= \
-f libgcc.mk all
make[4]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/gcc'
make
GCC_FOR_TARGET="/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/./gcc/xgcc
-B/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/./gcc/
-B/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/bin/
-B/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/lib/ -isystem
/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/include -isystem
/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/sys-include" \
AR_FOR_TARGET="ar" \
AR_CREATE_FOR_TARGET="ar rc" \
AR_EXTRACT_FOR_TARGET="ar x" \
AR_FLAGS_FOR_TARGET="" \
CC="gcc" CFLAGS="-g -fkeep-inline-functions -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common " \
BUILD_PREFIX="" \
BUILD_PREFIX_1="" \
LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -O2 -g -O2 -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
" \
MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crtbeginS.o crtendS.o
crtbeginT.o crtfastmath.o
make[5]: Entering directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/gcc'
make[5]: `crtend.o' is up to date.
make[5]: `crtbeginS.o' is up to date.
make[5]: `crtendS.o' is up to date.
make[5]: `crtbeginT.o' is up to date.
make[5]: `crtfastmath.o' is up to date.
make[5]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/gcc'
/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/./gcc/xgcc
-B/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/./gcc/
-B/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/bin/
-B/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/lib/ -isystem
/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/include -isystem
/home/laguest/opt/llvm/x86_64-unknown-linux-gnu/sys-include -O2 -O2 -g -O2
-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../../../llvm-gcc-4.2/gcc
-I../../../llvm-gcc-4.2/gcc/. -I../../../llvm-gcc-4.2/gcc/../include
-I../../../llvm-gcc-4.2/gcc/../libcpp/include
-I../../../llvm-gcc-4.2/gcc/../libdecnumber -I../libdecnumber
-I/home/laguest/src/others/compilers/llvm-svn/llvm/include
-I/home/laguest/src/others/compilers/llvm-svn/x86_64/build/include -DL_ffssi2
-fvisibility=hidden -DHIDE_EXPORTS -c ../../../llvm-gcc-4.2/gcc/libgcc2.c -o
libgcc/./_ffssi2.o
../../../llvm-gcc-4.2/gcc/libgcc2.c:541: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[4]: *** [libgcc/./_ffssi2.o] Error 1
make[4]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/gcc'
make[3]: *** [stmp-multilib] Error 2
make[3]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/home/laguest/src/others/compilers/llvm-svn/x86_64/build-llvm-gcc-4.2'
make: *** [bootstrap] Error 2
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list