https://sourceware.org/bugzilla/show_bug.cgi?id=29226
--- Comment #1 from Jason Vas Dias <jason.vas.dias at gmail dot com> --- Also, doing this, as root, solves the problem: $ cd /usr/local/bin $ mv ld not-ld $ ln -s /opt/rh/gcc-toolset-11/root/usr/bin/ld ld So this is why I raised the bug against binutils 2.38 in the first instance - it DOES NOT happen with ld 2.35 , ie. WITH '-fcf-protection' ld 2.35 handles the same command line fine. So this IS a bug with ld v2.38, and a regression, OR the RedHat distro maintainers have somehow messed up ld v2.38 with their patches... Investigating ... -- You are receiving this mail because: You are on the CC list for the bug.