Mikolaj Golub <to.my.troc...@gmail.com> writes: > The problem is in libgomp/team.c. gomp_thread_start() does gomp_sem_init() > but gomp_sem_destroy() is never called. FreeBSD implementation of sem_init() > allocates some memory for semaphore. This patch solves the problem for me:
Thanks for tracking that down, and filing the bug report with the patch. Ian