Page MenuHomeFreeBSD

lib/msun: Fix x86 GCC6 build after 221622ec0c8e184
ClosedPublic

Authored by arichardson on Mar 12 2021, 6:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 7:46 AM
Unknown Object (File)
Mon, Nov 11, 11:17 PM
Unknown Object (File)
Oct 21 2024, 4:51 PM
Unknown Object (File)
Sep 27 2024, 10:19 AM
Unknown Object (File)
Sep 20 2024, 10:15 PM
Unknown Object (File)
Sep 15 2024, 8:35 PM
Unknown Object (File)
Sep 9 2024, 4:36 PM
Unknown Object (File)
Sep 8 2024, 12:32 PM
Subscribers

Details

Summary

Apparently GCC only supports arithmetic expressions that use static
const variables in initializers starting with GCC8. To keep older
versions happy use a macro instead.

Fixes: 221622ec0c ("lib/msun: Avoid FE_INEXACT for x86 log2l/log10l")
Reported by: Jenkins

Test Plan

compiles now.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable