-
Notifications
You must be signed in to change notification settings - Fork 378
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
crate rs_ws281x is compiled with undefined instruction #1570
Comments
Are you sure armv7 is correct? What rpi is this? |
That udf looks like a proper udf call, im not sure this is a cross-rs issue |
It's for rpi 3. I'm not sure if armv7 is correct, I used to compile for this target without cross and it worked. Now I need to compile for older glibc, and it's not working anymore. |
the thing is, all cross does is give you a cross compiler, it might be an issue with the cc, would want to the opcode of the instruction it's generating that is shown as udf |
Right, to me this looks like an issue with zig. I was not sure if I should report this here, in I found a way to do what I wanted to do without zig, by using a custom docker image, so this can probably be closed. |
oh, are you using zig in |
Yes, I forgot to specify that. |
Checklist
Describe your issue
Compiling crate rs_ws281x with cross for target
armv7-unknown-linux-gnueabihf
results in a illegal instruction.What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (ac4c11c 2024-09-24)
Example
Additional information / notes
Potentially related issue: ziglang/zig#16585
The text was updated successfully, but these errors were encountered: