Bugzilla – Bug 1225793
Package lapack does not build with gcc14 because of new errors
Last modified: 2024-06-14 17:50:44 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 lapack fails to compile. This can be seen online at: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/lapack/standard/x86_64 It can be reproduced locally with command: osc build --clean --alternative-project home:rguenther:nextgcc The error (that halts the build) is: [ 185s] In file included from ../include/lapack.h:11, [ 185s] from ../include/lapacke.h:37, [ 185s] from ../include/lapacke_utils.h:37, [ 185s] from lapacke_cggsvp_work.c:34: [ 185s] lapacke_cggsvp_work.c: In function ‘LAPACKE_cggsvp_work’: [ 185s] ../include/lapack.h:3761:37: error: implicit declaration of function ‘cggsvp_’; did you mean ‘cggsvp3_’? [-Wimplicit-function-declaration] [ 185s] 3761 | #define LAPACK_cggsvp LAPACK_GLOBAL(cggsvp,CGGSVP) [ 185s] | ^~~~~~ [ 185s] ../include/lapacke_mangling.h:6:39: note: in definition of macro ‘LAPACK_GLOBAL’ [ 185s] 6 | #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ [ 185s] | ^~~~~~ [ 185s] lapacke_cggsvp_work.c:52:9: note: in expansion of macro ‘LAPACK_cggsvp’ [ 185s] 52 | LAPACK_cggsvp( &jobu, &jobv, &jobq, &m, &p, &n, a, &lda, b, &ldb, &tola, [ 185s] | ^~~~~~~~~~~~~
Fixed as part of bug 1223783 <https://build.opensuse.org/request/show/1180788>