https://sourceware.org/bugzilla/show_bug.cgi?id=21479

--- Comment #7 from Sam James <sam at gentoo dot org> ---
(In reply to Sam James from comment #6)
> 
> strip is trying to do the right thing, and the LTO plugin claims the whole
> object, then -R can't do anything. --plugin=/dev/null doesn't help there
> when we have a archive .a instead of .o. Do we need a special option just
> for stripping LTO sections (rather than passing them as arbitrary strings)?
> (I don't need to strip arbitrary sections, just to strip out bytecode for
> LTO to make archives generic.)

LLVM has llvm-bitcode-strip for this which only strips bytecode.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to