-
Notifications
You must be signed in to change notification settings - Fork 408
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
Ubuntu Build Error : ld: could not process llvm bitcode object file #166
Comments
Nobody had a solution ? |
You need to build ld64 against the version of clang that you're using. You can use new ld64 with old clang, but not the other way round. I've been meaning to update the build on the checkra1n repo, but... time. |
Thanks for the reply, i will test this x) |
But can you send me the ld64 repo that i need to build ? I think i don't have found the good repo to build... |
I've been using this: https://github.com/Siguza/ld64 The real work has been done in tpoechtrager/cctools-port though. Unfortunately that hasn't been updated to the latest ld64 source yet, but I'm hoping it'll work on newest LLVM anyway. |
Thanks, but it was the repo that i have tested so the make command is not working, i got errors... Could you just tell me with which version of llvm you managed to compile it? |
Just for the information and maybe for version-checking. Got exactly the same issue with |
Did you found an solution ? |
I had to add |
Try update your shell command lines , make sure you run root modr
…On Sat, Jun 17, 2023, 10:41 AM Slayy ***@***.***> wrote:
I tried to build PongoOS on ubuntu 22.04 and this error happened : ld:
could not process llvm bitcode object file, because
/usr/bin/../lib/llvm/libLTO.so could not be loaded file
'/tmp/stage3-c42f2a.o' for architecture arm64 clang: error: linker command
failed with exit code 1 (use -v to see invocation) make: *** [Makefile:99 :
build/Pongo] Erreur 1
Here there is the complete return after make command (txt file because
long):
https://anonfiles.com/u9sdl9x5z0/Pongo_Error_txt
If someone can help me it can be great, thanks in advance !
—
Reply to this email directly, view it on GitHub
<#166>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXBJO3PXAG5G43MO7G2AA2LXLWCWPANCNFSM6AAAAAAZKE3XQE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I tried to build PongoOS on ubuntu 22.04 and this error happened :
ld: could not process llvm bitcode object file, because /usr/bin/../lib/llvm/libLTO.so could not be loaded file '/tmp/stage3-c42f2a.o' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:99 : build/Pongo] Erreur 1
Here there is the complete return after make command (txt file because long):
https://anonfiles.com/u9sdl9x5z0/Pongo_Error_txt
If someone can help me it can be great, thanks in advance !
The text was updated successfully, but these errors were encountered: