[LinuxBIOS] Possible stack protect solutions

ron minnich rminnich at gmail.com
Thu Dec 20 18:27:38 CET 2007

On Dec 19, 2007 9:53 AM, Jordan Crouse <jordan.crouse at amd.com> wrote:

> So I offer these two possible solutions.  One is a patch to buildrom that
> changes how we pass in the -fno-stack-protect flag (thanks to Marc for
> the patch).  The other is a patch to LinuxBIOS itself to fix the actual
> problem and pass $(CPU_OPT) where appropriate in the mainboard Config.lb
> files.

Use this patch. fix it at the source. Fix ALL boards. This would help
lots of people.

But CPU_OPT is a non-obvious name for something that fixes
-fno-stack-protector. That's the only problem I can see.

We can then fix buildtarget to set CPU_OPT as needed, and fix it from
that side too.


More information about the coreboot mailing list