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

           Summary: llvm-gcc internal compiler error on cross-compiler
                    libraries build
           Product: libraries
           Version: 2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Global Analyses
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
   Estimated Hours: 0.0


Created an attachment (id=4262)
 --> (http://www.llvm.org/bugs/attachment.cgi?id=4262)
eglibc csu build

Internal llvm-gcc compiler error during cross-compiler libraries (eglibc)
build.

sources/llvm/lib/Analysis/DebugInfo.cpp:63: static bool
llvm::DIDescriptor::ValidDebugInfo(llvm::Value*, llvm::CodeGenOpt::Level):
Assertion `DISubprogram(GV).Verify() && "Invalid DebugInfo value"' failed.
<stdin>:18: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.

Conditions:
1. compiler input is using pipe
2. flag -g is passed
3. 1st phase of cross-compiler llvm-gcc build (configure without headers, no
any libc built yet)

Command line:
cat eglibc_csu.c | llvm-gcc -o eglibc_csu.o -S -std=gnu99 -fgnu89-inline -O2 -g
-Wall -Winline -Wwrite-strings -fmerge-all-constants -march=i486
-Wstrict-prototypes -mpreferred-stack-boundary=4 -D_LIBC_REENTRANT
-DHAVE_INITFINI -x c - -MD -MP -O1

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to