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, Jan 24, 7:09 PM
Unknown Object (File)
Sat, Jan 18, 5:41 PM
Unknown Object (File)
Sat, Jan 18, 6:48 AM
Unknown Object (File)
Dec 17 2024, 1:17 AM
Unknown Object (File)
Dec 13 2024, 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
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