Either using gentoo-sources or hardened-sources I encountered a compilation errors;
* Linux Kernel 3.14.5-hardened-r2 for x86_64...
* .. with config file /etc/kernels/kernel-config-x86_64-3.14.5-hardened-r2
* kernel: Using config from /etc/kernels/kernel-config-x86_64-3.14.5-hardened-r2
* Previous config backed up to .config--2014-07-11--00-19-34.bak
* kernel: >> Running mrproper...
* >> Running oldconfig...
* kernel: >> Cleaning...
* kernel: >> Invoking menuconfig...
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
* ERROR: Failed to compile the "prepare" target...
*
* -- Grepping log... --
*
* HOSTCC arch/x86/tools/relocs_32.o
* HOSTCC arch/x86/tools/relocs_64.o
* HOSTCC arch/x86/tools/relocs_common.o
* HOSTLD arch/x86/tools/relocs
* CC kernel/bounds.s
*gcc: error: unrecognized command line option ?-fstack-protector-strong?
*make[1]: *** [kernel/bounds.s] Errore 1
*make: *** [prepare0] Errore 2
* Funtoo Linux Genkernel; Version 3.4.40.7-funtoo
* Running with options: --menuconfig all
*
* ERROR: Failed to compile the "prepare" target...
*
* -- End log... --
*
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
[/code]
It depends by a gcc version ? (actually in my sustem is [1] x86_64-pc-linux-gnu-4.8.2 *
Just a small question:
what are the differences between:
[1] x86_64-pc-linux-gnu-4.8.2 *
[2] x86_64-pc-linux-gnu-4.8.2-hardenednopie
[3] x86_64-pc-linux-gnu-4.8.2-hardenednopiessp
[4] x86_64-pc-linux-gnu-4.8.2-hardenednossp
[5] x86_64-pc-linux-gnu-4.8.2-vanilla
[/ code]
?
I think thath the 1st choiche may be correct,, but i could make an evaluation error.
Question
Sandro
hi To All;
I use genkernel;
Either using gentoo-sources or hardened-sources I encountered a compilation errors;
It depends by a gcc version ? (actually in my sustem is [1] x86_64-pc-linux-gnu-4.8.2 *
Just a small question:
Thanks for Any suggestions......
Hi to All
Link to comment
Share on other sites
3 answers to this question
Recommended Posts