From owner-freebsd-x11@FreeBSD.ORG Wed Jun 2 14:23:43 2010 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE15B1065672 for ; Wed, 2 Jun 2010 14:23:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 326588FC16 for ; Wed, 2 Jun 2010 14:23:42 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o52DuJoN086918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jun 2010 16:56:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o52Du6n8055597; Wed, 2 Jun 2010 16:56:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o52Du6ip055596; Wed, 2 Jun 2010 16:56:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 2 Jun 2010 16:56:06 +0300 From: Kostik Belousov To: John Hein Message-ID: <20100602135606.GP83316@deviant.kiev.zoral.com.ua> References: <4C063C62.4010405@gmail.com> <19462.24996.197326.416833@gossamer.timing.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LAkjzhD0n6ZnzDVV" Content-Disposition: inline In-Reply-To: <19462.24996.197326.416833@gossamer.timing.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: x11@freebsd.org, Vitaly Magerya , bug-followup@freebsd.org Subject: Re: Can someone take a look at ports/143723 (graphics/libdrm fails to install some files)? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 14:23:43 -0000 --LAkjzhD0n6ZnzDVV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 02, 2010 at 07:50:28AM -0600, John Hein wrote: > Vitaly Magerya wrote at 14:11 +0300 on Jun 2, 2010: > > PR ports/143723 [1] was closed with originator timeout, but the bug is > > still present, a number of people can reproduce it, a workaround is > > present and I will provide any further feedback needed (I already sent > > my logs there). > >=20 > > Can someone take a look at at? At least reopening it would be a start. > >=20 > > I mailed the committer who closed it (nork@), but no response so far. > >=20 > > [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=3D143723 >=20 > It happens for me on 7.2-RELEASE, but not on 7.2-stable from the > end of April. >=20 > The problem boils down to this test done by the configure > script: >=20 > % cat foo.c > int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); } > int atomic_cmpxchg(int i, int j, int k) { return __sync_val_compare_and_s= wap (&i, j, k); } >=20 > int > main () > { > return 0; > } >=20 > On 7.2-RELEASE, I get: >=20 > conftest.o(.text+0x15): In function `atomic_add': > : undefined reference to `__sync_fetch_and_add_4' > conftest.o(.text+0x3b): In function `atomic_cmpxchg': > : undefined reference to `__sync_val_compare_and_swap_4' >=20 > That causes the 'checking for native atomic primitives' in > the configure script to fail. >=20 > I haven't yet tracked down which difference between 7.2-RELEASE > and 7-stable causes this. r202703 --LAkjzhD0n6ZnzDVV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwGYvYACgkQC3+MBN1Mb4iT+ACgh7qp95q9w0mW3nBunlU6X1vr 8bsAoIWI75RO2b55BUAgAMrtyyEVXMAw =5KUg -----END PGP SIGNATURE----- --LAkjzhD0n6ZnzDVV--