[LLVMbugs] [Bug 4628] New: clang doesn't support '-mcmodel=kernel'
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Jul 26 10:32:03 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4628
Summary: clang doesn't support '-mcmodel=kernel'
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: pawel.worach at gmail.com
CC: llvmbugs at cs.uiuc.edu
Blocks: 3696
The FreeBSD kernel needs support for -mcmodel=kernel as of recent clang/llvm
ToT.
Currently linking dies with:
linking kernel.debug
cam.o(.text+0x62e): In function `cam_error_string':
/usr/src/sys/cam/cam.c:265: relocation truncated to fit: R_X86_64_32
.rodata.str1.1
cam.o(.text+0x6a8):/usr/src/sys/cam/cam.c:288: relocation truncated to fit:
R_X86_64_32 .rodata.str1.1
cam.o(.text+0x6d2):/usr/src/sys/cam/cam.c:291: relocation truncated to fit:
R_X86_64_32 .rodata.str1.1
cam.o(.text+0x755):/usr/src/sys/cam/cam.c:309: relocation truncated to fit:
R_X86_64_32 .rodata.str1.1
cam.o(.text+0x890): In function `cam_error_print':
/usr/src/sys/cam/cam.c:344: relocation truncated to fit: R_X86_64_32
.rodata.str1.1
...
--
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