[llvm-dev] [llvm-3.8.1] /usr/bin/objcopy: unrecognized option '--extract-dwo'
David Blaikie via llvm-dev
llvm-dev at lists.llvm.org
Mon Jul 25 08:08:45 PDT 2016
On Sun, Jul 24, 2016 at 8:59 AM Sedat Dilek via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I am still struggling with my optimized/speedup build of llvm-toolchain
> Here: Enable LTO, PGO, optimized-TableGen, split-DWARF and build with
> GNU/gold and LLVMgold-plugin.
> The objcopy (binutils v2.22) here on Ubuntu/precise AMD64 does not
> support '--extract-dwo'.
> My build fails with... /usr/bin/objcopy: unrecognized option
> Now, I did a full build of binutils v2.26.1 and using its binaries.
> Is it possible to embed a test if objcopy is able to perform
> ( I cannot say which of the speedup options require this option. )
split-DWARF requires objcopy's --extract-dwo. If your tools don't support
it, turn off split DWARF & you should be fine.
> - Sedat -
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev