On Fri, Jul 31, 2020 at 05:32:34PM -0600, Jeff Law wrote:
On Fri, 2020-07-31 at 19:26 +0100, Richard W.M. Jones wrote:
> On Fri, Jul 31, 2020 at 12:02:22PM -0600, Jeff Law wrote:
> > Looks like it's in the buildroots now. Let me know if that doesn't fix
the
> > problem.
>
> Looks as if "ar" is segfaulting again ...
>
>
https://koji.fedoraproject.org/koji/taskinfo?taskID=48288440
>
https://kojipkgs.fedoraproject.org//work/tasks/8440/48288440/build.log
>
> That was built with binutils 2.35-8.fc33
Just an FYI binutils-2.35-9 is in the buildroots. It's got the fix for the LTO
issue, but does not turn on LTO for binutils itself (that'll be in the -10
build).
I've confirmed that the -9 build will correctly build binutils-2.35-10. I've
also confirmed that the -9 build will correctly build libguestfs.
I'm going to take my local -10 build and use that to build libguestfs as an
additional sanity check.
Can confirm that libguestfs has been built correctly and is working (with LTO).
FYI I filed this bug about LTO and inheriting warnings in functions
inlined across files:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96407
Rich.
jeff
ps. I found out why SuSE didn't stumble on these issues. They disabled LTO in
binutils. Their ChangeLog says it's just the testsuite, but the implementation
is for the entire build. I suspect they probably have a few packages that are
either silently broken or where they've turned off LTO due to failures without a
real root-cause-analysis.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org