Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 8861] New: With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
@ 2016-04-21  8:58 bugzilla at busybox.net
  2016-04-21 10:01 ` [Buildroot] [Bug 8861] " bugzilla at busybox.net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-04-21  8:58 UTC (permalink / raw)
  To: buildroot

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
...
>>> 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
  2016-04-21  8:58 [Buildroot] [Bug 8861] New: With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils bugzilla at busybox.net
@ 2016-04-21 10:01 ` bugzilla at busybox.net
  2016-04-21 15:52 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-04-21 10:01 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8861

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
  2016-04-21  8:58 [Buildroot] [Bug 8861] New: With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils bugzilla at busybox.net
  2016-04-21 10:01 ` [Buildroot] [Bug 8861] " bugzilla at busybox.net
@ 2016-04-21 15:52 ` bugzilla at busybox.net
  2016-04-21 19:53 ` bugzilla at busybox.net
  2016-04-25 21:18 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-04-21 15:52 UTC (permalink / raw)
  To: buildroot

https://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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
  2016-04-21  8:58 [Buildroot] [Bug 8861] New: With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils bugzilla at busybox.net
  2016-04-21 10:01 ` [Buildroot] [Bug 8861] " bugzilla at busybox.net
  2016-04-21 15:52 ` bugzilla at busybox.net
@ 2016-04-21 19:53 ` bugzilla at busybox.net
  2016-04-25 21:18 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-04-21 19:53 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8861

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
I've submitted a patch at http://patchwork.ozlabs.org/patch/613293/.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 8861] With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils.
  2016-04-21  8:58 [Buildroot] [Bug 8861] New: With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2016-04-21 19:53 ` bugzilla at busybox.net
@ 2016-04-25 21:18 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2016-04-25 21:18 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8861

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.net/buildroot/commit/arch?id=633f20002e4184e91ead8599fcc557e9fd17e1e0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-25 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21  8:58 [Buildroot] [Bug 8861] New: With buildroot 2016.02 trying to build for corei7-avx fails while trying to build host-binutils bugzilla at busybox.net
2016-04-21 10:01 ` [Buildroot] [Bug 8861] " bugzilla at busybox.net
2016-04-21 15:52 ` bugzilla at busybox.net
2016-04-21 19:53 ` bugzilla at busybox.net
2016-04-25 21:18 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox