Skip to content

Fix SPEC CPU build failure on GCC 15#688

Merged
RakeshwarK merged 8 commits into
microsoft:mainfrom
RakeshwarK:gcc15Spec
May 1, 2026
Merged

Fix SPEC CPU build failure on GCC 15#688
RakeshwarK merged 8 commits into
microsoft:mainfrom
RakeshwarK:gcc15Spec

Conversation

@RakeshwarK

@RakeshwarK RakeshwarK commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

BUG: SPEC CPU benchmark 523.xalancbmk_r fails to build on GCC 15.

  • This is due to the new -Werror=template-body diagnostic introduced in GCC 15. This can be fixed with adding "EXTRA_CXXFLAGS = -Wno-error=template-bod" to Linux Config files.
  • Added the fix as a version-conditional workaround for gcc 15.

Tested on Ubuntu 24: x64 and arm64.

@RakeshwarK RakeshwarK marked this pull request as ready for review April 15, 2026 18:15
@RakeshwarK RakeshwarK enabled auto-merge (squash) April 15, 2026 20:55
@RakeshwarK RakeshwarK disabled auto-merge April 16, 2026 17:14
RakeshwarK and others added 3 commits April 17, 2026 16:25
Signed-off-by: Rakesh <153008248+RakeshwarK@users.noreply.github.com>
@RakeshwarK RakeshwarK merged commit 138dce1 into microsoft:main May 1, 2026
5 checks passed
@RakeshwarK RakeshwarK deleted the gcc15Spec branch May 1, 2026 16:42
rudraptpsingh pushed a commit to rudraptpsingh/VirtualClient that referenced this pull request May 26, 2026
* Gcc15Workaround

* up version

* added tests

* upversion

---------

Signed-off-by: Rakesh <153008248+RakeshwarK@users.noreply.github.com>
Co-authored-by: Rakeshwar Reddy Kambaiahgari <rkambaiahgar@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants