Skip to content

Add SPEC CPU2017 GCC 14/15 build workarounds per SPEC FAQ - #857

Merged
imadityaa merged 3 commits into
microsoft:mainfrom
deep1712:users/devaid/FixingSpec2017Gcc15
Nov 30, 2026
Merged

imadityaa merged 3 commits into
microsoft:mainfrom
deep1712:users/devaid/FixingSpec2017Gcc15

Conversation

@deep1712

Copy link
Copy Markdown
Contributor
  • Build.10: GCC 14+ promotes -Wimplicit-int to an error (527.cam4_r/627.cam4_s mpi.c). Add -Wno-error=implicit-int to cam4 peak and fprate,fpspeed base, guarded by GCCge14.
  • Build.11: GCC 15+ errors on xalancbmk with -Wtemplate-body. Add -Wno-error=template-body for 523.xalancbmk_r/623.xalancbmk_s peak (base already covered).
  • Add $Gcc14Workaround$ placeholder resolved by SpecCpu2017Executor when gcc >= 14.

- Build.10: GCC 14+ promotes -Wimplicit-int to an error (527.cam4_r/627.cam4_s mpi.c).
  Add -Wno-error=implicit-int to cam4 peak and fprate,fpspeed base, guarded by GCCge14.
- Build.11: GCC 15+ errors on xalancbmk with -Wtemplate-body. Add
  -Wno-error=template-body for 523.xalancbmk_r/623.xalancbmk_s peak (base already covered).
- Add $Gcc14Workaround$ placeholder resolved by SpecCpu2017Executor when gcc >= 14.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

…er SPEC FAQ Build.11

Move -Wno-error=template-body from default=base to intrate,intspeed=base to match the
official SPEC CPU2017 FAQ example, keeping the GCCge15 guard.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@deep1712

Copy link
Copy Markdown
Contributor Author

For running SPEC2017 for Gcc15 following the link mentioned below
https://www.spec.org/cpu2017/Docs/faq.html#Build.10

@imadityaa
imadityaa enabled auto-merge (squash) November 30, 2026 10:23
@imadityaa
imadityaa merged commit 8bb089c into microsoft:main Nov 30, 2026
5 checks passed
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.

4 participants