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

Reply via email to