Comment 18 for bug 1776616

Revision history for this message
Guy Rouillier (guy-rouillier) wrote :

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