On Mon, Aug 03, 2020 at 05:01:18PM +0200, Florian Weimer wrote:
> * Daniel P. Berrangé:
> 
> > Disabling LTO in the RPM spec confirms this and makes things pass
> > again. Hacking the makefiles to remove the -fno-lto option when
> > building the test suite binaries also fixes things.
> >
> > I don't see any mention of LD_PRELOAD being impacted by LTO in the
> > Fedora feature change page, but I can imagine how it would be.
> 
> LTO should still export the same functions as before, and should not
> imply -fno-semantic-interposition by default.  The linker plugin
> provides the necessary information to GCC.  What you are observing could
> be the result of a toolchain bug.

Yeah (unless it is Clang which only supports -fno-semantic-interposition and
not anything else.  LD_PRELOAD will simply not work with it).

        Jakub
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to