-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
AVR cross-compilation leads to invalid bitcast #3645
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
Comments
last I checked avr-lld is in very bad shape so I will be very surprised if there is an avr elf output..... however, avr-llvm is pretty good and there should've been proper .o files when used with build-obj command line option |
So I tried to only build the object file with zig, but running |
I tested with 0.5.0 from zig website and doing It seems something else in the interim has broken this |
Huh, weird. I currently cannot test it myself, but I will try it with a newer zig version as soon as possible. |
Uh oh!
There was an error while loading. Please reload this page.
This is semi-related to #3634. @MasterQ32 made me aware of the
setTarget
deprecation. After replacing that call withsetTheTarget
I am now getting a different error:These are the relevant files:
src/main.zig
build.zig
I am running
zig 0.5.0+d18b5f8b5
onmacOS 10.15
.The text was updated successfully, but these errors were encountered: