I got Executing on host: /export/build/gnu/gcc-isa/build-i686-linux/gcc/xgcc -B/export/build/gnu/gcc-isa/build-i686-linux/gcc/ stack_prot30163.c -fstack-protector -fno-show-column -lm -o stack_prot30163.x (timeout = 300) /usr/local/bin/ld: cannot find -lssp_nonshared^M collect2: ld returned 1 exit status^M compiler exited with status 1 output is: /usr/local/bin/ld: cannot find -lssp_nonshared^M collect2: ld returned 1 exit status^M UNSUPPORTED: gcc.dg/ssp-1.c The problem is my system doesn't come with libssp installed. Although gcc does build libssp, ssp tests aren't linked against the just built libssp.
*** Bug 32932 has been marked as a duplicate of this bug. ***
A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2007-07/msg02151.html
I built gcc version 4.4.0 20090111 (experimental) [trunk revision 143259] on i386-pc-solaris2.11 (OpenSolaris 2008.11) and while I do have libssp I do NOT have any Testsuite. Will those patches in the thread http://gcc.gnu.org/ml/gcc-patches/2007-07/msg02151.html be applied to the trunk soon ? Rob
*** Bug 28242 has been marked as a duplicate of this bug. ***
Still an issue, e.g. on Solaris 11.
(In reply to comment #5) > Still an issue, e.g. on Solaris 11. > You can try my patches from 2007 to see if they work for you.
(In reply to H.J. Lu from comment #6) > (In reply to comment #5) > > Still an issue, e.g. on Solaris 11. > > > > You can try my patches from 2007 to see if they > work for you. They're almost 11 years old by this point...