[llvm-bugs] [Bug 34189] New: archive libraries larger than 4G get bad archive symbol table entries
llvm-bugs at lists.llvm.org
Mon Aug 14 17:55:37 PDT 2017
Bug ID: 34189
Summary: archive libraries larger than 4G get bad archive
symbol table entries
Assignee: unassignedbugs at nondot.org
Reporter: roland at hack.frob.com
CC: llvm-bugs at lists.llvm.org, phosek at 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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs