Created attachment 212222 [details] Patch for gmp Compile and "make test" tested on: FreeBSD 13.0-CURRENT #0 r358620: (amd64) - With and without optimization FreeBSD 13.0-CURRENT #0 r358691 (arm64) - Using generic aarch64 optimization (set by gmp by default) As far as I can tell it looks like gmp depends on /proc/cpuinfo to determine CPU model for arm64 (https://gmplib.org/repo/gmp-6.2/file/tip/config.guess#l175) which isn't available on FreeBSD and it's beyond my skill to improve CPU detection. On arm64 it compiles irregardless if CPU optimization is set or not so it doesn't cause any build failures. Removed MAKE_JOBS_UNSAFE, can't trigger any compilation failures. Patches removed as fixes are in upstream tree. Tested ok using Poudiere, 12.1-RELEASE (amd64)
(In reply to daniel.engberg.lists from comment #0) Did you try building it on mips and mips64 without MAKE_JOBS_UNSAFE?
A commit references this bug: Author: ale Date: Sun Mar 8 08:06:43 UTC 2020 New revision: 528002 URL: https://svnweb.freebsd.org/changeset/ports/528002 Log: Update to 6.2.0 release. PR: 244658 Submitted by: daniel.engberg.lists@pyret.net Changes: head/math/gmp/Makefile head/math/gmp/distinfo head/math/gmp/files/ head/math/gmp/pkg-plist
Hi, No, I haven't done any tests on mips or mips64.