Created attachment 164981 [details] add GOARM=7 Got this message on my BananaPi http://p.defau.lt/?seTYSCcDbdpqRpn3JbUXww ##### Building packages and commands for freebsd/arm. runtime: this system has multiple CPUs and must use atomic synchronization instructions. Recompile using GOARM=7. *** Error code 1 Here's the poudriere log with GOARM=7 http://p.defau.lt/?VcrpI6u6ZQ9WFLpFH9_2tw
Well, it is supposed to do the right thing(tm): https://github.com/golang/go/wiki/GoArm Are you cross-compiling ?
I'm running poudriere on a Banana Pi, it has a SATA port, so I just compile the ports there. Not sure if it has to be GOARM=7, it runs fine on my FreeBSD armv6 boards. it just checks for the number of CPUs while compiling https://github.com/golang/go/blob/master/src/runtime/os_freebsd_arm.go#L11 I guess it would be the same message on Raspberry Pi 2. Thanks,
Same issue on stock raspberrypi2 when i tried to build sysutils/freebsd-docker. This is not an endorsement of docker ;)
Tested patch with lang/go and lang/go14 Works well though I had to manually apply it for whatever reason. Probably just did something wrong.