[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:

> Hi,
>
> I am still struggling with my optimized/speedup build of llvm-toolchain
> v3.8.1.
> 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
> '--extract-dwo'.
>
> 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
> '--extract-dwo'?
> ( 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.

- Dave


>
> Thanks.
>
> Regards,
> - Sedat -
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160725/701d663b/attachment.html>


More information about the llvm-dev mailing list