bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29226] gcc -fcf-protection option causes GCC 12 gccgo build to f


From: jason.vas.dias at gmail dot com
Subject: [Bug ld/29226] gcc -fcf-protection option causes GCC 12 gccgo build to fail : "failed to match split-stack sequence"
Date: Sun, 05 Jun 2022 17:06:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29226

--- Comment #11 from Jason Vas Dias <jason.vas.dias at gmail dot com> ---
Hmm, close but no cigar - the test suite now bombs out at :

`echo g++ -W -Wall    -Wstack-usage=262144 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fmerge-constants -O2 -flto=auto -ffat-lto-objects
-fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection    
-fno-use-linker-plugin  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -Wl,--enable-new-dtags -o
copy_test_2.so | sed -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir\/\2/' -e
's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -shared copy_test_2_pic.o
  CXXLD    copy_test
gcctestdir/collect-ld: error: /tmp/cch1aq9d.ltrans0.ltrans.o: cannot make copy
relocation for protected symbol 'ip', defined in copy_test_2.so
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]