[llvm-dev] [llvm-3.8.1] /usr/bin/objcopy: unrecognized option '--extract-dwo'

Sedat Dilek via llvm-dev llvm-dev at lists.llvm.org
Sun Jul 24 08:58:55 PDT 2016


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. )

Thanks.

Regards,
- Sedat -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_llvm-toolchain.sh
Type: application/x-sh
Size: 6896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160724/85680f8b/attachment.sh>


More information about the llvm-dev mailing list