https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93966

--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 2 Mar 2020, hjl.tools at gmail dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93966
> 
> H.J. Lu <hjl.tools at gmail dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|---                         |FIXED
> 
> --- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
> (In reply to Richard Biener from comment #3)
> > Isn't this a linker bug?  There's no code sections in the debug object.
> 
> This is a good question.
> 
> > Also you need to provide -fcf-protection at compile-time as well, not
> > only at link-time (technically only at compile-time).  Otherwise success
> > is not guaranteed.
> 
> That is correct.
> 
> > I'm not aware why it should work with GCC 8 btw.
> 
> It is because GCC 8 doesn't have early LTO debug.

It does but section copying has been made more explicit about notes
only in GCC 9 it seems.

Reply via email to