Skip to content

Fix SPEC CPU build failure on GCC 15#688

Open
RakeshwarK wants to merge 6 commits intomicrosoft:mainfrom
RakeshwarK:gcc15Spec
Open

Fix SPEC CPU build failure on GCC 15#688
RakeshwarK wants to merge 6 commits intomicrosoft:mainfrom
RakeshwarK:gcc15Spec

Conversation

@RakeshwarK
Copy link
Copy Markdown
Contributor

@RakeshwarK RakeshwarK commented Apr 11, 2026

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
Signed-off-by: Rakesh <153008248+RakeshwarK@users.noreply.github.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.

1 participant