-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unable to build for freebsd arm v7 #627
Comments
Copying the i386 definition to arm successfully compiles ( |
@Lomanic It works like a charm. I also copied the disk_freebsk_386 to arm. |
It would be nice to have support for all the potential FreeBSD platforms, I believe this would be:
|
https://github.com/golang/go/wiki/GoArm#supported-operating-systems
I still have the plan, for months now, to install FreeBSD on a Rapsberry Pi Model B 512 MB (armv6) to properly fix #543 (and this issue now too). I just did not manage to get around it in my limited free time. Keep in mind that an armv7 host is able to run an armv6 binary without problem (only lacking some optimizations). For arm64, there is this path on Scaleway or buying a Pine64 board. |
I'm guessing you are hoping to generate the cgo file there in case a simple copy is not completely correct? If so, I think @W0CHP mentioned an arm system with a working buildchain? |
I have created a PR to add AMR support files. But generate by using cgo on real system is better than just a copy. If you can run cgo on your system please make a comment on #632. Thank you! |
perhaps this is solved by #632. feel free to re-open this issue if something wrong. |
Describe the bug
When building for freebsd arm7 cpu, I got compilation errors
To Reproduce
env GOOS=freebsd GOARCH=arm GOARM=7 go
Expected behavior
Compilation success
Environment (please complete the following information):
I'm cross compiling on a linux 64 bit for freebsd arm v7.
Additional context
go env
The text was updated successfully, but these errors were encountered: