[PR #2249] [CLOSED] Add gentoo's gcc-config to pick proper gcc for CUDA compile #3945

Closed
opened 2026-11-07 15:31:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2249
Author: @arabek
Created: 10/13/2026
Status: ❌ Closed

Base: main ← Head: gentoo-gcc-config


📝 Commits (1)

  • 5a28f34 setup.sh: Gentoo's gcc-config picks the gcc that builds CUDA's host code (export $(gcc-config -E ) for the x86_64-pc-linux-gnu-14 entry before setup.py runs, so cmake and nvcc see gcc 14 instead of the 15 that dies in that build; STRATA_GCC_CONFIG picks another entry, empty turns the step off, and without gcc-config every other Linux is untouched)

📊 Changes

1 file changed (+15 additions, -0 deletions)

View changed files

📝 setup.sh (+15 -0)

📄 Description

Use the (export $(gcc-config -E ) for the x86_64-pc-linux-gnu-14 entry before setup.py runs, so cmake and nvcc see gcc 14 instead of the 15 that dies in that build; STRATA_GCC_CONFIG picks another entry, empty turns the step off, and without gcc-config every other Linux is untouched)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2249 **Author:** [@arabek](https://github.com/arabek) **Created:** 10/13/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `gentoo-gcc-config` --- ### 📝 Commits (1) - [`5a28f34`](https://github.com/Niko1221/Strata/commit/5a28f34410716ee6cbe08a49a746b7be8798a62a) setup.sh: Gentoo's gcc-config picks the gcc that builds CUDA's host code (export $(gcc-config -E <index>) for the x86_64-pc-linux-gnu-14 entry before setup.py runs, so cmake and nvcc see gcc 14 instead of the 15 that dies in that build; STRATA_GCC_CONFIG picks another entry, empty turns the step off, and without gcc-config every other Linux is untouched) ### 📊 Changes **1 file changed** (+15 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `setup.sh` (+15 -0) </details> ### 📄 Description Use the (export $(gcc-config -E <index>) for the x86_64-pc-linux-gnu-14 entry before setup.py runs, so cmake and nvcc see gcc 14 instead of the 15 that dies in that build; STRATA_GCC_CONFIG picks another entry, empty turns the step off, and without gcc-config every other Linux is untouched) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:31:53 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3945
No description provided.