From owner-freebsd-current@freebsd.org Fri Jan 15 23:00:05 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 431E3A84AE2 for ; Fri, 15 Jan 2016 23:00:05 +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 2F53210E7 for ; Fri, 15 Jan 2016 23:00:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2B5A5A84AE1; Fri, 15 Jan 2016 23:00:05 +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 11156A84AE0 for ; Fri, 15 Jan 2016 23:00:05 +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 EA9D810E6 for ; Fri, 15 Jan 2016 23:00:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id E203518AA for ; Fri, 15 Jan 2016 23:00:04 +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 8FD3F16D1F for ; Fri, 15 Jan 2016 23:00:04 +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 sjEJtxV8ksIj for ; Fri, 15 Jan 2016 23:00:01 +0000 (UTC) Subject: Re: Inconsistent -DNO_CLEAN build failure r293913 -> r294086 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 21C1F16D14 To: current@freebsd.org References: <20160115140009.GB46213@albert.catwhisker.org> From: Bryan Drewery Organization: FreeBSD Message-ID: <569979F0.9080406@FreeBSD.org> Date: Fri, 15 Jan 2016 15:00:00 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160115140009.GB46213@albert.catwhisker.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 15 Jan 2016 23:00:05 -0000 On 1/15/16 6:00 AM, David Wolfskill wrote: > OK, first: I realize that using "-DNO_CLEAN" is treading on somewhat > unstable ground. I'm testing; the results I obtained this morning were > a bit unexpected, so I'm reporting them in case said results might be > of use or interest to others. > > As indicated in the Subject, I started a couple of machines (a dedicated > "build machine" and my laptop) at r293913, updated source to r294086, > then proceeded to perform "make -j16 -DNO_CLEAN buildworld" on each. > > Please note that in each case, I have "WITH_FAST_DEPEND=1" in > /etc/src.conf. > > The laptop chugged along and completed normally; the build machine > encountered: > >>>> World build started on Fri Jan 15 04:28:48 PST 2016 > ... >>>> stage 5.1: building 32 bit shim libraries > ... > --- lib/libldns__L --- > --- libprivateldns.so.5 --- > /usr/obj/usr/src/tmp/usr/bin/ld: skipping incompatible /usr/obj/usr/src/tmp/usr/lib/libgcc_s.so when searching for -lgcc_s This is odd... > --- secure/lib/libssl__L --- > --- libssl.a --- > --- kerberos5/lib/libhx509__L --- > --- keyset.po --- > --- secure/lib/libssl__L --- > building static ssl library > --- lib/libldns__L --- > /usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lgcc_s By this point (lib/libldns__L) libgcc should be built and installed. I assume it says 'cannot find' since it is incompatible. I don't think this is a build race or FAST_DEPEND issue. It could be a -DNO_CLEAN issue. Nothing is standing out as an issue in the commit range given, except if you were building for arm. > --- secure/lib/libssl__L --- > ar -crD libssl.a `NM='nm' NMFLAGS='' lorder bio_ssl.o d1_both.o d1_clnt.o d1_lib.o d1_meth.o d1_pkt.o d1_srtp.o d1_srvr.o s23_clnt.o s23_lib.o s23_meth.o s23_pkt.o s23_srvr.o s3_both.o s3_cbc.o s3_clnt.o s3_enc.o s3_lib.o s3_meth.o s3_pkt.o s3_srvr.o ssl_algs.o ssl_asn1.o ssl_cert.o ssl_ciph.o ssl_conf.o ssl_err.o ssl_err2.o ssl_lib.o ssl_rsa.o ssl_sess.o ssl_stat.o ssl_txt.o t1_clnt.o t1_enc.o t1_ext.o t1_lib.o t1_meth.o t1_reneg.o t1_srvr.o tls_srp.o | tsort -q` > --- lib/libldns__L --- > cc: error: linker command failed with exit code 1 (use -v to see invocation) > *** [libprivateldns.so.5] Error code 1 > > make[4]: stopped in /usr/src/lib/libldns > > > from which that process didn't recover at all well... though a > re-start without "-DNO_CLEAN" completed successfully. > > Here are the relevant "uname -a" outputs: > > FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #305 r293913M/293913:1100093: Thu Jan 14 04:55:39 PST 2016 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY amd64 > > FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #306 r294086M/294086:1100094: Fri Jan 15 05:03:24 PST 2016 root@g1-252.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY amd64 > > > FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1961 r293913M/293913:1100093: Thu Jan 14 04:49:29 PST 2016 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC amd64 > > FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1962 r294086M/294086:1100094: Fri Jan 15 05:33:30 PST 2016 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC amd64 > > > One other (possibly-salient) point is that the build machine's disk > drive is an SSD. (And yes, that does tend to help make it faster.) > > Peace, > david > -- Regards, Bryan Drewery