[Bug 277958] libc: invalid internal linkage on feclearexcept

[email protected] Mon, 30 Mar 2026 17:16:45 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277958

--- Comment #21 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D6b89f5360f8441ffd1a3e8db7375ed3cc=
dba7d2a

commit 6b89f5360f8441ffd1a3e8db7375ed3ccdba7d2a
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-03-29 01:27:30 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-03-30 16:57:01 +0000

    msun/riscv: convert fenv functions to proper linkage

    namely
            fegetexceptflag(3)
            fesetexceptflag(3)
            feraiseexcept(3)
            fetestexcept(3)
            fegetround(3)
            fesetround(3)
            fegetenv(3)
            feholdexcept(3)
            fesetenv(3)
            feupdateenv(3)
            feenableexcept(3)
            fedisableexcept(3)
            fegetexcept(3)

    PR:     277958
    Reviewed by:    dim
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D56139

 lib/msun/riscv/fenv.c | 84 +++++++++++++++++++++++++++++++++++++++++++----=
----
 lib/msun/riscv/fenv.h | 51 +++++++++++++++++++++++--------
 2 files changed, 110 insertions(+), 25 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=