Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Unable to build a BEAGLEBOARD kernel
On Thu, Oct 04, 2012 at 01:32:49AM +0000, Pierre Pronchery wrote:
> Hi,
>
> On Mon, 17 Sep 2012 12:13:33 -0400, Thor Lancelot Simon wrote:
> >
> > On Mon, Sep 17, 2012 at 08:01:19AM -0700, Matt Thomas wrote:
> >>
> >> There is no way to allocate things at this stage. If SSP can't deal
> >> with standard C99 usages, then SSP is broken.
> >
> > Well, it's not clear how it would protect such a function, since the
> > bounds of the stack can't be known a priori -- can they?
>
> I think Thor is right here.
>
> > The file containing this function, if it must work this way, could be
> > built with -Wno-stack-protector, I suppose.
>
> With the following change, I am able to compile an evbarm BEAGLEBOARD-
> based kernel again indeed:
[...]
> +
> +COPTS.arm32_kvminit.c+= -fno-stack-protector
Isn't there a -Wno-stack-protector? We don't want to disable the
stack protector for the entire source file unless we have to.
Thor
Home |
Main Index |
Thread Index |
Old Index