Skip to content

glibc: Pass -Qunused-arguments when building libc_nonshared.a. #21119

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

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Aug 18, 2024

For some platforms, the math-related flags are ignored and produce warnings. There's nothing we can do about that, so just silence them.

This started showing up after #20909. For example, for mips64-linux-gnuabi64.2.32:

warning: overriding currently unsupported rounding mode on this target [-Wunsupported-floating-point-opt]

The warning is confusingly worded; it's just informing us that it's disabling rounding math despite us passing -frounding-math. So it's the same as if we hadn't passed -frounding-math in the first place.

For some platforms, the math-related flags are ignored and produce warnings.
There's nothing we can do about that, so just silence them.
@andrewrk andrewrk merged commit 3fb6e46 into ziglang:master Aug 23, 2024
10 checks passed
@alexrp alexrp deleted the glibc-warnings branch August 23, 2024 08:17
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.

2 participants