On 4/23/19 2:59 PM, Thomas K?nig wrote:
Hi,
there can be an issue with recent gcc where the system-installed "ar"
and "ranlib" commands cannot handle LTO binaries.? On compilation, this
manifests itself with error messages claiming that they need extra
plugins.
Thanks for the report. What was the version of binutils on the system
with this problem? On my Ubuntu 18.04 I can use the binutils version of
"ar" and "ranlib" with --enable-lto without problems.? I read that with
recent binutils (2.25?), the LTO plugin should be loaded automatically,
so one does not have to use the wrappers anymore.