-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Failing to build on ARM due to missing atomic library #36371
Comments
|
What is the target you are compiling for? I don't think you'll need these if you compile for armv7-a |
I'm just running |
No I'm saying if your compiler is compiling for armv7-a. I said nothing about The thing to check is the default arch for your compiler, e.g. with |
This is what I get... And lscpu says
|
You are not compiling for armv7-a. You need to set it. |
You talk as if I was doing something different than just cloning the project and running "make". Am I mistaken to hope this should work? I did manage to build and run it without setting the target, and I have to assume the people who put together my distro chose a suitable default. I tried |
Correct. Because your compiler was not configured for the machine you are running it on.
That may not be a good assumption.
You also need it for |
I guess the problem has something to do with Raspbian not being a full 64-bit distro or something like that. I'm just going to close this since it depends too much on the general weirdness of the Universe. Hope it might be useful to others. |
armv7 is still 32bit. If I have to guess it's because they need to support old versioin of resperty pi hat's not v7. To be clear, I think you are running a 32bit system on a 64bit hardware and the system is configured for armv6.... |
I'm building Julia on a Raspberry Pi v4 (armv7l), and a linking step is failing due to a missing
-latomic
. If I copy the g++ command and add it, it seems to work, although I still couldn't carry out the complete build. I see there's some reference in it at the Makefile, though I cannot figure out how to test that. Could this be some problem in my system instead? How can I make this work?The text was updated successfully, but these errors were encountered: