[LLVMbugs] [Bug 2516] New: llvm-gcc miscompiles crtbegin.o on i386-pc-solaris*
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jul 3 20:15:02 PDT 2008
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: unassignedbugs at nondot.org
ReportedBy: Nathan.Keynes at sun.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list