Created attachment 223657 [details] patch src/unix/sys-unix.c uses fpsetmask to workaround a bug that is not present since FreeBSD 4.0. This issue also affected Firefox and was resolved 9 years ago https://bugzilla.mozilla.org/show_bug.cgi?id=789436#c27 fpsetmask executions cause R build to crash on powerpc64(le), since new SIGFPE kernel code doesn't take into account old workarounds.
Thanks, looks good.
A commit references this bug: Author: pkubaj Date: Sun Mar 28 11:59:03 UTC 2021 New revision: 569385 URL: https://svnweb.freebsd.org/changeset/ports/569385 Log: math/R: remove obsolete fpsetmask src/unix/sys-unix.c uses fpsetmask to workaround a bug that is not present since FreeBSD 4.0. This issue also affected Firefox and was resolved 9 years ago https://bugzilla.mozilla.org/show_bug.cgi?id=789436#c27 fpsetmask executions cause R build to crash on powerpc64(le), since new SIGFPE kernel code doesn't take into account old workarounds. PR: 254621 Approved by: jrm (maintainer) Changes: head/math/R/files/patch-src_unix_sys-unix.c