Landing: ffc4b179a3bc

Project / Subsystem

gcc / testsuite

Date

2026-04-25

Author

Rainer Orth

Commit

ffc4b179a3bc254b7303d7f9ddbe3e9291851cec

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
commit_hash
ffc4b179a3bc254b7303d7f9ddbe3e9291851cec
source_type
github
headline
testsuite: Fix gcc.target/x86_64/abi tests on FreeBSD
tldr
The GCC testsuite now passes the x86_64 ABI tests on FreeBSD by adding `.note.GNU-stack` and adjusting compiler arguments.
author
Rainer Orth
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • testsuite
  • freebsd
  • x86_64
  • abi
discussion_id_link
bugzilla_pr
date
2026-04-25T00:00:00.000Z

The GCC testsuite’s x86_64 ABI tests were failing on FreeBSD due to missing stack executable flags and ABI differences. This commit fixes this by adding .note.GNU-stack to assembly support files for FreeBSD. It also adds --omit-rbp-clobbers to GEN_ARGS and adapts tests to the default -fno-omit-frame-pointer setting on FreeBSD. These changes ensure the testsuite passes on FreeBSD with both GNU ld and lld.