[Bug 256618] databases/mariadb10[345]-server: patch and unbreak on riscv64

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Jun 2021 13:23:43 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256618

Mitchell Horne <mhorne_at_freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mhorne_at_freebsd.org

--- Comment #6 from Mitchell Horne <mhorne_at_freebsd.org> ---
(In reply to Robert Clausecker from comment #4)

Hi,

I'm happy to provide a patch for the base system to define the missing values
on riscv. However, it is worth noting that the reason we have not done so thus
far is because the unstandardized ieeefp.h has long been deprecated in favor of
fenv.h, which is part of the C99 standard.

It seems the better fix would be to remove this outdated and FreeBSD-specific
code block from MariaDB, and make use of the fenv(3) functions like other
platforms do. It looks like there are existing feature flags for this,
HAVE_FEDISABLEEXCEPT, and HAVE_FESETROUND.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tue Jun 15 2021 - 13:23:43 UTC

Original text of this message