Skip to content

Conversation

@rockyzhang
Copy link

RISC-V, like arm/arm64 is an architecture requires more strict alignment.

Disable the warning like arm/arm64 to make it buildable.

RISC-V, like arm/arm64 is an architecture requires more strict
alignment.

Disable the warning like arm/arm64 to make it buildable.
@belegdol
Copy link
Contributor

I believe @cuavas preferred to actually fix the code causing the warnings rather than disabling them. As such, it could help if you provided a build log with -Wno-error=cast-align. This way we would know which code parts generate the warnings.

@cuavas
Copy link
Member

cuavas commented Dec 11, 2025

Disabling the warnings doesn't fix the issues. We need to start addressing this rather than just suppressing the warnings.

@rockyzhang
Copy link
Author

I'm collecting the log with -Wno-error=cast-align, but seems there are quite some fix needs to be done.

@MooglyGuy
Copy link
Contributor

I'm collecting the log with -Wno-error=cast-align, but seems there are quite some fix needs to be done.

Feel free to post the results on a publicly-accessible spot, perhaps they're things that other people can help with.

@rockyzhang
Copy link
Author

rockyzhang commented Dec 14, 2025

make.log.gz

here is the build log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants