Bug 1225906 - GCC14: Package openvswitch fails to build
Summary: GCC14: Package openvswitch fails to build
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Duraisankar P
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc14
  Show dependency treegraph
 
Reported: 2024-06-04 09:24 UTC by Martin Jambor
Modified: 2024-07-12 16:17 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 09:24:05 UTC
Package openvswitch foes not build with GCC 14:

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

but is also visible online: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/openvswitch/standard/x86_64

Even though it looks like it is one of the new errors of GCC 14 that used to be warnings, adding -fpermissive leads to link issues.

Instead we need: https://github.com/openvswitch/ovs/commit/335a5deac3ff91448ca14651e92f39dfdd512fcf.patch
Comment 1 Martin Jambor 2024-06-04 11:13:34 UTC
I created https://build.opensuse.org/request/show/1178479
Comment 2 Martin Jambor 2024-07-12 16:17:11 UTC
Fixed with the aforementioned request.