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:
Date: Sun Mar 8 08:06:43 UTC 2020
New revision: 528002
Update to 6.2.0 release.
Submitted by: firstname.lastname@example.org
No, I haven't done any tests on mips or mips64.