public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* [stalld v2 0/6] Improve Makefile portability and debugging
@ 2025-11-10 13:22 Wander Lairson Costa
  2025-11-10 13:22 ` [stalld v2 1/6] Makefile: Conditionally add -mno-omit-leaf-frame-pointer Wander Lairson Costa
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Wander Lairson Costa @ 2025-11-10 13:22 UTC (permalink / raw)
  To: williams
  Cc: linux-rt-users, Wander Lairson Costa, Derek Barbosa, John Kacur,
	Juri Lelli, Chunsheng Luo

This patch series improves the stalld build system to be more portable
across different architectures and compiler toolchains while adding
better debugging capabilities. The main motivation is to eliminate
hard-coded compiler version checks that were brittle and could fail on
non-standard toolchains or different architectures.

The changes replace minimum version checks with direct compiler feature
detection tests, ensuring that compiler flags are only used when
actually supported. This approach tests each flag by attempting to
compile a minimal test program, making the build system resilient to
variations in compiler implementations across architectures like x86_64,
aarch64, s390x, i686, and powerpc. Additionally, the series adds build
environment information output and cleans up redundant checks to improve
maintainability.

The series also includes minor improvements to explicitly specify the
test target invocation and exclude development environment metadata from
version control.

Wander Lairson Costa (6):
  Makefile: Conditionally add -mno-omit-leaf-frame-pointer
  Makefile: Improve compiler flag detection for -fcf-protection
  Makefile: Explicitly run the 'test' target in the tests directory
  Makefile: Remove redundant GCC version check
  Makefile: Print BPF tool versions for debugging
  gitignore: Exclude Serena and Claude Code metadata

 .gitignore |  2 ++
 Makefile   | 42 ++++++++++++++++++++++++------------------
 2 files changed, 26 insertions(+), 18 deletions(-)

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Cc: Derek Barbosa <debarbos@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Chunsheng Luo <luochunsheng@ustc.edu>
---

-- 
2.51.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-11-25 19:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-10 13:22 [stalld v2 0/6] Improve Makefile portability and debugging Wander Lairson Costa
2025-11-10 13:22 ` [stalld v2 1/6] Makefile: Conditionally add -mno-omit-leaf-frame-pointer Wander Lairson Costa
2025-11-10 17:51   ` Clark Williams
2025-11-10 13:22 ` [stalld v2 2/6] Makefile: Improve compiler flag detection for -fcf-protection Wander Lairson Costa
2025-11-10 17:51   ` Clark Williams
2025-11-10 13:22 ` [stalld v2 3/6] Makefile: Explicitly run the 'test' target in the tests directory Wander Lairson Costa
2025-11-10 17:48   ` Clark Williams
2025-11-10 13:22 ` [stalld v2 4/6] Makefile: Remove redundant GCC version check Wander Lairson Costa
2025-11-10 17:52   ` Clark Williams
2025-11-11  0:30   ` Derek Barbosa
2025-11-10 13:22 ` [stalld v2 5/6] Makefile: Print BPF tool versions for debugging Wander Lairson Costa
2025-11-10 17:50   ` Clark Williams
2025-11-10 13:22 ` [stalld v2 6/6] gitignore: Exclude Serena and Claude Code metadata Wander Lairson Costa
2025-11-10 17:50   ` Clark Williams
2025-11-25 19:58 ` [stalld v2 0/6] Improve Makefile portability and debugging Clark Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox