From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/gcc: disable libmpx for gcc6-based musl builds
Date: Sun, 23 Oct 2016 14:50:01 +0200 [thread overview]
Message-ID: <20161023145001.5ccadeec@free-electrons.com> (raw)
In-Reply-To: <20161022220422.14839-1-bernd.kuhls@t-online.de>
Hello,
On Sun, 23 Oct 2016 00:04:22 +0200, Bernd Kuhls wrote:
> Building this minimal defconfig
>
> BR2_TOOLCHAIN_BUILDROOT_MUSL=y
> BR2_GCC_VERSION_6_X=y
>
> fails:
>
> In file included from ../../../../libmpx/mpxrt/mpxrt.c:54:0:
> ../../../../libmpx/mpxrt/mpxrt.c: In function 'read_mpx_status_sig':
> ../../../../libmpx/mpxrt/mpxrt.h:52:42: error: invalid application of
> 'sizeof' to incomplete type 'struct _libc_fpstate'
> #define XSAVE_OFFSET_IN_FPMEM sizeof (struct _libc_fpstate)
>
> To fix disable libmpx for musl builds, other projects did the same:
>
> https://github.com/crosstool-ng/crosstool-ng/commit/3ec2211548a853203e070af6810f49825ec46a6a
> http://git.alpinelinux.org/cgit/aports/commit/main/gcc/APKBUILD?id=1830e485126ea9a95d763317fb0c508c1ff297d2
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/gcc/gcc.mk | 5 +++++
> 1 file changed, 5 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-10-23 12:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-22 22:04 [Buildroot] [PATCH 1/1] package/gcc: disable libmpx for gcc6-based musl builds Bernd Kuhls
2016-10-23 12:50 ` 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=20161023145001.5ccadeec@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