[hjl@gnu-cfl-2 tmp]$ cat x.c #include <stdio.h> int main () { printf ("hello\n"); return 0; } [hjl@gnu-cfl-2 tmp]$ gcc -flto -c x.c -fcf-protection [hjl@gnu-cfl-2 tmp]$ gcc x.o -Wl,-z,cet-report=error -fcf-protection [hjl@gnu-cfl-2 tmp]$ gcc -flto -c x.c -g [hjl@gnu-cfl-2 tmp]$ gcc x.o -Wl,-z,cet-report=error -fcf-protection -g /usr/local/bin/ld: /tmp/cchkKahV.debug.temp.o: error: missing IBT and SHSTK properties collect2: error: ld returned 1 exit status [hjl@gnu-cfl-2 tmp]$
The command line is [hjl@gnu-hsw-1 tmp]$ gcc -flto -c x.c -fcf-protection -g [hjl@gnu-hsw-1 tmp]$ gcc x.o -Wl,-z,cet-report=error -fcf-protection -g /usr/local/bin/ld: /tmp/ccXg74Q6.debug.temp.o: error: missing IBT and SHSTK properties collect2: error: ld returned 1 exit status [hjl@gnu-hsw-1 tmp]$
Should be fixed in gcc-10.0.1-0.9.fc{32,33}, the f32 version hasn't finished building yet.
I can confirm that the systmd case in #1798776 is fixed with gcc-10.0.1-0.9.fc33.
FEDORA-2020-d927e07eb1 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d927e07eb1
annobin-9.06-4.fc32, gcc-10.0.1-0.9.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d927e07eb1
annobin-9.06-4.fc32, gcc-10.0.1-0.9.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.