Summary: | sys-kernel/gentoo-sources-4.12.5: Error: instruction `andn' isn't supported in 16-bit mode. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex <fhlfibh> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.kernel.org/show_bug.cgi?id=196689 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Kernel config
/proc/cpuinfo |
Description
Alex
2017-08-14 21:35:05 UTC
Created attachment 489092 [details]
Kernel config
Created attachment 489094 [details]
/proc/cpuinfo
My compiling options: KCFLAGS="-O2 -march=native -fno-stack-protector -fomit-frame-pointer" KCPPFLAGS=$KCFLAGS KCXXFLAGS=$KCFLAGS make -j4 && make modules_install && make install 2>&1 Also tried with "-O3" and without any "-O" -- same error. The bug finally landed here https://sourceware.org/bugzilla/show_bug.cgi?id=21965 4.12.5 builds on i3-7300 with gcc-5.4.0 and '--march=broadwell' Looks like sys-devel/gcc needs some update for Kaby Lakes... Regards, Alex is this still a problem ? have you tried with recent gcc version ? (In reply to Alice Ferrazzi from comment #6) > is this still a problem ? have you tried with recent gcc version ? It's not a problem in the way that I found a workaround for it, see above. I will try again with the recent kernel update, with sys-devel/gcc-5.4.0-r3 But as I understand from gcc patches, building with "-march=native" on Kaby Lakes requires gcc-7 which is masked in portage. GCC-6.4 works with "-march=skylake" "-mach=native" seems resulting into "-march=broadwell -mtune=generic" you need to open a bug to gcc for this |