Date: Mon, 01 Jun 2015 06:49:50 -0700 From: Sean Bruno <sbruno@ignoranthack.me> To: freebsd-arm@freebsd.org Subject: Re: Segfault when linking with -pthread on recent stable/10 ARM [fixed] Message-ID: <556C62FE.1070105@ignoranthack.me> In-Reply-To: <F6688795-4F2A-4061-9941-B644A360FCA7@FreeBSD.org> References: <F6688795-4F2A-4061-9941-B644A360FCA7@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 05/27/15 03:04, Renato Botelho wrote: > I’m building some packages for arm.armv6 on stable/10 for a while > using poudriere + native-tools. Last week I updated jails to recent > stable/10 and started to see the same issue on 2 ports > (net/openldap24-client and net/ntp). I noted there were a lot of > ARM MFCs recently so probably we got a regression at some point. > > I also created a regular jail, without native-xtools, and result is > the same: > > checking for GNU Pth pthread.h... no checking for sched.h... > (cached) yes checking for pthread_create in default libraries... > no checking for pthread link with -kthread... no checking for > pthread link with -pthread... Segmentation fault (core dumped) no > checking for pthread link with -pthreads... no checking for pthread > link with -mthreads... no checking for pthread link with -thread... > no checking for pthread link with -lpthread -lmach -lexc -lc_r... > no checking for pthread link with -lpthread -lmach -lexc... no > checking for pthread link with -lpthread -Wl,-woff,85... no > checking for pthread link with -lpthread... Segmentation fault > (core dumped) no checking for pthread link with -lc_r... no > checking for pthread link with -threads... no checking for pthread > link with -lpthreads -lmach -lexc -lc_r... no checking for pthread > link with -lpthreads -lmach -lexc... no checking for pthread link > with -lpthreads -lexc... no checking for pthread link with > -lpthreads... no configure: error: could not locate usable POSIX > Threads ===> Script "configure" failed unexpectedly. Please report > the problem to delphij@FreeBSD.org [maintainer] and attach the > "/wrkdirs/usr/ports/net/openldap24-client/work/openldap-2.4.40/config. log" > > including the output of the failure of your make command. Also, it might be > a good idea to provide an overview of all packages installed on > your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** > Error code 1 > > I've collected conftest.c used by configure and also compiler > arguments used during test: > > http://pastebin.com/7hwn9LSW > > -- Renato Botelho > > _______________________ Just as a follow up, this was fixed in the current release of qemu-static-user by Stacey. Juergen has updated the port so you should be able to pkg update or rebuild to get these fixes. https://github.com/seanbruno/qemu-bsd-user/commits/bsd-user sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJVbGL6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kMfUIAKGgA/ABpRQ+jm6zGa0aoRUO yq5e/mSvwrkpWI2sCN8G2RgRPD8hlMqkw6myNlkqGhMDaBpK7VB5sLCxHXrsQp+N 0B6DhAE6wlt/z9bNeeuTuJSt5AN0ku6AVtfAz4mBKies41whdcUDUldoif3lhiw7 F1OPlSapTJhOLDdYqVfBcnIHkc/6CTYp8eHaqtOg2M4JxmN12HgsNy5PcstI/K/n Cx9VxzM8iHnBE6kBULtTMuAMSD9Tpnbjz38A3wsd4HeNRa5ml00A2lfEUh2JWtKx ll5aEDi1dLyBBvq0jwuQEDzQe2OYikie8yKw7vedPS8/pg+dUOV2o5I1iG+X/mk= =kGQ9 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?556C62FE.1070105>