Subject: Re: problem with stack protector changes
To: None <>
From: Christos Zoulas <>
List: current-users
Date: 11/09/2006 16:48:33
In article <>,
Geoff Wing  <> wrote:
>Christos Zoulas <> typed:
>: In article <>,
>: Geoff Wing  <> wrote:
>:>src/gnu/dist/gcc4/gcc/gcc.c has (with TARGET_LIBC_PROVIDES_SSP defined):
>                                                                ^ not
>:>#define LINK_SSP_SPEC
>:>"%{fstack-protector|fstack-protector-all:-lssp_nonshared -lssp}"
>:>so we need libssp_nonshared.* somewhere or the line changed if the
>:>functionality is provided anyway.
>: No, make sure you rebuild the compiler.
>But the ssp functionality seems to be in libssp, not libc.  I'm confused.
>I'll look at it again later.
>So, do we now need the following change (or similar)?

Yes. This is true. The regression tests use fortify, so they need libssp.
I will fix it, thanks.