Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/gsl: fix powerpc build
Date: Sat, 5 Nov 2022 22:31:58 +0100	[thread overview]
Message-ID: <20221105223158.33f2ed84@windsurf> (raw)
In-Reply-To: <20221105205239.300732-1-fontaine.fabrice@gmail.com>

On Sat,  5 Nov 2022 21:52:39 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following powerpc build failures on:
>  - musl raised because fpu_control.h is not available:
> 
> In file included from fp.c:8:
> fp-gnuppc.c:21:10: fatal error: fpu_control.h: No such file or directory
>    21 | #include <fpu_control.h>
>       |          ^~~~~~~~~~~~~~~
> 
>  - glibc raised because _FPU_RC_NEAREST is undefined if _SOFT_FLOAT is
>    set:
> 
>    In file included from fp.c:8:
> fp-gnuppc.c: In function 'gsl_ieee_set_mode':
> fp-gnuppc.c:53:15: error: '_FPU_RC_NEAREST' undeclared (first use in this function)
>    53 |       mode |= _FPU_RC_NEAREST ;
>       |               ^~~~~~~~~~~~~~~
> 
> These build failures are raised since the addition of the package in
> commit 9d9f7feba4ffbfeb54479f1ad90d47acca1a6f0b
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/d73e116c81bf16d2e55fced215d6bd3b382fef10
>  - http://autobuild.buildroot.org/results/48403946bb4cda9013e51db59c1b2ffdcf4e2854
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  ...01-configure.ac-fix-build-on-powerpc.patch | 53 +++++++++++++++++++
>  package/gsl/gsl.mk                            |  2 +
>  2 files changed, 55 insertions(+)
>  create mode 100644 package/gsl/0001-configure.ac-fix-build-on-powerpc.patch

Applied to master, thanks! Don't forget to submit upstream :-)

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-11-05 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05 20:52 [Buildroot] [PATCH 1/1] package/gsl: fix powerpc build Fabrice Fontaine
2022-11-05 21:31 ` Thomas Petazzoni via buildroot [this message]
2022-11-14 16:05 ` Peter Korsgaard

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=20221105223158.33f2ed84@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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