NetBSD-Users archive

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

Re: trying to re-build userland 5.0.1 with ssp.



In article 
<3dc350d00908301619i4a495333wf2264d4fb1372100%mail.gmail.com@localhost>,
Michael Litchard  <michael%schmong.org@localhost> wrote:
>This worked once before, not sure what I'm missing this time around.
>I've included the begining of a long list of complaints, and my /etc/mk.conf.
>
>The build command is verbatim from the docs. I did some googling and
>could only find reference to -fstack-protector-all,
>with no reference to my particular problem. A solution, or being
>pointed in the right direction would be greatly appreciated.
>
>USE_SSP=yes
>MKMANZ=yes
>USE_YP=no
>USE_CPUFLAGS=yes
>CFLAGS+=        -fstack-protector-all

Delete the last line. You are not supposed to set CFLAGS like because you
are going to stack-protect the standalone code and it will fail to link
like it did.

christos



Home | Main Index | Thread Index | Old Index