Bug 1225793 - Package lapack does not build with gcc14 because of new errors
Summary: Package lapack does not build with gcc14 because of new errors
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-06-02 09:35 UTC by Martin Jambor
Modified: 2024-06-14 17:50 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jambor 2024-06-02 09:35:40 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]       |         ^~~~~~~~~~~~~
Comment 1 Atri Bhattacharya 2024-06-14 17:50:44 UTC
Fixed as part of bug 1223783 <https://build.opensuse.org/request/show/1180788>