-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Linux 5.12.9 and add missing packages on Archlinux/Manjaro... #159
Conversation
…n readme Update to Linux 5.12.9 and add missing package on Archlinux/Manjaro on readme Signed-off-by: Bensuperpc <[email protected]>
Thanks for the pull request! Is there any real reason to upgrade to Linux 5.12.9? I do not typically upgrade from the first stable release unless there is a build fix because it creates unnecessary churn. In other words, your profiling data is not going to really change from 5.12 to 5.12.9. If the build is broken for you without the upgrade then sure. What build error did you see due to lack of |
I usually keep the linux kernel as up to date as possible with the latest patches I tested with this command: Sorry for my English, I'm French ^^ |
Definitely a good practice. In this particular case, there is not really much of a point. The stable releases only include bug fixes, which are almost always only seen at run time. Given that we are not running these kernels, only building them, I do not think it is worth upgrading it but I do not have a strong opinion.
Thanks for the command, I will take a look. The addition of
Just a few comments:
Your English is perfectly fine :) |
I would like to make a docker container with the compiler, some arguments are currently unnecessary, but they will be editable when building the docker image
I will change "kernel-allyesconfig" to "llvm, thank you for the advice do you know how to make a static toolchain, which can be used on most linux distributions without the dependencies (or as little as possible), the "-static" flag is made for that, but is it with LLVM + clang is there a better way ?
Thank you ^^ |
It is currently not possible to create a static build of Clang, and we are tracking this as #150. |
As Harsh pointed out, we are tracking this already. glibc is very hard to statically link against so we would need to use something like musl, which LLVM has some minor issues being linked against (although Alpine Linux does it so it should not be too hard). However, if you are building this toolchain in a Docker container, why not just require that the toolchain also be run in that same container? |
@bensuperpc I opened #160 and #161 with full attribution to you on the commits that you did because I noticed a few other things that needed to be fixed. Please take a look! For the record, I do not think that the uprev to Linux 5.12.9 is necessary but you did the work already so it does not hurt. Cheers! |
Thank you for your answers. |
Closes: ClangBuiltLinux#159 Signed-off-by: Bensuperpc <[email protected]> [nathan: Reworded commit message] Signed-off-by: Nathan Chancellor <[email protected]>
Closes: ClangBuiltLinux#159 Signed-off-by: Bensuperpc <[email protected]> [nathan: Reworded commit message] Signed-off-by: Nathan Chancellor <[email protected]>
Closes: ClangBuiltLinux#159 Signed-off-by: Bensuperpc <[email protected]> [nathan: Reworded commit message] Signed-off-by: Nathan Chancellor <[email protected]>
Update to Linux 5.12.9 and add missing packages on Archlinux/Manjaro on readme
Signed-off-by: Bensuperpc [email protected]