compiler/gcc: Raise minimum GCC version for kernel builds to 4.8
Quoted 8 lines · Will Deacon
It is very rare to see versions of GCC prior to 4.8 being used to build the mainline kernel. These old compilers are also known to have codegen issues which can lead to silent miscompilation:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145
Raise the minimum GCC version to 4.8 for building the kernel and remove some tautological
Kconfigdependencies as a consequence.
My hexagon compiler is v4.6.1, and I have been unable to find a more recent version. Does anyone happen to have a pointer to a hexagon toolchain with gcc 4.8 or later ?
Thanks,
Guenter
Quoted 6 lines · Guenter Roeck
Quoted 4 lines · Will Deacon
It is very rare to see versions of GCC prior to 4.8 being used to build the mainline kernel. These old compilers are also known to have codegen issues which can lead to silent miscompilation:
Quoted 8 lines
Quoted 4 lines
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145
Raise the minimum GCC version to 4.8 for building the kernel and remove some tautological
Kconfigdependencies as a consequence.My hexagon compiler is v4.6.1, and I have been unable to find a more recent version. Does anyone happen to have a pointer to a hexagon toolchain with gcc 4.8 or later ?
IIUC, hexagon moved to LLVM, though that target still has issues building the kernel.
https://github.com/ClangBuiltLinux/linux/issues?q=is%3Aopen+is%3Aissue+label%3A%22%5BARCH%5D+hexagon%22
Signature · 2 lines
Thanks, ~Nick Desaulniers
Hi Nick,
Quoted 12 lines · Nick Desaulniers
Quoted 11 lines · Guenter Roeck
Quoted 8 lines · Will Deacon
It is very rare to see versions of GCC prior to 4.8 being used to build the mainline kernel. These old compilers are also known to have codegen issues which can lead to silent miscompilation:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145
Raise the minimum GCC version to 4.8 for building the kernel and remove some tautological
Kconfigdependencies as a consequence.
Quoted 8 lines
Quoted 3 lines
My hexagon compiler is v4.6.1, and I have been unable to find a more recent version. Does anyone happen to have a pointer to a hexagon toolchain with gcc 4.8 or later ?
IIUC, hexagon moved to LLVM, though that target still has issues building the kernel.
https://github.com/ClangBuiltLinux/linux/issues?q=is%3Aopen+is%3Aissue+label%3A%22%5BARCH%5D+hexagon%22
That won't help me for my build tests. It is bad enough having to maintain one compiler. I don't want to add another one to the mix, and I'll happily leave llvm build tests for ClangBuiltLinux. Guess I'll have to stop hexagon test builds starting with 5.8.
Guenter
Quoted 20 lines · Guenter Roeck
Hi Nick,
Quoted 16 lines · Nick Desaulniers
Quoted 14 lines · Guenter Roeck
Quoted 8 lines · Will Deacon
It is very rare to see versions of GCC prior to 4.8 being used to build the mainline kernel. These old compilers are also known to have codegen issues which can lead to silent miscompilation:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145
Raise the minimum GCC version to 4.8 for building the kernel and remove some tautological
Kconfigdependencies as a consequence.My hexagon compiler is v4.6.1, and I have been unable to find a more recent version. Does anyone happen to have a pointer to a hexagon toolchain with gcc 4.8 or later ?
Quoted 8 lines
Quoted 4 lines
IIUC, hexagon moved to LLVM, though that target still has issues building the kernel.
https://github.com/ClangBuiltLinux/linux/issues?q=is%3Aopen+is%3Aissue+label%3A%22%5BARCH%5D+hexagon%22That won't help me for my build tests. It is bad enough having to maintain one compiler. I don't want to add another one to the mix, and I'll happily leave llvm build tests for ClangBuiltLinux. Guess I'll have to stop hexagon
:( We could use the additional test coverage.
Quoted 3 lines
test builds starting with 5.8.
Guenter
Signature · 2 lines
Thanks, ~Nick Desaulniers
Quoted 3 lines
-----Original Message-----
From: [email protected] <linux-hexagon- [email protected]> On Behalf Of Nick Desaulniers
...
Quoted 12 lines · Guenter Roeck
Quoted 11 lines · Will Deacon
Quoted 8 lines
It is very rare to see versions of GCC prior to 4.8 being used to build the mainline kernel. These old compilers are also known to have codegen issues which can lead to silent miscompilation:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145
Raise the minimum GCC version to 4.8 for building the kernel and remove some tautological
Kconfigdependencies as a consequence.
Quoted 8 lines
Quoted 3 lines
My hexagon compiler is v4.6.1, and I have been unable to find a more recent version. Does anyone happen to have a pointer to a hexagon toolchain with gcc 4.8 or later ?
IIUC, hexagon moved to LLVM, though that target still has issues building the kernel.
https://github.com/ClangBuiltLinux/linux/issues?q=is%3Aopen+is%3Aissue+lab
el%3A%22%5BARCH%5D+hexagon%22
Indeed, we did move to llvm. The build works with the clang_rt-builtins lib. But that issue indicates that it's an unnecessary wart to require that. From what I understand, other arches contribute these builtins content to the kernel build, so we'll do the same.
I'll prioritize this update.
-Brian