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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to rguent...@suse.de from comment #7)
> > 
> > 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.

GCC 8 has the same bug:

[hjl@gnu-cfl-2 tmp]$ /usr/gcc-8.2.1-x32/bin/gcc -flto -c -fcf-protection x.c -g
[hjl@gnu-cfl-2 tmp]$ /usr/gcc-8.2.1-x32/bin/gcc -flto -Wl,-z,cet-report=error
-fcf-protection x.o -g
/usr/local/bin/ld: /tmp/cc6vezl6debugobj: error: missing IBT and SHSTK
properties
collect2: error: ld returned 1 exit status
[hjl@gnu-cfl-2 tmp]$

Reply via email to