[LLVMbugs] [Bug 2860] New: llvm-gcc ICE when building libgcc
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Oct 4 15:33:41 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2860
Summary: llvm-gcc ICE when building libgcc
Product: tools
Version: trunk
Platform: Other
OS/Version: NetBSD
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: krister.walfridsson at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2058)
--> (http://llvm.org/bugs/attachment.cgi?id=2058)
source code that makes the compiler ICE
llvm-gcc-4.2 reports an internal compiler error when compiling libgcc on
x86_64-unknown-netbsd:
/usr/local/tmp/llvm081004/gbuild/./gcc/xgcc
-B/usr/local/tmp/llvm081004/gbuild/./gcc/
-B/home/cato/llvmgcc/x86_64-unknown-netbsd4.99.72/bin/
-B/home/cato/llvmgcc/x86_64-unknown-netbsd4.99.72/lib/ -isystem
/home/cato/llvmgcc/x86_64-unknown-netbsd4.99.72/include -isystem
/home/cato/llvmgcc/x86_64-unknown-netbsd4.99.72/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./../intl
-I../../llvm-gcc-4.2/gcc/../libcpp/include
-I../../llvm-gcc-4.2/gcc/../libdecnumber -I../libdecnumber
-I/usr/local/tmp/llvm081004/build/include
-I/usr/local/tmp/llvm081004/llvm/include -DL_popcountsi2 -fvisibility=hidden
-DHIDE_EXPORTS -c ../../llvm-gcc-4.2/gcc/libgcc2.c -o libgcc/./_popcountsi2.o
assertion "V == V2 && "Didn't find key?"" failed: file
"/usr/local/tmp/llvm081004/llvm/lib/Support/StringMap.cpp", line 177, function
"void llvm::StringMapImpl::RemoveKey(llvm::StringMapEntryBase*)"
../../llvm-gcc-4.2/gcc/libgcc2.c:809: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
(btw. shouldn't it point me to http://llvm.org/bugs/ instead?)
The ICE can be reproduced by the slightly simplified attached file.
I configured/built llvm as:
../llvm/configure --prefix=/home/kristerw/llvm
gmake ENABLE_OPTIMIZED=1
and llvm-gcc as:
../llvm-gcc-4.2/configure --program-prefix=llvm-
--prefix=/home/kristerw/llvmgcc --enable-languages="c,c++" --enable-checking
--enable-llvm=/usr/local/tmp/llvm081004/build --disable-bootstrap
--disable-multilib
gmake
The failure was introduced by revision 55063
(http://llvm.org/viewvc/llvm-project?view=rev&revision=55063)
--
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