HomeFreeBSD

lib/msun: Exclude ignored-pragmas from -Werror

Description

lib/msun: Exclude ignored-pragmas from -Werror

This avoids build failures due to the clang 12 warning:

'#pragma FENV_ACCESS' is not supported on this target - ignored

Clang 12 currently emits this warning for all non-x86 architectures.
While this can result in incorrect code generation (e.g. on AArch64 some
exceptions are not raised as expected), this is a pre-existing issue and
we should not fail the build due to this warning.

Reviewed By: dim, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29743

Details

Provenance
arichardsonAuthored on Apr 15 2021, 3:27 PM
Reviewer
dim
Differential Revision
D29743: lib/msun: Exclude ignored-pragmas from -Werror
Parents
rG1663120ae452: linux: implement O_PATH
Branches
Unknown
Tags
Unknown