[all-commits] [llvm/llvm-project] 91b5be: [flang] Tighten requirements on some glibc float12...
David Truby via All-commits
all-commits at lists.llvm.org
Wed Oct 16 06:49:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91b5bef358e6763c5e18e34b1bc37e64114b3e04
https://github.com/llvm/llvm-project/commit/91b5bef358e6763c5e18e34b1bc37e64114b3e04
Author: David Truby <david.truby at arm.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics-library.cpp
M flang/runtime/Float128Math/math-entries.h
Log Message:
-----------
[flang] Tighten requirements on some glibc float128 functions (#110651)
j0l, j1l, jnl, y0l, y1l and ynl are glibc extensions rather than
standard POSIX functions, and so are not available in every Linux libc.
This patch checks if `__GLIBC__` and `_GNU_SOURCE` are defined before
using
these functions.
This patch allows the float128 runtime to build with musl libc on Linux.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list