* [Buildroot] [PATCH 1/1] package/openblas: fix build
@ 2024-04-07 15:34 Fabrice Fontaine
2024-04-07 19:35 ` Arnout Vandecappelle via buildroot
0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2024-04-07 15:34 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, Fabrice Fontaine
Fix the following build failure raised since bump to version 0.3.27 in
commit 59b48b5cff057f2429b1143d6f50c39d93ca8ef3:
/bin/sh: ./xccblat3_3m: No such file or directory
Fixes: 59b48b5cff057f2429b1143d6f50c39d93ca8ef3
- http://autobuild.buildroot.org/results/52acc2d95bbc07155b9d446ab8625f9c9eb81b52
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...-should-not-be-run-in-cross-compiles.patch | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch
diff --git a/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch b/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch
new file mode 100644
index 0000000000..44883b2c26
--- /dev/null
+++ b/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch
@@ -0,0 +1,33 @@
+From 48e017de095018c60d83355804a3075658b4970c Mon Sep 17 00:00:00 2001
+From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
+Date: Fri, 5 Apr 2024 22:54:34 +0200
+Subject: [PATCH] fix position of endif - gemm3m tests should not be run in
+ cross-compiles
+
+Upstream: https://github.com/OpenMathLib/OpenBLAS/commit/48e017de095018c60d83355804a3075658b4970c
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ ctest/Makefile | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/ctest/Makefile b/ctest/Makefile
+index bbaf96f8ed..6c7cc1ed56 100644
+--- a/ctest/Makefile
++++ b/ctest/Makefile
+@@ -203,7 +203,6 @@ ifeq ($(BUILD_COMPLEX16),1)
+ OPENBLAS_NUM_THREADS=2 ./xzcblat3 < zin3
+ endif
+ endif
+-endif
+
+ ifeq ($(SUPPORT_GEMM3M),1)
+ ifeq ($(USE_OPENMP), 1)
+@@ -222,7 +221,7 @@ ifeq ($(BUILD_COMPLEX16),1)
+ endif
+ endif
+ endif
+-
++endif
+
+
+
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/openblas: fix build
2024-04-07 15:34 Fabrice Fontaine
@ 2024-04-07 19:35 ` Arnout Vandecappelle via buildroot
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-04-07 19:35 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot; +Cc: Julien Olivain
On 07/04/2024 17:34, Fabrice Fontaine wrote:
> Fix the following build failure raised since bump to version 0.3.27 in
> commit 59b48b5cff057f2429b1143d6f50c39d93ca8ef3:
>
> /bin/sh: ./xccblat3_3m: No such file or directory
>
> Fixes: 59b48b5cff057f2429b1143d6f50c39d93ca8ef3
> - http://autobuild.buildroot.org/results/52acc2d95bbc07155b9d446ab8625f9c9eb81b52
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> ...-should-not-be-run-in-cross-compiles.patch | 33 +++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch
>
> diff --git a/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch b/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch
> new file mode 100644
> index 0000000000..44883b2c26
> --- /dev/null
> +++ b/package/openblas/0002-fix-position-of-endif-gemm3m-tests-should-not-be-run-in-cross-compiles.patch
> @@ -0,0 +1,33 @@
> +From 48e017de095018c60d83355804a3075658b4970c Mon Sep 17 00:00:00 2001
> +From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
> +Date: Fri, 5 Apr 2024 22:54:34 +0200
> +Subject: [PATCH] fix position of endif - gemm3m tests should not be run in
> + cross-compiles
> +
> +Upstream: https://github.com/OpenMathLib/OpenBLAS/commit/48e017de095018c60d83355804a3075658b4970c
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + ctest/Makefile | 3 +--
> + 1 file changed, 1 insertion(+), 2 deletions(-)
> +
> +diff --git a/ctest/Makefile b/ctest/Makefile
> +index bbaf96f8ed..6c7cc1ed56 100644
> +--- a/ctest/Makefile
> ++++ b/ctest/Makefile
> +@@ -203,7 +203,6 @@ ifeq ($(BUILD_COMPLEX16),1)
> + OPENBLAS_NUM_THREADS=2 ./xzcblat3 < zin3
> + endif
> + endif
> +-endif
> +
> + ifeq ($(SUPPORT_GEMM3M),1)
> + ifeq ($(USE_OPENMP), 1)
> +@@ -222,7 +221,7 @@ ifeq ($(BUILD_COMPLEX16),1)
> + endif
> + endif
> + endif
> +-
> ++endif
> +
> +
> +
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/openblas: fix build
@ 2026-03-22 9:07 Bernd Kuhls
2026-03-23 20:17 ` Julien Olivain via buildroot
0 siblings, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2026-03-22 9:07 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
Buildroot commit b08ac7636dc7b2753592989dc5fe73959e0f6507 bumped the
package to version 0.3.31 and introduced a build error
linktest.c:(.text.startup+0x6f4):
undefined reference to `openblas_set_threads_callback_function'
which according to https://github.com/OpenMathLib/OpenBLAS/issues/5607
was introduced by upstream commit
https://github.com/OpenMathLib/OpenBLAS/commit/879497990f42e6dcfa370bcbf478cc5674158336
that was first included in version 0.3.31.
This patch adds another upstream commit to fix the problem.
Fixes:
https://autobuild.buildroot.net/results/7d8/7d80a912ddda01acd109786641df02ad826399f6/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...allback-replacement-hook-in-singleth.patch | 53 +++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 package/openblas/0002-Include-thread-callback-replacement-hook-in-singleth.patch
diff --git a/package/openblas/0002-Include-thread-callback-replacement-hook-in-singleth.patch b/package/openblas/0002-Include-thread-callback-replacement-hook-in-singleth.patch
new file mode 100644
index 0000000000..7ea199fb2e
--- /dev/null
+++ b/package/openblas/0002-Include-thread-callback-replacement-hook-in-singleth.patch
@@ -0,0 +1,53 @@
+From 874243421298866d116e1e8bdbd7e0ed4e31e4f6 Mon Sep 17 00:00:00 2001
+From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
+Date: Sun, 18 Jan 2026 19:55:40 +0100
+Subject: [PATCH] Include thread callback replacement hook in singlethreaded
+ builds as well
+
+Upstream: https://github.com/OpenMathLib/OpenBLAS/commit/874243421298866d116e1e8bdbd7e0ed4e31e4f6
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ driver/others/CMakeLists.txt | 2 +-
+ driver/others/Makefile | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/driver/others/CMakeLists.txt b/driver/others/CMakeLists.txt
+index a07a0baf99..72abdc4ee4 100644
+--- a/driver/others/CMakeLists.txt
++++ b/driver/others/CMakeLists.txt
+@@ -27,7 +27,6 @@ if (USE_THREAD)
+ ${BLAS_SERVER}
+ divtable.c # TODO: Makefile has -UDOUBLE
+ blas_l1_thread.c
+- blas_server_callback.c
+ )
+
+ if (NOT NO_AFFINITY)
+@@ -42,6 +41,7 @@ set(COMMON_SOURCES
+ openblas_env.c
+ openblas_get_num_procs.c
+ openblas_get_num_threads.c
++ blas_server_callback.c
+ )
+
+ # these need to have NAME/CNAME set, so use GenerateNamedObjects, but don't use standard name mangling
+diff --git a/driver/others/Makefile b/driver/others/Makefile
+index 719d617c45..fbd016e6b0 100644
+--- a/driver/others/Makefile
++++ b/driver/others/Makefile
+@@ -1,12 +1,12 @@
+ TOPDIR = ../..
+ include ../../Makefile.system
+
+-COMMONOBJS = memory.$(SUFFIX) xerbla.$(SUFFIX) c_abs.$(SUFFIX) z_abs.$(SUFFIX) openblas_set_num_threads.$(SUFFIX) openblas_get_num_threads.$(SUFFIX) openblas_get_num_procs.$(SUFFIX) openblas_get_config.$(SUFFIX) openblas_get_parallel.$(SUFFIX) openblas_error_handle.$(SUFFIX) openblas_env.$(SUFFIX)
++COMMONOBJS = memory.$(SUFFIX) xerbla.$(SUFFIX) c_abs.$(SUFFIX) z_abs.$(SUFFIX) openblas_set_num_threads.$(SUFFIX) openblas_get_num_threads.$(SUFFIX) openblas_get_num_procs.$(SUFFIX) openblas_get_config.$(SUFFIX) openblas_get_parallel.$(SUFFIX) openblas_error_handle.$(SUFFIX) openblas_env.$(SUFFIX) blas_server_callback.$(SUFFIX)
+
+ #COMMONOBJS += slamch.$(SUFFIX) slamc3.$(SUFFIX) dlamch.$(SUFFIX) dlamc3.$(SUFFIX)
+
+ ifdef SMP
+-COMMONOBJS += blas_server.$(SUFFIX) divtable.$(SUFFIX) blasL1thread.$(SUFFIX) blas_server_callback.$(SUFFIX)
++COMMONOBJS += blas_server.$(SUFFIX) divtable.$(SUFFIX) blasL1thread.$(SUFFIX)
+ ifneq ($(NO_AFFINITY), 1)
+ COMMONOBJS += init.$(SUFFIX)
+ endif
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/openblas: fix build
2026-03-22 9:07 [Buildroot] [PATCH 1/1] package/openblas: fix build Bernd Kuhls
@ 2026-03-23 20:17 ` Julien Olivain via buildroot
0 siblings, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-23 20:17 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On 22/03/2026 10:07, Bernd Kuhls wrote:
> Buildroot commit b08ac7636dc7b2753592989dc5fe73959e0f6507 bumped the
> package to version 0.3.31 and introduced a build error
>
> linktest.c:(.text.startup+0x6f4):
> undefined reference to `openblas_set_threads_callback_function'
>
> which according to https://github.com/OpenMathLib/OpenBLAS/issues/5607
> was introduced by upstream commit
> https://github.com/OpenMathLib/OpenBLAS/commit/879497990f42e6dcfa370bcbf478cc5674158336
> that was first included in version 0.3.31.
>
> This patch adds another upstream commit to fix the problem.
>
> Fixes:
> https://autobuild.buildroot.net/results/7d8/7d80a912ddda01acd109786641df02ad826399f6/
>
> 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] 4+ messages in thread
end of thread, other threads:[~2026-03-23 20:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-22 9:07 [Buildroot] [PATCH 1/1] package/openblas: fix build Bernd Kuhls
2026-03-23 20:17 ` Julien Olivain via buildroot
-- strict thread matches above, loose matches on Subject: below --
2024-04-07 15:34 Fabrice Fontaine
2024-04-07 19:35 ` Arnout Vandecappelle via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox