10-20-2018, 01:12 AM
(This post was last modified: 10-20-2018, 01:29 AM by hunderteins.)
did you do "make distclean" before changing the compiler CC=?
CAUTION! Save your .config before doing distclean.
than copy the .config back
$ export CC=gcc-7
$ make oldconfig
$ make -j6 Image
I got confused, cause I do my builds on a x86-PC with CROSS_COMPILE=
The kernel-build ignores CC=
Just uninstall gcc8 or change the CC= inside the Makefile.
CAUTION! Save your .config before doing distclean.
than copy the .config back
$ export CC=gcc-7
$ make oldconfig
$ make -j6 Image
I got confused, cause I do my builds on a x86-PC with CROSS_COMPILE=
The kernel-build ignores CC=
Just uninstall gcc8 or change the CC= inside the Makefile.