* [Buildroot] [PATCH 1/1] package/gsl: fix musl build on m68k
@ 2023-11-27 22:11 Fabrice Fontaine
2023-11-29 9:21 ` Peter Korsgaard
2023-12-01 20:03 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-11-27 22:11 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Update patch to fix the following musl build failure with m68k which is
only raised (for an unknown reason) since bump to version 2.7.1 in commit
3e48f8358e519f9c24262a6549d8f6c78ee01add:
In file included from fp.c:6:
fp-gnum68k.c:21:10: fatal error: fpu_control.h: No such file or directory
21 | #include <fpu_control.h>
| ^~~~~~~~~~~~~~~
Add also upstream link to first patch iteration which was sent in
November 2022 but didn't get it any reply (like most of the other emails
sent to bug-gsl@gnu.org ...)
Fixes:
- http://autobuild.buildroot.org/results/e59636f6ac148807c1c67f09eef0e0a9f5d52303
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.checkpackageignore | 1 -
package/gsl/0001-configure.ac-fix-build-on-powerpc.patch | 7 ++++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.checkpackageignore b/.checkpackageignore
index 52f983e049..5dcd2b088b 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -529,7 +529,6 @@ package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch Up
package/grpc/0002-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch Upstream
package/grpc/0003-host-grpc-only-cpp-plugin.patch Upstream
package/grpc/0004-disable-unconditionally-downloading-api-repos.patch Upstream
-package/gsl/0001-configure.ac-fix-build-on-powerpc.patch Upstream
package/gstreamer1/gstd/0001-Don-t-require-gstd-check-user-xenv.sh-for-systemd-se.patch Upstream
package/guile/0001-calculate-csqrt_manually.patch Upstream
package/guile/0002-Makefile.am-fix-build-without-makeinfo.patch Upstream
diff --git a/package/gsl/0001-configure.ac-fix-build-on-powerpc.patch b/package/gsl/0001-configure.ac-fix-build-on-powerpc.patch
index 13f6da4588..96ab780467 100644
--- a/package/gsl/0001-configure.ac-fix-build-on-powerpc.patch
+++ b/package/gsl/0001-configure.ac-fix-build-on-powerpc.patch
@@ -1,9 +1,9 @@
From 84e62d57b90b41a0c96bb9fb6ec61ecaac76a1ab Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sat, 5 Nov 2022 21:31:36 +0100
-Subject: [PATCH] configure.ac: fix build on powerpc
+Subject: [PATCH] configure.ac: fix build on powerpc and m68k
-Fix the following powerpc build failures on:
+Fix the following powerpc and m68k build failures on:
- musl raised because fpu_control.h is not available:
In file included from fp.c:8:
@@ -25,6 +25,7 @@ Fixes:
- http://autobuild.buildroot.org/results/48403946bb4cda9013e51db59c1b2ffdcf4e2854
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Upstream: https://lists.gnu.org/archive/html/bug-gsl/2022-11/msg00000.html
---
configure.ac | 8 ++++++++
1 file changed, 8 insertions(+)
@@ -37,7 +38,7 @@ index bfd9ca30..1ee6dca0 100644
fi
fi
-+if test "$ac_cv_c_ieee_interface" = "gnuppc" ; then
++if test "$ac_cv_c_ieee_interface" = "gnuppc" -o "$ac_cv_c_ieee_interface" = "gnum68k" ; then
+ AC_CACHE_CHECK([for _FPU_RC_NEAREST], ac_cv_c__fpu_rc_nearest,
+ [ac_cv_c__fpu_rc_nearest=no
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <fpu_control.h>
--
2.42.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/gsl: fix musl build on m68k
2023-11-27 22:11 [Buildroot] [PATCH 1/1] package/gsl: fix musl build on m68k Fabrice Fontaine
@ 2023-11-29 9:21 ` Peter Korsgaard
2023-12-01 20:03 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-11-29 9:21 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Update patch to fix the following musl build failure with m68k which is
> only raised (for an unknown reason) since bump to version 2.7.1 in commit
> 3e48f8358e519f9c24262a6549d8f6c78ee01add:
> In file included from fp.c:6:
> fp-gnum68k.c:21:10: fatal error: fpu_control.h: No such file or directory
> 21 | #include <fpu_control.h>
> | ^~~~~~~~~~~~~~~
> Add also upstream link to first patch iteration which was sent in
> November 2022 but didn't get it any reply (like most of the other emails
> sent to bug-gsl@gnu.org ...)
> Fixes:
> - http://autobuild.buildroot.org/results/e59636f6ac148807c1c67f09eef0e0a9f5d52303
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/gsl: fix musl build on m68k
2023-11-27 22:11 [Buildroot] [PATCH 1/1] package/gsl: fix musl build on m68k Fabrice Fontaine
2023-11-29 9:21 ` Peter Korsgaard
@ 2023-12-01 20:03 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-12-01 20:03 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Update patch to fix the following musl build failure with m68k which is
> only raised (for an unknown reason) since bump to version 2.7.1 in commit
> 3e48f8358e519f9c24262a6549d8f6c78ee01add:
> In file included from fp.c:6:
> fp-gnum68k.c:21:10: fatal error: fpu_control.h: No such file or directory
> 21 | #include <fpu_control.h>
> | ^~~~~~~~~~~~~~~
> Add also upstream link to first patch iteration which was sent in
> November 2022 but didn't get it any reply (like most of the other emails
> sent to bug-gsl@gnu.org ...)
> Fixes:
> - http://autobuild.buildroot.org/results/e59636f6ac148807c1c67f09eef0e0a9f5d52303
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2023.08.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-01 20:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 22:11 [Buildroot] [PATCH 1/1] package/gsl: fix musl build on m68k Fabrice Fontaine
2023-11-29 9:21 ` Peter Korsgaard
2023-12-01 20:03 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox