[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    Re: trying to re-build userland 5.0.1 with ssp.
From:       christos () astron ! com (Christos Zoulas)
Date:       2009-08-31 0:02:48
Message-ID: h7f3v8$1p9$1 () ger ! gmane ! org
[Download RAW message or body]

In article <3dc350d00908301619i4a495333wf2264d4fb1372100@mail.gmail.com>,
Michael Litchard  <michael@schmong.org> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic