1 |
Am 11.09.18 um 11:48 schrieb Stefan G. Weichinger: |
2 |
|
3 |
> Right now I always get this when I run "make bzImage" ( |
4 |
> |
5 |
> # make bzImage |
6 |
> CHK include/config/kernel.release |
7 |
> CHK include/generated/uapi/linux/version.h |
8 |
> CHK include/generated/utsrelease.h |
9 |
> CC kernel/bounds.s |
10 |
> kernel/bounds.c:1:0: error: code model kernel does not support PIC mode |
11 |
> /* |
12 |
> |
13 |
> make[1]: *** [Kbuild:44: kernel/bounds.s] Error 1 |
14 |
> make: *** [Makefile:990: prepare0] Error 2 |
15 |
> |
16 |
> Why? |
17 |
> Because the gcc has flags enabled? |
18 |
> |
19 |
> I googled but klibc-related stuff doesn't seem to apply here. |
20 |
> |
21 |
> I am not insisting on hardened profile but want to avoid bigger issues |
22 |
> when switching profiles without thinking ... |
23 |
|
24 |
|
25 |
I managed to compile a 4.9.95 after "make localmodconfig". Maybe that |
26 |
would help with the other kernels as well. |