-
-
Notifications
You must be signed in to change notification settings - Fork 577
Cross-compiling fails from 64-bit linux to arm linux #142
Comments
I get the same error when attempting to build a linux binary from a Mac |
I haven't had a chance to run this yet. I build Linux binaries no problem, but not arm. My gut says it's an arm/SQLite issue judging by the output. I'm traveling so I haven't been able to run the exact same command yet. I'll post when I do. |
Do Linux binaries build for you, from a Mac? |
Yes, but I haven't tried arm yet. I think it's a problem with arm and SQLite. But not sure. |
I've worked the maintainer of the sqlite driver, and helped him fix the build issues. See mattn/go-sqlite3#374 and mattn/go-sqlite3#372 If you do a If someone else could test, I've tested locally, but I don't like to close until a 3rd party has confirmed. |
Thanks! That fixed my problem building linux binaries from the Mac |
Woot!! Yay!! |
I did some additional digging last night and found the same thing, I was lacking gcc compilers for my target ARM platform, rectifying that fixed the build issue, which I think means the overall issue here is closed, but I wonder if it's possible to get better feedback from
Then guessing from there. As a secondary issue, when I got the built binary to my target platform (Raspberry Pi 3) it couldn't find the assets. Some poking around after that revealed that the initial |
I get the following output when trying to create a buffalo build for another target using
https://gist.github.com/nuclearsandwich/a429552a22420939ca7ad1951d924b2e
I'm pretty green so it could very well be user error with the compiler toolchain but I also don't know how to get more info beyond
Error: exit status 2
.Thanks!
The text was updated successfully, but these errors were encountered: