-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
riscv: build failure due to Werror=cast-align #2808
Comments
14 tasks
I've the same issue on armv7l-linux
|
I think this could be fixed by setting the alignment of |
AlexandreTunstall
added a commit
to AlexandreTunstall/nixos-riscv
that referenced
this issue
Apr 2, 2024
AlexandreTunstall
added a commit
to AlexandreTunstall/nixos-riscv
that referenced
this issue
Apr 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When building for the riscv64 architecture, a build failure occurs in the test suite due to treating warnings as errors.
build log snippet
Expected behavior
A successful build.
Reproduction steps
It is possible to reproduce the build failure by cross-compiling, so no risc-v hardware is needed. You can build the following docker file on a x64 host to reproduce the build failure.
Dockerfile
Platform information:
Additional context
Not sure if catch or gcc is to blame.
The text was updated successfully, but these errors were encountered: