You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot build using the makefile, at the end I get this error:
could not process llvm bitcode object file, because /usr/bin/../lib/llvm/libLTO.so could not be loaded file '/tmp/stage3-419734.o' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:99: build/Pongo] Error 1
The text was updated successfully, but these errors were encountered:
First, I highly recommend you check out #85. Second, if you're on Ubuntu, try adding the Checkra1n repo (and some packages) by doing so: echo 'deb https://assets.checkra.in/debian /' | sudo tee /etc/apt/sources.list.d/checkra1n.list sudo apt-key adv --fetch-keys https://assets.checkra.in/debian/archive.key sudo apt-get update sudo apt-get install -y ld64 cctools-strip clang llvm gcc.
You can then run: sudo make -C newlib distclean; sudo make -C newlib all and it should clean your build directory and build the first part anew.
Then, run: sudo make all
This is what worked for me on my WSL2 Ubuntu distro.
Here's a screenshot of what you should wind up with:
EDIT: Sorry to necro an old issue. I just wanted to put this out there to help prevet future repeats of this problem.
Also, having this exact issue in ubuntu 20.04. Ran sudo make -C newlib distclean; sudo make -C newlib all then sudo make all with same results as originally posted. I can start a new ticket if preferred.
I cannot build using the makefile, at the end I get this error:
could not process llvm bitcode object file, because /usr/bin/../lib/llvm/libLTO.so could not be loaded file '/tmp/stage3-419734.o' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:99: build/Pongo] Error 1
The text was updated successfully, but these errors were encountered: