* [Buildroot] [PATCH 1/1] package/mpir: fix build with gcc 15.x
@ 2026-02-21 16:51 Bernd Kuhls
2026-02-23 21:06 ` Julien Olivain via buildroot
2026-03-06 19:53 ` Thomas Perale via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2026-02-21 16:51 UTC (permalink / raw)
To: buildroot; +Cc: Semyon Kolganov
Fixes:
https://autobuild.buildroot.net/results/8e8/8e87fc05c41eb420a026a7df86efcd9662b74353/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
.../mpir/0004-fix-configure-with-gcc-15.patch | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 package/mpir/0004-fix-configure-with-gcc-15.patch
diff --git a/package/mpir/0004-fix-configure-with-gcc-15.patch b/package/mpir/0004-fix-configure-with-gcc-15.patch
new file mode 100644
index 0000000000..32ca76dde6
--- /dev/null
+++ b/package/mpir/0004-fix-configure-with-gcc-15.patch
@@ -0,0 +1,41 @@
+From da003143cc6f217dcf474517d54b3aee06c9c18f Mon Sep 17 00:00:00 2001
+From: Leon White <l.white@interstellarlab.earth>
+Date: Mon, 25 Aug 2025 17:24:55 +0200
+Subject: [PATCH] fix configure with gcc-15
+
+Added to Alpine Linux with commit
+https://gitlab.alpinelinux.org/alpine/aports/-/commit/ded83e23c95b2560d2d77c0e61a6425872aa273b
+
+Fixes compile error
+
+conftest.c: In function 'f':
+conftest.c:14:48: error: too many arguments to function 'g'; expected 0, have 6
+ 14 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
+ | ^ ~
+conftest.c:13:17: note: declared here
+ 13 | void h(){} void g(){}
+ | ^
+
+Upstream: https://github.com/wbhart/mpir/pull/300
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ acinclude.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/acinclude.m4 b/acinclude.m4
+index cd917567..53b9ef9c 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -590,7 +590,7 @@ extern
+ __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
+ {t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
+ void f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
+-void h(){} void g(){}
++void h(){} void g(int, t1 *, t1, t1 *, t1 *, int) {}
+ for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
+ #else
+ int dummy;
+--
+2.47.3
+
--
2.47.3
_______________________________________________
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/mpir: fix build with gcc 15.x
2026-02-21 16:51 [Buildroot] [PATCH 1/1] package/mpir: fix build with gcc 15.x Bernd Kuhls
@ 2026-02-23 21:06 ` Julien Olivain via buildroot
2026-03-06 19:53 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-02-23 21:06 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Semyon Kolganov
On 21/02/2026 17:51, Bernd Kuhls wrote:
> Fixes:
> https://autobuild.buildroot.net/results/8e8/8e87fc05c41eb420a026a7df86efcd9662b74353/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks.
_______________________________________________
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/mpir: fix build with gcc 15.x
2026-02-21 16:51 [Buildroot] [PATCH 1/1] package/mpir: fix build with gcc 15.x Bernd Kuhls
2026-02-23 21:06 ` Julien Olivain via buildroot
@ 2026-03-06 19:53 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-06 19:53 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Thomas Perale, buildroot
In reply of:
> Fixes:
> https://autobuild.buildroot.net/results/8e8/8e87fc05c41eb420a026a7df86efcd9662b74353/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to 2025.11.x. Thanks
> ---
> .../mpir/0004-fix-configure-with-gcc-15.patch | 41 +++++++++++++++++++
> 1 file changed, 41 insertions(+)
> create mode 100644 package/mpir/0004-fix-configure-with-gcc-15.patch
>
> diff --git a/package/mpir/0004-fix-configure-with-gcc-15.patch b/package/mpir/0004-fix-configure-with-gcc-15.patch
> new file mode 100644
> index 0000000000..32ca76dde6
> --- /dev/null
> +++ b/package/mpir/0004-fix-configure-with-gcc-15.patch
> @@ -0,0 +1,41 @@
> +From da003143cc6f217dcf474517d54b3aee06c9c18f Mon Sep 17 00:00:00 2001
> +From: Leon White <l.white@interstellarlab.earth>
> +Date: Mon, 25 Aug 2025 17:24:55 +0200
> +Subject: [PATCH] fix configure with gcc-15
> +
> +Added to Alpine Linux with commit
> +https://gitlab.alpinelinux.org/alpine/aports/-/commit/ded83e23c95b2560d2d77c0e61a6425872aa273b
> +
> +Fixes compile error
> +
> +conftest.c: In function 'f':
> +conftest.c:14:48: error: too many arguments to function 'g'; expected 0, have 6
> + 14 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
> + | ^ ~
> +conftest.c:13:17: note: declared here
> + 13 | void h(){} void g(){}
> + | ^
> +
> +Upstream: https://github.com/wbhart/mpir/pull/300
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> +---
> + acinclude.m4 | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/acinclude.m4 b/acinclude.m4
> +index cd917567..53b9ef9c 100644
> +--- a/acinclude.m4
> ++++ b/acinclude.m4
> +@@ -590,7 +590,7 @@ extern
> + __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
> + {t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
> + void f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
> +-void h(){} void g(){}
> ++void h(){} void g(int, t1 *, t1, t1 *, t1 *, int) {}
> + for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
> + #else
> + int dummy;
> +--
> +2.47.3
> +
> --
> 2.47.3
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
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:[~2026-03-06 19:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-21 16:51 [Buildroot] [PATCH 1/1] package/mpir: fix build with gcc 15.x Bernd Kuhls
2026-02-23 21:06 ` Julien Olivain via buildroot
2026-03-06 19:53 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox