[Bug 1225869] New: Package openblas flavors openmp, pthreads and serial do not build with gcc14 because of new errors
https://bugzilla.suse.com/show_bug.cgi?id=1225869 Bug ID: 1225869 Summary: Package openblas flavors openmp, pthreads and serial do not build with gcc14 because of new errors Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: mjambor@suse.com QA Contact: qa-bugs@suse.de CC: eich@suse.com Blocks: 1220571 Target Milestone: --- Found By: --- Blocker: --- 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:G... - https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... - https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... 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?r... 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] | ^~~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1225869 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |badshah400@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com