On Dec 15, 2011, at 12:04 AM, Amos Jeffries wrote: > On 15/12/2011 4:28 a.m., Guy Helmer wrote: >> undefined reference to `__sync_fetch_and_sub_4 > > Thank you. > > Apparently that is related to GCC version. Which gcc version are you building with? > > Amos The stock compiler on FreeBSD 8.x is still gcc 4.2.1 + GPLv2 patches. I think the issue with FreeBSD on i386 is that the compiler is configured to generate code for the 80386 CPU (without any 486 or later features) by default. Thanks, Guy -------- This message has been scanned by ComplianceSafe, powered by Palisade's PacketSure.