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)
Tue, Dec 17, 1:17 AM
Unknown Object (File)
Fri, Dec 13, 4:19 AM
Unknown Object (File)
Nov 22 2024, 7:46 AM
Unknown Object (File)
Nov 11 2024, 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
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