FreshROMs / android_kernel_samsung_exynos9610_mint

A balanced, optimized kernel for Samsung Galaxy devices on the Exynos 9610 platform.
Other
62 stars 44 forks source link

Move to a newer toolchain #14

Open TenSeventy7 opened 1 year ago

TenSeventy7 commented 1 year ago

The current Proton Clang/LLVM 13 toolchain Mint Kernel is using no longer works properly on newer glibc versions, notably shipping versions on Fedora 37. I've been building them locally using an Ubuntu 22.04 toolbox instance, but even this isn't sustainable.

We have two options, both will need work on the source tree.

  1. Upgrade the LLVM toolchain we're using. We would need to determine the new optimizations as building with them results into an unbootable kernel.

  2. Move to GCC, even Cruel-GCC 11.x works fine. Our tree has a significant amount of code quality issues that needs fixing if we want to fully take advantage of this toolchain, though.