kernel-package should compile a kernel with -fno-stack-protector in edgy
Bug #52625 reported by
Michael Bienia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kernel-package (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
gcc-4.1 in edgy has now -fstack-protector on by default. Today I tried to compile a kernel and failed. It looked like it couldn't find the stack protector functions / library.
I had to add -fno-stack-
So either add -fno-stack-
To post a comment you must log in.
kernel-package does not choose compile time options. This is the responsibility of the kernel. There is a patch in recent kernels that includes -fno-stack- protector, and the Ubuntu kernel itself supports this aswell.
To avoid it, install gcc-4.0, and set CC=gcc-4.0. Or add the flags manually to the kernel Makefile.