[Bug 272759] [lang/gcc12] only for arches not including riscv (blocks 310 packages on my list)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Jul 2023 17:57:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272759

--- Comment #4 from Jessica Clarke <jrtc27@freebsd.org> ---
If you follow it back, normally on FreeBSD we (confusingly) use fpu-glibc.h for
cpu-target.h, but that requires feenableexcept to exist. However, riscv64 has
feenableexcept as a static inline function in its fenv.h, and GCC's configure
scripts aren't prepared for that, so they think it doesn't exist, fall back on
fpu-sysv.h and then the build dies because riscv64 (like every non-x86
architecture) doesn't implement either of fp(re)setsticky.

-- 
You are receiving this mail because:
You are on the CC list for the bug.