This may already be known but I certainly didn't know about it, so heres a heads up to all users.
There is a bug no. 6410 that may or may not be related to the one that was apparently silently fixed in freebsd compilation whilst still leaving user compilation with problems for a while. "http://www.mavetju.org/mail/view_period.php?list=freebsd-bugs&year=2007&month=02" After days of troubleshooting starttls and qmail-smtpd and with some much appreciated help from the author of spamcontrol (fehcom.de) who put his finger on the reason 4.8 works, it turned out the problem was with gcc on atleast 4.7. cc (gcc) 3.3.5 (propolice) on OpenBSD 4.7 I was amased when it worked fine with a 4.8 snapshot which has. cc (gcc) 4.2.1 20070719 I couldn't find anything directly mentioning this bug but there seems to be some similar problems described in the mailing list. I don't know if they are related but anyone getting segfaults on programs which seemingly compiled fine on 4.7, try 4.8 or a snapshot as your first port of call. You can rewrite your code to get successful compilation but otherwise it may compile without error, but your program is not compiled correctly. Kc