Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: halma on January 31, 2019, 09:19:35 PM

Title: You are building kernel with non-retpoline compiler, please update your compiler
Post by: halma on January 31, 2019, 09:19:35 PM
Hi,

id like to compile the TC10.x Kernel on TC9.x x64 but i get this message while i try to compile:
Code: [Select]
You are building kernel with non-retpoline compiler, please update your compiler..someone knows how to fix that ?

Thanks
Halma
Title: Re: You are building kernel with non-retpoline compiler, please update your compiler
Post by: Rich on January 31, 2019, 09:24:23 PM
Hi halma
See if this thread helps you:
http://forum.tinycorelinux.net/index.php/topic,22398.msg140233.html#msg140233
Title: Re: You are building kernel with non-retpoline compiler, please update your compiler
Post by: halma on January 31, 2019, 09:51:27 PM
Hi Rich,

 sorry that doesnt helped me.
i trying now the patch for the arch/x86/Makefile from here
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=25896d073d8a0403b07e6dec56f58e6c33678207 (https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=25896d073d8a0403b07e6dec56f58e6c33678207)
and disabled the "CONFIG_RETPOLINE=n"

lets see compiling is now running ... have to wait till its done -
Title: Re: You are building kernel with non-retpoline compiler, please update your compiler
Post by: halma on January 31, 2019, 11:56:05 PM
compiling 10.x kernel on a TC 9.x x64 with gcc7.2.0 works now...

Thanks