Bugzilla – Bug 1225869
Package openblas flavors openmp, pthreads and serial do not build with gcc14 because of new errors
Last modified: 2024-06-10 07:07:36 UTC
GCC 14 newly by default treats as errors a number of situations which before were only warnings. For more information see https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571. Because of this, package openblas flavors openmp, pthreads and serial fails to compile. This can be seen online at: - https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/openblas:openmp/standard/x86_64 - https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/openblas:openmp/standard/x86_64 - https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/openblas:serial/standard/x86_64 It can be reproduced locally with command: osc build --clean --alternative-project home:rguenther:nextgcc Patches that Fedora used to overcome these new errors are listed at: https://gitlab.com/fweimer-rh/fedora-modernc/-/blob/main/pkg/o/openblas.md?ref_type=heads The (first) error (that halts the build) is: [ 14s] ../common_stackalloc.h:59:10: error: assignment to ‘bfloat16 *’ {aka ‘short unsigned int *’} from incompatible pointer type ‘float *’ [-Wincompatible-pointer-types] [ 14s] 59 | BUFFER = stack_alloc_size ? stack_buffer : (TYPE *)blas_memory_alloc(1); [ 14s] | ^ [ 14s] gemmt.c:481:25: note: in expansion of macro ‘STACK_ALLOC’ [ 14s] 481 | STACK_ALLOC(buffer_size, FLOAT, buffer); [ 14s] | ^~~~~~~~~~~
Sorry, I don't have time to do this. Please find someone else.
This will be fixed by an update to version 0.3.27. Submission is pending: https://build.opensuse.org/request/show/1179561
The update is now on its way to Factory.