New: Buildroot builds for i686 even though i486 is selected
https://bugs.busybox.net/show_bug.cgi?id=13621
Bug ID: 13621
Summary: Buildroot builds for i686 even though i486 is selected
Product: buildroot
Version: 2021.02
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: moelzerjens at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 8801
--> https://bugs.busybox.net/attachment.cgi?id=8801&action=edit
defconfig
Selecting i486 as target architecture variant results in a kernel that's built for i686.
Steps to reproduce:
Build a image with the attached minimal defconfig and run qemu-system-i386 -nographic -cpu 486 -kernel output/images/bzImage results in This kernel requires an i686 CPU, but only detected an i486 CPU..
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13621] Buildroot builds for i686 even though i486 is selected
https://bugs.busybox.net/show_bug.cgi?id=13621
--- Comment #1 from Peter Seiderer <[email protected]> --- (In reply to moelzerjens from comment #0)
The buildroot kernel configure/make is called with the correct 'ARCH=i386' and uses the kernel i386_defconfig without further specification of CPU type, which defaults from the linux kernel configure (see e.g. build/linux-5.11/arch/x86/Kconfig.cpu) to M686:
choice
prompt "Processor family"
default M686 if X86_32
default GENERIC_CPU if X86_64
For workaround specify the correct CPU either by configuring a custom linux kernel config/defconfig file (or configure by 'make linux-menuconfig')...
Maybe something which can be improved in buildroot..., on the other side a very special use-case ;-)
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 13621] Buildroot builds for i686 even though i486 is selected
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=13621
Yann E. MORIN <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #2 from Yann E. MORIN <[email protected]> --- Thank you for your report.
The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.
Thank you!
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot