Bug 1225953 - Package xen does not build with gcc14 because of new errors
Summary: Package xen does not build with gcc14 because of new errors
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Xen (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Charles Arnold
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-06-04 15:54 UTC by Martin Jambor
Modified: 2024-07-16 16:30 UTC (History)
0 users

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-04 15:54:27 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 xen fails to compile.  This can be seen online
at:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/xen/standard/x86_64

It can be reproduced locally with command: osc build --clean
--alternative-project home:rguenther:nextgcc


The (first) error (that halts the build) is:

[   75s] In file included from ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:7:
[   75s] ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c: In function ‘_kill_r’:
[   75s] ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:61:14: error: implicit declaration of function ‘kill’; did you mean ‘_kill’? [-Wimplicit-function-declaration]
[   75s]    61 |   if ((ret = _kill (pid, sig)) == -1 && errno != 0)
Comment 1 Charles Arnold 2024-06-05 14:59:49 UTC
Fix submitted to Factory with SR#1178775
Comment 2 OBSbugzilla Bot 2024-06-05 15:25:02 UTC
This is an autogenerated message for OBS integration:
This bug (1225953) was mentioned in
https://build.opensuse.org/request/show/1178775 Factory / xen
Comment 4 Maintenance Automation 2024-07-16 16:30:18 UTC
SUSE-SU-2024:2531-1: An update that solves two vulnerabilities and has three security fixes can now be installed.

Category: security (important)
Bug References: 1027519, 1214718, 1221984, 1225953, 1227355
CVE References: CVE-2023-46842, CVE-2024-31143
Maintenance Incident: [SUSE:Maintenance:34723](https://smelt.suse.de/incident/34723/)
Sources used:
Server Applications Module 15-SP6 (src):
 xen-4.18.2_06-150600.3.3.1
openSUSE Leap 15.6 (src):
 xen-4.18.2_06-150600.3.3.1
Basesystem Module 15-SP6 (src):
 xen-4.18.2_06-150600.3.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.