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

           Summary: llvm-gcc miscompiles crtbegin.o on i386-pc-solaris*
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: minor
          Priority: P2
         Component: llvm-gcc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Created an attachment (id=1796)
 --> (http://llvm.org/bugs/attachment.cgi?id=1796)
Disassembly of crtbegin.o compiled with llvm-gcc

Currently (since at least LLVM 2.2) under i386-pc-solaris, llvm-gcc produces a
crtbegin.o that crashes immediately on startup. As a side effect, this also
means that the gcc build fails as it cannot create working executables.

Attached disassembly of bad (llvm) and good (gcc) crtbegin.o, as well as the
preprocessed source. The actual crash is in frame_dummy at 7c: cmpl $0x0, 0x0.
It looks to me like llvm-gcc is ignoring the -fPIC, which may or may not be the
cause of the problem


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to