-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Current latest vlang gives error on Raspberry Pi - v.c:(.text+0xa78): undefined reference to `__atomic_load_8' #12907
Comments
Did a fresh new git clone and same message appears today
|
Raspberry Pi would indeed nice to work :) |
@crthpl Do you know about this? |
I found a workaround for this error on my Raspberry Pi by providing proper LDFLAGS in GNUmakefile. I located, then added path to 'libatomic.so' to GNUmakefile:
After this 'make' just worked and I was able to compile v executable. |
Just tried this now not sure why it is not working:
Contents of Makefile
|
try replacing |
@bitSweetBYTES Could you kindly help with more information such as @crthpl Thanks for this suggestion by alas it does not seem to work:
Contents of Makefile
|
As it seems that LDFLAGS didn't change the c flags, try changing
to
|
@crthpl I'm having the same issue as @ckqee, adding However, @bitSweetBYTES's workaround works, part of my
And then
|
It was commit ed2d128 |
I'm using : export LDFLAGS=-latomic
make This works on Raspbian GNU/Linux 10 (buster) with
I made it work with |
On most Linux machines, On MacOS/BSDs and probably others, |
Since latest V 137fade, the BSD |
V version:
latest today
tried v up but did not work so did a git pull as well
OS:
Linux pi 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l GNU/Linux
What did you do?
date;
make;
date
What did you expect to see?
clean compilation of v compiler
What did you see instead?
The text was updated successfully, but these errors were encountered: