Re: Another possible LTO failure in guestfish (or maybe readline)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2020-08-01 at 12:34 +0100, Richard W.M. Jones wrote:
> 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
Yes, that's by design.  Conceptually the compiler doesn't really know that the
pragma refers to any particular function since they don't appear in any function
scope.   ASMs outside function scope have similar issues.

You could try moving the pragmas into function scope.  I've had some success with
that, but not as much as I'd like.  SuSE just disables all the warnings except
those which are emitted by the front-end.  I think that's a long term mistake,
but I don't have much influence over that decision.


Jeff
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux