[LLVMbugs] [Bug 1749] New: llvm-gcc internal error compiling ia32_signal.c

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Oct 28 12:57:06 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1749

           Summary: llvm-gcc internal error compiling ia32_signal.c
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Compiling ia32_signal.c with llvm gives an internal compiler error,

$ uname -a
Linux lightspeed2 2.6.23-rc8-hrt1-cfs-v22-g1bef7dc0-dirty #17 Sun Sep 30
18:49:34 EEST 2007 x86_64 GNU/Linux
$ llvm-gcc -emit-llvm -Wp,-MD,arch/x86/ia32/.ia32_signal.o.d  -nostdinc
-isystem
/home/edwin/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/include
-D__KERNEL__ -Iinclude  -include include/linux/autoconf.h  -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -O2  -march=k8 -m64 -mno-red-zone
-mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables
-funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-fomit-frame-pointer -g  -fno-stack-protector -Wdeclaration-after-statement
-Wno-pointer-sign -O5      -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(ia32_signal)" 
-D"KBUILD_MODNAME=KBUILD_STR(ia32_signal)" -c -o
arch/x86/ia32/.tmp_ia32_signal.o arch/x86/ia32/ia32_signal.c
cc1: TargetData.cpp:88: unsigned int
llvm::StructLayout::getElementContainingOffset(uint64_t) const: Assertion `(SI
== &MemberOffsets[0] || *(SI-1) < Offset) && (SI+1 ==
&MemberOffsets[NumElements] || *(SI+1) > Offset) && "Upper bound didn't work!"'
failed.
arch/x86/ia32/ia32_signal.c: In function ‘copy_siginfo_to_user32’:
arch/x86/ia32/ia32_signal.c:44: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.


Attaching preprocessed source...


-- 
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