bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28844] ld (bfd) segfaults on building efivar-38 with -flto


From: nickc at redhat dot com
Subject: [Bug ld/28844] ld (bfd) segfaults on building efivar-38 with -flto
Date: Mon, 31 Jan 2022 12:00:26 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28844

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Sam James from comment #2)
> Please tell me if I can extract more useful information & how.

Normally if you add "-v" to the gcc command line, you will get the linker
command line displayed and you can use that to help isolate the problem. 
(Possibly adding "--save-temps" as well).  With LTO however things get rather
messy.

Given that this problem does only occur when LTO is being used, the obvious
suspect is the lto plugin itself.  So you may get some useful output by
adding "-Wl,-plugin-opt=-debug" to command line.   

Cheers
  Nick

PS.  Which versions of gcc and the binutils are you using ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]