Bug 32064 - ssp tests can't find libssp
Summary: ssp tests can't find libssp
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: patch
: 28242 32932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-24 06:23 UTC by H.J. Lu
Modified: 2021-10-29 01:35 UTC (History)
6 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2010-05-21 09:11:39


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2007-05-24 06:23:46 UTC
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.
Comment 1 H.J. Lu 2007-07-30 20:23:57 UTC
*** Bug 32932 has been marked as a duplicate of this bug. ***
Comment 2 H.J. Lu 2007-07-30 23:04:37 UTC
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2007-07/msg02151.html
Comment 3 Rob 2009-01-12 13:58:39 UTC
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
Comment 4 H.J. Lu 2010-05-21 01:53:20 UTC
*** Bug 28242 has been marked as a duplicate of this bug. ***
Comment 5 Rainer Orth 2010-05-21 09:11:39 UTC
Still an issue, e.g. on Solaris 11.
Comment 6 H.J. Lu 2010-05-21 21:16:23 UTC
(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.
Comment 7 Eric Gallager 2018-06-10 04:11:17 UTC
(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...