I tried the bisect procedure, but failed to build a kernel. First, the provided link won't work:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
This repo only contains major releases. To get minor releases, this link is necessary:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
In the step "make localmodconfig", I accepted all the default config values, because I'm assuming that is what produces the published kernels.
When I attempted to build the kernel, I got the following:
guyr@tosh:/data/ubuntu_mainline_kernel/linux-minor$ make -j2 deb-pkg arch/x86/Makefile:133: stack-protector enabled but compiler support broken Makefile:666: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler CHK include/config/kernel.release UPD include/config/kernel.release make clean TAR linux-4.5.0.tar.gz make KBUILD_SRC= arch/x86/Makefile:133: stack-protector enabled but compiler support broken Makefile:666: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c SYSHDR arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h SYSHDR arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h HYPERCALLS arch/x86/entry/syscalls/../../include/generated/asm/xen-hypercalls.h SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h CHK include/config/kernel.release WRAP arch/x86/include/generated/asm/clkdev.h WRAP arch/x86/include/generated/asm/cputime.h WRAP arch/x86/include/generated/asm/dma-contiguous.h WRAP arch/x86/include/generated/asm/early_ioremap.h WRAP arch/x86/include/generated/asm/mcs_spinlock.h WRAP arch/x86/include/generated/asm/mm-arch-hooks.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CC scripts/mod/empty.o cc1: error: code model kernel does not support PIC mode SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h scripts/Makefile.build:258: recipe for target 'scripts/mod/empty.o' failed make[4]: *** [scripts/mod/empty.o] Error 1 scripts/Makefile.build:407: recipe for target 'scripts/mod' failed make[3]: *** [scripts/mod] Error 2 Makefile:551: recipe for target 'scripts' failed make[2]: *** [scripts] Error 2 make[2]: *** Waiting for unfinished jobs.... SYSHDR arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h scripts/package/Makefile:91: recipe for target 'deb-pkg' failed make[1]: *** [deb-pkg] Error 2 Makefile:1238: recipe for target 'deb-pkg' failed make: *** [deb-pkg] Error 2
I tried the bisect procedure, but failed to build a kernel. First, the provided link won't work:
git clone git://git. kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git
This repo only contains major releases. To get minor releases, this link is necessary:
git://git. kernel. org/pub/ scm/linux/ kernel/ git/stable/ linux.git
In the step "make localmodconfig", I accepted all the default config values, because I'm assuming that is what produces the published kernels.
When I attempted to build the kernel, I got the following:
guyr@tosh: /data/ubuntu_ mainline_ kernel/ linux-minor$ make -j2 deb-pkg Makefile: 133: stack-protector enabled but compiler support broken CC_STACKPROTECT OR_STRONG: -fstack- protector- strong not supported by compiler config/ kernel. release config/ kernel. release Makefile: 133: stack-protector enabled but compiler support broken CC_STACKPROTECT OR_STRONG: -fstack- protector- strong not supported by compiler entry/syscalls/ ../../include/ generated/ asm/syscalls_ 32.h basic/fixdep entry/syscalls/ ../../include/ generated/ asm/unistd_ 32_ia32. h entry/syscalls/ ../../include/ generated/ asm/unistd_ 64_x32. h entry/syscalls/ ../../include/ generated/ asm/syscalls_ 64.h entry/syscalls/ ../../include/ generated/ asm/xen- hypercalls. h entry/syscalls/ ../../include/ generated/ uapi/asm/ unistd_ 32.h config/ kernel. release include/ generated/ asm/clkdev. h include/ generated/ asm/cputime. h include/ generated/ asm/dma- contiguous. h include/ generated/ asm/early_ ioremap. h include/ generated/ asm/mcs_ spinlock. h include/ generated/ asm/mm- arch-hooks. h generated/ uapi/linux/ version. h generated/ uapi/linux/ version. h generated/ utsrelease. h generated/ utsrelease. h entry/syscalls/ ../../include/ generated/ uapi/asm/ unistd_ 64.h Makefile. build:258: recipe for target 'scripts/ mod/empty. o' failed mod/empty. o] Error 1 Makefile. build:407: recipe for target 'scripts/mod' failed entry/syscalls/ ../../include/ generated/ uapi/asm/ unistd_ x32.h package/ Makefile: 91: recipe for target 'deb-pkg' failed
arch/x86/
Makefile:666: Cannot use CONFIG_
CHK include/
UPD include/
make clean
TAR linux-4.5.0.tar.gz
make KBUILD_SRC=
arch/x86/
Makefile:666: Cannot use CONFIG_
SYSTBL arch/x86/
HOSTCC scripts/
HOSTCC scripts/basic/bin2c
SYSHDR arch/x86/
SYSHDR arch/x86/
SYSTBL arch/x86/
HYPERCALLS arch/x86/
SYSHDR arch/x86/
CHK include/
WRAP arch/x86/
WRAP arch/x86/
WRAP arch/x86/
WRAP arch/x86/
WRAP arch/x86/
WRAP arch/x86/
CHK include/
UPD include/
CHK include/
UPD include/
CC scripts/mod/empty.o
cc1: error: code model kernel does not support PIC mode
SYSHDR arch/x86/
scripts/
make[4]: *** [scripts/
scripts/
make[3]: *** [scripts/mod] Error 2
Makefile:551: recipe for target 'scripts' failed
make[2]: *** [scripts] Error 2
make[2]: *** Waiting for unfinished jobs....
SYSHDR arch/x86/
scripts/
make[1]: *** [deb-pkg] Error 2
Makefile:1238: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Error 2