Created attachment 157202 [details]
When building ARM packages on stable/10, using poudriere + qemu-user-static after revision 385142, binaries linked against -pthread crash with segmentation fault.
For instance, you can use net/openldap24-client or net/ntp to test.
I'm going to attach conftest.c, obtained from openldap24-client configure script, that can be used to test too, here are compiler arguments:
cc -o conftest -O2 -pipe -mfloat-abi=softfp -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync -fno-strict-aliasing -I/usr/local/include conftest.c -pthread -L/usr/local/lib
emulators/qemu-user-static is maintained by nox@
I won't reassign since I presume all people on this issue know whats going on, but CC'ing MAINTAINER for maintainer-feedback
Stacey has come up with this change and it resolves things for me. I'll ask the port maintainer to do an update.
This patch fixed the issue for me. Thanks!
A commit references this bug:
Date: Fri May 29 18:23:31 UTC 2015
New revision: 387876
Catch up with github tree, fixing bsd-user pthread crashes among
other things - changelog: