Skip to content
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

sh build.sh --cpu arm64 results in linker command failure. #1

Closed
ghost opened this issue Dec 21, 2020 · 4 comments
Closed

sh build.sh --cpu arm64 results in linker command failure. #1

ghost opened this issue Dec 21, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 21, 2020

With the resulting error code

OS: macosx
CPU: arm
clang -o ../bin/nim -ldl -lm
Undefined symbols for architecture arm64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@Araq
Copy link
Member

Araq commented Dec 27, 2020

What does sh build.sh produce? It should detect the CPU now automatically.

@ghost
Copy link
Author

ghost commented Dec 27, 2020

What does sh build.sh produce? It should detect the CPU now automatically.

It still produces the same error.

@Araq
Copy link
Member

Araq commented Dec 27, 2020

Ok, thanks. Bummer.

@Araq
Copy link
Member

Araq commented Jan 21, 2021

It works on my M1, closing. Please reopen if still a problem for you.

@Araq Araq closed this as completed Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant