Created attachment 199574 [details] patch GCC requires including sys/param.h for u_int definitions. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
On powerpc64 I get: pkg-static: Unable to access file /wrkdirs/usr/ports/java/java3d/work/stage/usr/local/openjdk8/jre/lib/powerpc64/libj3dcore-ogl.so:No such file or directory
Sorry, wrong log. On powerpc64 I get: gmake[1]: *** No rule to make target '/usr/local/share/icebox/chipdb-lm4k.txt', needed by 'share/arachne-pnr/chipdb-lm4k.bin'. Stop.
(In reply to Mark Linimon from comment #2) Can you try to update devel/icestorm first and then build arachne-pnr?
(In reply to Mark Linimon from comment #2) Built with Poudriere: https://talos.anongoth.pl/data/powerpc64-default/2018-11-30_13h34m38s/logs/arachne-pnr-g20181021.log
Forcing a build of icestorm allows it to build with the patch.
A commit references this bug: Author: linimon Date: Fri Dec 7 00:04:10 UTC 2018 New revision: 486811 URL: https://svnweb.freebsd.org/changeset/ports/486811 Log: Archs using base gcc require including sys/param.h for u_int definitions. PR: 233538 Submitted by: Piotr Kubaj Reviewed by: maintainer Changes: head/devel/arachne-pnr/files/ head/devel/arachne-pnr/files/patch-src_util.cc