Stages seem to contain /usr/libexec/gcc/x86_64-pc-linux-gnu/ld and friends binutils symlinks. This is problematic because GCC will look there first and ignore whatever binutils-config modifies ld and such to point to in the usual locations. An older install of mine doesn't have them, but an install from June 2nd does. I verified the symlinks are present in stage3-amd64-desktop-systemd-20240721T164902Z.tar.xz.
commit bf4b9fcbb4ce432731ac90fbbb3bcf73beb51820 (HEAD -> master, tag: v5.5.2, origin/master, origin/HEAD) Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Sun Jul 28 16:24:28 2024 +0200 Fix test for broken symlinks (-e is false, -h is true) Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> commit 93501357fa01314bb5c7893a6fc38f927f135a96 (tag: v5.5.1) Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Fri Jul 26 22:51:50 2024 +0200 Remove bad binutils symlinks in /usr/libexec/gcc/${HOST}/ Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> commit d26221d21a851f84a639b44477f6dd94056a7058 Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Fri Jul 26 22:34:47 2024 +0200 Print error message on empty determined CHOST No error exit yet, until we've fixed our problems. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
commit 994a7ab88b9b440c7db756531ffe62ad50e78602 Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Sun Jul 28 19:13:05 2024 +0200 sys-devel/binutils-config: keyword 5.5.2 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> commit ac99e284d7bc643dce0713bad2b9a399ac045cac Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Sun Jul 28 16:31:59 2024 +0200 sys-devel/binutils-config: add 5.5.2, drop 5.5.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> commit 9a23794a3dc75c2248fbb6546b6428480fb91ead Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Sun Jul 28 15:41:32 2024 +0200 sys-devel/binutils: Detect and log binutils-config errors. Eventually we want to act on them... Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> commit 4b7cc82cc54c61b3c2da17ff584c301cf2fecc63 Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Sun Jul 28 15:04:32 2024 +0200 sys-devel/binutils-config: add 5.5.1 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>