Created attachment 6426 [details] 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 ... >>> 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
Hum, indeed. Thanks for the bug report! Can you try the below patch: diff --git a/arch/Config.in.x86 b/arch/Config.in.x86 index 4039db8..efa9567 100644 --- a/arch/Config.in.x86 +++ b/arch/Config.in.x86 @@ -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.
With the change proposed by Thomas Petazzoni the complete build runs through. Thank you Andreas
I've submitted a patch at http://patchwork.ozlabs.org/patch/613293/.
Fixed by https://git.buildroot.net/buildroot/commit/arch?id=633f20002e4184e91ead8599fcc557e9fd17e1e0.