From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2016-09-04
Date: Tue, 13 Sep 2016 17:42:56 +0200 [thread overview]
Message-ID: <20160913174256.3c9eb965@free-electrons.com> (raw)
In-Reply-To: <CAAEAJfCmiL6T=P=s_2UwVAk4BxxjJCaxqqdDsjnN3UD_809MGQ@mail.gmail.com>
Hello,
On Mon, 5 Sep 2016 16:15:47 -0300, Ezequiel Garcia wrote:
> Tried to tackle this one, but it seems the problem is with the
> external toolchain. Let me post the error here to make the
> discussion easier:
>
> In file included from
> /home/test/autobuild/run/instance-0/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/endian.h:60:0,
> from
> /home/test/autobuild/run/instance-0/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/waitstatus.h:64,
> from
> /home/test/autobuild/run/instance-0/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/stdlib.h:42,
> from t/../flist.h:4,
> from t/btrace2fio.c:9:
> /home/test/autobuild/run/instance-0/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/byteswap.h:
> In function 'main':
> /home/test/autobuild/run/instance-0/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/byteswap.h:46:10:
> fatal error: You must enable NEON instructions (e.g.
> -mfloat-abi=softfp -mfpu=neon) to use these intrinsics.
> return __builtin_bswap32 (__bsx);
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [t/btrace2fio.o] Error 1
>
> AFAICS, the code doesn't directly use NEON intrinsics,
> so it's not fio's fault. After some digging, I found
> a gcc upstream report [1]. Quoting:
>
> ""
> Note that `NEON` isn't enabled and there's no direct use
> of NEON instructions/intrinsics in the code so the NEON
> instructions must have been added by the optimizer.
> Seemingly subtle change can make the error disappear.
> ""
>
> Which is exaclty what I'm seeing here. The issue is fixed in gcc v6.2.
>
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71056
Thanks for the investigation! The problematic toolchain is indeed based
on gcc 6.1, affected by the issue. We've updated to gcc 6.2 recently,
so I'll try to re-build all the toolchains in the near future, which
should help getting rid of this problem.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
prev parent reply other threads:[~2016-09-13 15:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2016-09-04 Thomas Petazzoni
2016-09-05 19:15 ` Ezequiel Garcia
2016-09-13 15:42 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160913174256.3c9eb965@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox