-
Initiative
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
Feature title: Update builder to GCC 14 from gcc-toolset-14
Feature Overview:
Update wheel builder from RHEL 9's default compiler GCC 11 to GCC 14 from gcc-toolset-14. GCC 14 has more features and generates faster code in some cases. Python upstream's manylinux container use GCC 14 toolset, too. Several packages like simsimd and llvmlite do not compile with GCC 11 any more.
Product(s) associated:
RHAIIS: yes
RHEL AI: yes
RHOAI: yes
Goals:
Python wheels are compiled with GCC 14 by default.
Requirements:
- all wheel builder images have gcc-toolset-14 with C, C++, and Fortran compiler installed
- GCC 14 is the default compiler in PATH
- Packages that do not support GCC 14 are built with GCC 11 (Torch?)
- workarounds like "CC: clang" for llvmlit and simsimd are removed
Done - Acceptance Criteria:
All new Python wheel are build with GCC 14 unless they explicitly opt-in for GCC 11 or clang.
Use Cases - i.e. User Experience & Workflow:
n/a
Out of Scope:
gcc-toolset-15 update – the new version is not available for RHEL 9.6, only >= 9.7 / >= 10.1.
Documentation Considerations :
This is an internal-facing change and not directly visible to customers.
Other Considerations:
- Torch 2.7 for aarch64 and x86_64 does not compile with GCC 14
- rh-ee-jgroenen mentioned that upstream Torch 2.8 and 2.9 default to GCC 11. We may stick to GCC 11 for Torch on aarch64 and x86_64.
- Power and Z for Spyre already use GCC 14.
- Should we force a full rebuild of all packages or gradually build packages with new GCC?
- is related to
-
AIPCC-6004 Updating gcc version to 14 (s390x)
-
- Closed
-