From owner-freebsd-current@freebsd.org Wed Jul 27 23:34:44 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A483BA6E91 for ; Wed, 27 Jul 2016 23:34:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1CF5217C1 for ; Wed, 27 Jul 2016 23:34:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 18EB6BA6E90; Wed, 27 Jul 2016 23:34:44 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 163EBBA6E8F for ; Wed, 27 Jul 2016 23:34:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E0B3217C0; Wed, 27 Jul 2016 23:34:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id D70491384; Wed, 27 Jul 2016 23:34:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 96B1F23F30; Wed, 27 Jul 2016 23:34:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id BHhUEIl-MFSN; Wed, 27 Jul 2016 23:34:40 +0000 (UTC) Subject: Re: Possible race condition building libraries: head/amd64 r303329 -> r303379 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com B735523F2B To: David Wolfskill , current@freebsd.org References: <20160727124956.GV1294@albert.catwhisker.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <688dac73-e9d6-68e9-8119-2a8720dcdad0@FreeBSD.org> Date: Wed, 27 Jul 2016 16:34:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160727124956.GV1294@albert.catwhisker.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CptbKLHBU98WoiCD8EWjH1mI4EucQkrC3" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2016 23:34:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CptbKLHBU98WoiCD8EWjH1mI4EucQkrC3 Content-Type: multipart/mixed; boundary="sWDq1OAapxWPIskL4Fg61771mpbdoh5Cr" From: Bryan Drewery To: David Wolfskill , current@freebsd.org Message-ID: <688dac73-e9d6-68e9-8119-2a8720dcdad0@FreeBSD.org> Subject: Re: Possible race condition building libraries: head/amd64 r303329 -> r303379 References: <20160727124956.GV1294@albert.catwhisker.org> In-Reply-To: <20160727124956.GV1294@albert.catwhisker.org> --sWDq1OAapxWPIskL4Fg61771mpbdoh5Cr Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 7/27/2016 5:49 AM, David Wolfskill wrote: > I track head daily on both my laptop and a "build machine;" I only saw = a > problem on the latter -- not on my laptop. >=20 > (The build machine is a bit beefier, and uses an SSD as its non-volatil= e > storage; the laptop uses a hybrid disk -- in case that is useful.) >=20 > As indicated in the Subject, in each case I was performing a > source-based upgrade-in-place from r303329 to r303379. (And I've > been doing this routinely for quite some time.) >=20 > The build failed (initially -- a restart worked): >=20 > ... >>>> stage 4.2: building libraries > ... > --- secure/lib/libcrypto__L --- > Building /common/S4/obj/usr/src/secure/lib/libcrypto/dso_openssl.o > --- lib/ncurses/ncursesw__L --- > /usr/lib/libtermlibw.so -> libncursesw.so > /usr/lib/libtinfow.so -> libncursesw.so > --- kerberos5/lib/libwind__L --- > Building /common/S4/obj/usr/src/kerberos5/lib/libwind/normalize_table.S= o > --- kerberos5/lib/libheimipcc__L --- > /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lgcc_s > cc: error: linker command failed with exit code 1 (use -v to see invoca= tion) > *** [libprivateheimipcc.so.11] Error code 1 Nathan Whitehorn ran into a very similar one last year that I couldn't explain either. > --- kerberos5/lib__L --- > --- libkadm5srv.so.11 --- > /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lgcc > *** [libkadm5srv.so.11] Error code 1 >=20 > make[5]: stopped in /usr/src/kerberos5/lib/libkadm5srv=20 These shouldn't happen since libgcc is build in startup_libs and krb5 is built in prebuild_libs, which waits on startup_libs. Very strange. Can you send me the typescript please? --=20 Regards, Bryan Drewery --sWDq1OAapxWPIskL4Fg61771mpbdoh5Cr-- --CptbKLHBU98WoiCD8EWjH1mI4EucQkrC3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXmUUPAAoJEDXXcbtuRpfPNzYIAK/WS9yv8EEL8K6I4LWIJvue 2rIMJ/WYBE77dqTIEeIHjDcBGKbjFiT6iygxMcRxY7ThMdoN8gWFvpkAI+vGDFXG c3OeYgUmyo0+niIDs60VOEWxKwIk5Ub6UjY/u1JHO6hTu3aekBB3b4eF/Yv/+ZhL XP3+O4EjzMkyLzWKgvLDF/YjaDCJiCGhsdTTIrw/nAIWu+npO/XzW7Oo+D782Qei 3MP4+AAp1K0iatQB9XHW4y7CLIe4n5Z/sPCuhzmegNR+gnt397bZe3641Kgfuf3B 4YajVvjGi9Idc7yb0yq5o4HXI/t+S83PGc2BYKUhTxL0OHiO24d6Wh4rvLIGCKc= =jUqS -----END PGP SIGNATURE----- --CptbKLHBU98WoiCD8EWjH1mI4EucQkrC3--