New: With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
https://bugs.busybox.net/show_bug.cgi?id=8861
Bug ID: 8861
Summary: With buildroot 2016.02 trying to build for corei7-avx
fails while trying to build host-binutils.
Product: buildroot
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: buschman at tech.net.de
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 6426
--> https://bugs.busybox.net/attachment.cgi?id=6426&action=edit
Output of the call to make
My environment:
- Fedora release 22 (Twenty Two)
- x86_64
- with a "dnf update" on 10. March 2016
The target is i386, narrowed down to corei7-avx.
Steps to duplicate the problem:
--> wget https://buildroot.org/downloads/buildroot-2016.02.tar.bz2
--> tar xjvf buildroot-2016.02.tar.bz2
--> cd buildroot-2016.02
--> env HOSTCXX=/bin/g++ HOSTCC=/bin/gcc make menuconfig In Target options select i386, ELF, corei7-avx
--> env HOSTCXX=/bin/g++ HOSTCC=/bin/gcc make
...
Quoted 1 line
Quoted 1 line
Quoted 1 line
host-binutils 2.24 Configuring
... --target=-buildroot-linux-uclibc ...
configure: loading site script /dev/null
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... configure: error: /bin/sh ./config.sub -buildroot
-linux-uclibc failed
configure: WARNING: cache variable ac_cv_target contains a newline package/pkg-generic.mk:185: recipe for target '/home/buschman/wk/buildroot-2016. 02/output/build/host-binutils-2.24/.stamp_configured' failed
--> env HOSTCXX=/bin/g++ HOSTCC=/bin/gcc make savedefconfig --> cat defconfig
BR2_x86_corei7_avx=y
The same problem happens when using the up to date version of buildroot as it was on 09. March 2016 instead.
--> git clone https://git.buildroot.net/buildroot
https://gist.github.com/abuschmann/e2e00e5cb23bb06f94bb
I have send this bug report as a message to the buildroot list on 21. March 2016
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
https://bugs.busybox.net/show_bug.cgi?id=8861
--- Comment #1 from Thomas Petazzoni <[email protected]> --- Hum, indeed. Thanks for the bug report! Can you try the below patch:
arch/Config.in.x86 +2 -0
@@ -226,6 +226,8 @@ config BR2_ARCH default "i686" if BR2_x86_nocona && BR2_i386 default "i686" if BR2_x86_core2 && BR2_i386 default "i686" if BR2_x86_corei7 && BR2_i386 + default "i686" if BR2_x86_corei7_avx && BR2_i386 + default "i686" if BR2_x86_corei7_avx2 && BR2_i386 default "i686" if BR2_x86_atom && BR2_i386 default "i686" if BR2_x86_opteron && BR2_i386 default "i686" if BR2_x86_opteron_sse3 && BR2_i386
And then do your configuration from scratch again, and attempt to do the build.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8861
--- Comment #2 from buschman at tech.net.de ---
With the change proposed by Thomas Petazzoni the complete build runs through.
Thank you
Andreas
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8861
--- Comment #3 from Thomas Petazzoni <[email protected]> --- I've submitted a patch at http://patchwork.ozlabs.org/patch/613293/.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8861
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #4 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.net/buildroot/commit/arch?id=633f20002e4184e91ead8599fcc557e9fd17e1e0.
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.