-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Fix a Typo Which Causes It Unable to Compile with Old Glibc #5694
Conversation
Fix a typo which causes it unable to compile with old glibc
But this isn't a typo - there is no SYS_get_cpu on my system (Arch Linux with up-to-date Linux and glibc), only SYS_getcpu. Perhaps SYS_get_cpu was a typo in the headers that was later fixed? See the discussion at #5557 |
Maybe this is specific to the old version of glibc? Here is more info about my system:
And |
Maybe ifdef it specifically for that version of glibc |
See ggerganov/whisper.cpp#1897 for a proposed solution handling both SYS_ names. |
I've searched through various versions of Linux but couldn't locate any reference to https://elixir.bootlin.com/linux/latest/A/ident
This is strange. |
I encoutered this error when compiling llama.cpp.
I followed the comiler suggestions to fix the typo and then successfully compiled it.