[llvm-bugs] [Bug 35854] New: LLD can't cope with unaligned relocation sections as generated by ICC
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 8 02:17:47 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35854
Bug ID: 35854
Summary: LLD can't cope with unaligned relocation sections as
generated by ICC
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: schaub.johannes at googlemail.com
CC: llvm-bugs at lists.llvm.org
I would like to raise this as a feature request for compatibility with GNU LD:
LD supports unaligned sections in object files, which are created at least by
the Intel ICC compiler and prevents us to adopt LLD in our build.
ld: error: .../_moc_mainwindow.o: unaligned data
Further investigation shows
~/usr/bin/llvm-readelf -relocations _moc_mainwindow.o
Relocation section '.rel.data' at offset 0x2546f contains 1 entries:
Offset Info Type Sym. Value Symbol's Name
Error reading file: unaligned data
.
This works with GNU LD and GNU GOLD
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180108/ae5b3616/attachment-0001.html>
More information about the llvm-bugs
mailing list