[Bug 200485] qemu-user-static: link with -pthread segfault since r385142

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 27 18:16:15 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200485

            Bug ID: 200485
           Summary: qemu-user-static: link with -pthread segfault since
                    r385142
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: garga at FreeBSD.org
                CC: cy at FreeBSD.org, delphij at FreeBSD.org
                CC: cy at FreeBSD.org, delphij at FreeBSD.org

Created attachment 157202
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157202&action=edit
test program

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list