-
Notifications
You must be signed in to change notification settings - Fork 49
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
Concerning warning compiling under Nerves #166
Comments
Need some details, is the system a 64 bit system or 32? because that is a 32 bit compiled ELF file. Looks like I need to get #165 done sooner rather than later. |
Building for an Rpi0 in this case. Should be 32 bit. Definitely ARM. |
It seems to work fine ... :) |
I just hit a similar warning. Maybe this is somehow cross compiling the NIF, but still trying to load it for the host system arch?
Edit: Seems like it's not working for me on the device, so might be something else. |
@LostKobrakai is it ARM32? |
@warmwaffles yes. It's armv7 |
Is that the same as a ARM Cortex-A72? I've got a spare raspberry pi compute module 4 that I've been needing to setup and I could probably use the push to make it happen. |
Ah no, it is "ARMv8-A" but I'll still get it setup regardless tonight and will do some poking. |
The warning is from building the firmware, so no hardware needed, but I guess it's still good to be able to confirm it working on actual hardware as well. |
I just setup a test nerves project and tried compiling for arm 32 (rpi) and arm 64 (rpi4) and got the same error for both. |
I've put the example project on github. It seems on linux (CI) I get the error @lawik was talking about: |
I've cleaned up the make file some to have a more organized compilation output. But I still can not figure out why this is error. I'll look in to this more soon. |
Can confirm this is happening to us on a different Nerves project (RPi 3). Happy to provide extra info if needed, though the branch that uses |
I can not figure out what is up with generating the wrong ELF type. For release 0.7.6 I make the Makefile follow closely to what Compiling circuits_gpio
Compiling exqlite
|
@RickCarlino I think we resolved it with this commit 57b872a Was chatting with some other nerves people in the Elixir slack
So it's a known annoying thing. Looking at |
Warning is gone and running the fw built works as well. So seems to be solved from my side. |
Is this something to worry about?
I haven't tried it yet, maybe it works, I'll update as I do.
The text was updated successfully, but these errors were encountered: