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: unassignedb...@nondot.org
Reporter: schaub.johan...@googlemail.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs