Skip to content

Conversation

@joaosaffran
Copy link
Collaborator

@joaosaffran joaosaffran commented Nov 18, 2025

Backporting LLVM_USE_SPLIT_DWARF from LLVM to fix gcc debug build

Fix: #7929

@joaosaffran joaosaffran changed the title disabling gcc debug [Pipelines] Disabling GCC Debug Stage Nov 18, 2025
@joaosaffran joaosaffran marked this pull request as ready for review November 18, 2025 20:08
@damyanp
Copy link
Member

damyanp commented Nov 18, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@llvm-beanz llvm-beanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backporting LLVM's LLVM_USE_SPLIT_DWARF flag may fix this issue by preventing linking debug information into final binaries.

@joaosaffran joaosaffran requested a review from damyanp November 19, 2025 18:14
darkbuck and others added 3 commits November 19, 2025 11:56
Summary:
- Add `-gsplit-dwarf` as an option instead of a definition.
- Only add that option on compilers supporting dwarf splitting, such as clang
  and gcc.

Reviewers: echristo, pcc

Subscribers: mgorny, aprantl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75328
@joaosaffran joaosaffran changed the title [Pipelines] Disabling GCC Debug Stage [CMake] Backport LLVM_USE_SPLIT_DWARF from LLVM Nov 19, 2025
@joaosaffran joaosaffran force-pushed the pipeline/disable-gcc-debug branch from cb6205f to 60b2511 Compare November 19, 2025 22:52
@joaosaffran joaosaffran marked this pull request as draft November 19, 2025 23:22
@damyanp damyanp marked this pull request as ready for review November 20, 2025 00:50
@joaosaffran joaosaffran merged commit 82af40d into microsoft:main Nov 20, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in HLSL Roadmap Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Nix Linux_Gcc_Debug stage failing during build due to low memory

5 participants