Skip to content
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

6.5 kernel #5

Closed
dga4130-renato opened this issue Aug 28, 2023 · 6 comments
Closed

6.5 kernel #5

dga4130-renato opened this issue Aug 28, 2023 · 6 comments

Comments

@dga4130-renato
Copy link

dga4130-renato commented Aug 28, 2023

hello,
kernel 6.5 is complaining about a different compiler version ..seems needs gcc 13.2 instead of 13.1
is it possible to fix that ?

@AndiWeiss
Copy link
Owner

I'll take a look.
Which system are you using?

@dga4130-renato
Copy link
Author

dga4130-renato commented Sep 2, 2023 via email

@AndiWeiss
Copy link
Owner

That's no so easy.
It seems that up to now there is no 'official' gcc 13.2 for ubuntu but their kernel images starting with 6.4.13 are compiled with that.
Up to that version gcc-12 works fine with that, but since then the linker complains about a not found glibc.
Currently I don't have a solution for this issue.
Maybe you can have a look here:
https://github.com/slyfox1186/script-repo/blob/main/Bash/Installer%20Scripts/GNU%20Software/build-gcc
but I didn't try that. For sure you need to adapt my scripting, too.
I'll think a bit more about that.

@AndiWeiss
Copy link
Owner

I'm doing some tries right now.
I already found a possibility to check the compiler version used for the kernel.
Now I'm going to implement a search if that compiler is available and if yes use that one.
If this is implemented you "only" need to take care that the matching compiler is installed.
My current issue is: if the complete compiler version match is not find I need to do some kind of fallback.
Currently I'm thinking of taking the highest compiler version which has been found.
This still doesn't solve your issue as the ubuntu kernel needs gcc 13.2 which is not yet available.
But if you are able to build that compiler it would work.
And - sorry, but I need some more time for that.

@AndiWeiss
Copy link
Owner

UPDATE:
Problem is NOT the gcc 13.2.
Problem is that the new kernel has a dependency on libc6 2.38 while ubuntu only has libc6 2.37 installed.
Replacing libc 'by hand' is too much effort because of the large amount of dependencies.
What you can do if you want to use a kernel >= 6.4.13:
You can compile the kernel by yourself.
Explanations for that can easily be found with the search machine of your choice.

@dga4130-renato
Copy link
Author

dga4130-renato commented Sep 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants