[Bug 277958] libc: invalid internal linkage on feclearexcept
[email protected] Thu, 26 Mar 2026 23:42:49 +0000
| Newsgroups | gmane.os.freebsd.devel.standards |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277958 --- Comment #11 from [email protected] --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df39754d51b7dc65c4cf9f8b41b6fc1fc1= 35554e7 commit f39754d51b7dc65c4cf9f8b41b6fc1fc135554e7 Author: Konstantin Belousov <[email protected]> AuthorDate: 2026-03-19 17:19:09 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-03-26 23:41:14 +0000 fenv.h: stop declaring feclearexcept() extern inline The function is already exported from libm. We only need to stop declare it extern inline, and instead provide a macro which uses the internal inline function __feclearexcept_int() instead. PR: 277958 Reviewed by: dim (x86) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D55975 lib/msun/aarch64/fenv.c | 7 ++++++- lib/msun/aarch64/fenv.h | 7 +++++-- lib/msun/amd64/fenv.c | 7 ++++++- lib/msun/arm/fenv.c | 7 ++++++- lib/msun/arm/fenv.h | 5 ++++- lib/msun/i387/fenv.c | 7 ++++++- lib/msun/powerpc/fenv.c | 7 ++++++- lib/msun/powerpc/fenv.h | 5 ++++- lib/msun/riscv/fenv.c | 7 ++++++- lib/msun/riscv/fenv.h | 5 ++++- lib/msun/x86/fenv.h | 7 +++++-- 11 files changed, 58 insertions(+), 13 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=