https://bugs.llvm.org/show_bug.cgi?id=34189
Bug ID: 34189
Summary: archive libraries larger than 4G get bad archive
symbol table entries
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Object
Assignee: unassignedb...@nondot.org
Reporter: rol...@hack.frob.com
CC: llvm-bugs@lists.llvm.org, pho...@chromium.org
The traditional archive symbol table format uses 32-bit offsets into the
archive. This obviously breaks down when the offset to some member is >=4G.
GNU ar/ranlib detects the situation and switches to the "/SYM64/" format for
the archive symbol table, which is just the same format but with 64-bit
offsets.
llvm-ar silently writes an archive with a bogus archive symbol table when its
output file contains a member that starts at >=4G.
AFAICT lld and other tools do not grok the "/SYM64/" format in their inputs.
--
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