On 25 April 2013 22:39, Daiki Ueno <u...@gnu.org> wrote: > I can still reproduce this on 9.1-RELEASE. Perhaps you are missing > -pthread cflag when compiling?
Argh, you are right. What happened here is I built Paul's first test using -lpthread, but it doesn't demonstrate the problem. Then I somehow missed it when running the second test case. As expected, it fails when linked with -lpthread. Looking at FreeBSD's libthr source I see that the thread wrapper for sigaction indeed forces SA_SIGINFO unconditionally. I'll follow up.