Step 1:
scripts/config --disable CC_STACKPROTECTOR_STRONG
Step 2:
From
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8-rc2/0002-UBUNTU-SAUCE-no-
up-disable-pie-when-gcc-has-it-enabl.patch
The following seems to solve some problems:
diff --git a/Makefile b/Makefile
index 5c18baa..e342473 100
I am on
$ uname -a
Linux bldkrnl 4.7.0-1-amd64 #1 SMP Debian 4.7.8-1 (2016-10-19) x86_64
GNU/Linux
I am trying to build kernel 4.8.5 or 4.8.4 from kernel.org. I was able to
get it building a few days ago. Seems the recent gcc version changes
something.
In following previous entries in this tick
these appear to be at
https://01.org/sites/default/files/downloads/intelr-graphics-linux/sklgucver61.tar.bz2
https://01.org/sites/default/files/downloads/intelr-graphics-linux/kbldmcver101.tar.bz2
what package do they properly belong in?
On Tue, Oct 25, 2016 at 3:46 PM, Konstantin Demin wrote:
>>> But does this generate the same output as without -enable-default-pie?
>>> Some parts of the kernel do use -fpic or -fPIC. Which directive prevails?
>
> If you call gcc with "-O3 -O0 -O1", only "-O1" option is make sence.
> See attachmen
As just a data point, when -march=i686, the kernel builds and seems to
work well using 6.2.0-10 and with no patches to Makefile at all.
On 10/29/2016 10:24 AM, Oswald Buddenhagen wrote:
-no-pie is not a useful option here, because it's passed to the _linker_
only.
i got it to build with this
-no-pie is not a useful option here, because it's passed to the _linker_
only.
i got it to build with this minimal patch:
--- a/Makefile
+++ b/Makefile
@@ -400,5 +400,5 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs \
-Werror-implicit-function-declarati
6 matches
Mail list logo