x86_64-pc-linux-gnu-gcc -E -traditional head.S -o head.s x86_64-pc-linux-gnu-gcc -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o reloc.o reloc.c x86_64-pc-linux-gnu-gcc -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o main.o main.c x86_64-pc-linux-gnu-gcc -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-strict-overflow -m32 -c -o test.o test.c cc1: error: ‘-fcf-protection’ is not compatible with this target cc1: error: ‘-fcf-protection’ is not compatible with this target make: *** [<builtin>: reloc.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [<builtin>: main.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20211129-110018 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.56.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit cd246c6c8ecb1139c354f9fac102d4d08a09d205 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Dec 2 23:21:39 2021 +0000 2021-12-02 23:21:37 UTC emerge -qpvO sys-apps/memtest86+ [ebuild N ] sys-apps/memtest86+-5.31b-r1 USE="boot iso (-floppy) -serial"
Created attachment 757265 [details] emerge-info.txt
Created attachment 757266 [details] emerge-history.txt
Created attachment 757267 [details] environment
Created attachment 757268 [details] etc.portage.tar.bz2
Created attachment 757269 [details] sys-apps:memtest86+-5.31b-r1:20211202-235638.log
Created attachment 757270 [details] temp.tar.bz2
Mentioned on IRC but think this is a bug in the patch I added to enable CET. Will fix.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=10c0905feadc59bdd449f189df75c9093a27e038 commit 10c0905feadc59bdd449f189df75c9093a27e038 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-07 19:22:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-07 20:06:20 +0000 11.3.0: update CET patch to disable on 32-bit / missing CMOV Bug: https://bugs.gentoo.org/828081 Bug: https://bugs.gentoo.org/827880 Bug: https://bugs.gentoo.org/827905 Bug: https://bugs.gentoo.org/777117 Signed-off-by: Sam James <sam@gentoo.org> 11.3.0/gentoo/26_all_enable-cet.patch | 19 ++++++++++--------- 11.3.0/gentoo/README.history | 2 +- 2 files changed, 11 insertions(+), 10 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ea13f0cc404136e28f91943ee06a9187b0b939 commit 06ea13f0cc404136e28f91943ee06a9187b0b939 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-07 20:07:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-07 20:08:27 +0000 sys-devel/gcc: fix (disable) CET for x86 / no CMOV Opting not to revbump for now as the number of people with USE=hardened && USE=cet on < i686 seems quite small; we can revisit this if necessary though. This also fixes build failures in some cases on < i686 in the same environment aforementioned. Bug: https://bugs.gentoo.org/828081 Bug: https://bugs.gentoo.org/827880 Bug: https://bugs.gentoo.org/827905 Bug: https://bugs.gentoo.org/777117 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 2 +- sys-devel/gcc/gcc-11.2.1_p20211127.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
*** This bug has been marked as a duplicate of bug 827880 ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=34cc4c2a7c835b5787ab1cd5d22ed72e3be2132b commit 34cc4c2a7c835b5787ab1cd5d22ed72e3be2132b Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-09 02:40:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-18 22:00:28 +0000 11.3.0: update CET patch to disable on 32-bit / missing CMOV, deux Bug: https://bugs.gentoo.org/828546 Bug: https://bugs.gentoo.org/828549 Bug: https://bugs.gentoo.org/828081 Bug: https://bugs.gentoo.org/827880 Bug: https://bugs.gentoo.org/827905 Bug: https://bugs.gentoo.org/777117 Signed-off-by: Sam James <sam@gentoo.org> 11.3.0/gentoo/26_all_enable-cet.patch | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c2f6c4fb228ddc7b17698673fbf80400a452e9 commit 58c2f6c4fb228ddc7b17698673fbf80400a452e9 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-18 22:01:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-18 22:03:06 +0000 sys-devel/gcc: switch patchset version for 11.2.1_p20211127 for CET fixes If hitting related issues before this, please try emerge -v1 sys-devel/gcc. Doesn't seem to have affected many people at all (just tinderbox?) so not worth a revbump (at this point, anyway). Also includes fix for i486 CET (unrelated). Closes: https://bugs.gentoo.org/828546 Closes: https://bugs.gentoo.org/828549 Closes: https://bugs.gentoo.org/828081 Closes: https://bugs.gentoo.org/827880 Closes: https://bugs.gentoo.org/827905 Closes: https://bugs.gentoo.org/777117 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 2 +- sys-devel/gcc/gcc-11.2.1_p20211127.ebuild | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)