From owner-freebsd-current@freebsd.org Tue May 9 18:46:29 2017 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 BEC20D65E34; Tue, 9 May 2017 18:46:29 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FD93A88; Tue, 9 May 2017 18:46:29 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 8DF894918; Tue, 9 May 2017 18:46:28 +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 7498371D8; Tue, 9 May 2017 18:46:27 +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 Rqwu15DQxtIi; Tue, 9 May 2017 18:46:22 +0000 (UTC) Subject: Re: A head -r317820 incremental buildworld race: kvm_geterr_test failures for -j16 but works without -j DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 25C7171D2 To: Mark Millard , FreeBSD Toolchain , FreeBSD Current References: From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <86edb67b-fc3b-9cce-1140-100e42f91055@FreeBSD.org> Date: Tue, 9 May 2017 11:46:06 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GNblHRPl3Pnb4tw3FeIm7GFicmH7EESWc" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 09 May 2017 18:46:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GNblHRPl3Pnb4tw3FeIm7GFicmH7EESWc Content-Type: multipart/mixed; boundary="3RpEIpwxUskcbN3gkc1oAD2pk7C4rLVlN"; protected-headers="v1" From: Bryan Drewery To: Mark Millard , FreeBSD Toolchain , FreeBSD Current Message-ID: <86edb67b-fc3b-9cce-1140-100e42f91055@FreeBSD.org> Subject: Re: A head -r317820 incremental buildworld race: kvm_geterr_test failures for -j16 but works without -j References: In-Reply-To: --3RpEIpwxUskcbN3gkc1oAD2pk7C4rLVlN Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 5/9/2017 11:10 AM, Mark Millard wrote: > I've had reason to be experimenting with libkvm recently > and have repeatedly run into the following when doing > buildworld with -j16. (I tend to run full buildworlds even > for well-localized changes.) The context is having run > buildworld to completion before so the update is > incremental. >=20 > --- kvm_geterr_test --- > kvm_geterr_test.o: In function `atfu_kvm_geterr_negative_test_NULL_body= ': > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:56: undefined reference to = `errbuf_has_error' > kvm_geterr_test.o: In function `atfu_kvm_geterr_positive_test_no_error_= body': > . . . > --- kvm_geterr_test --- > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:108: undefined reference to= `errbuf_clear' > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:109: undefined reference to= `errbuf' > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:109: undefined reference to= `errbuf' > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:110: undefined reference to= `errbuf_has_error' > kvm_geterr_test.o: In function `atfu_kvm_geterr_positive_test_error_bod= y': > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:73: undefined reference to = `errbuf_clear' > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:74: undefined reference to = `errbuf' > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:74: undefined reference to = `errbuf' > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:75: undefined reference to = `errbuf_has_error' > /usr/src/lib/libkvm/tests/kvm_geterr_test.c:80: undefined reference to = `errbuf_has_error' >=20 > By contrast if I omit -j completely the incremental > buildworld runs to completion just fine. (rm -rf of the > past buildworld and so building from scratch also works.) >=20 > The context for my activity happens to use: >=20 > # more ~/sys_build_scripts.amd64-host/make_powerpcvtsc_nodebug_gcc421_b= ootstrap_clang-amd64-host.sh=20 > kldload -n filemon && \ > script ~/sys_typescripts/typescript_make_powerpcvtsc_nodebug_gcc421_boo= tstrap_clang-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \ > env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" S= RC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc-gcc421-bootstrap-clang.= amd64-host" \ > WITH_META_MODE=3Dyes \ Thanks for the report. Fixed in r318092. --=20 Regards, Bryan Drewery --3RpEIpwxUskcbN3gkc1oAD2pk7C4rLVlN-- --GNblHRPl3Pnb4tw3FeIm7GFicmH7EESWc 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 iQEcBAEBAgAGBQJZEg5vAAoJEDXXcbtuRpfP+ogIALe5uUlQZlX0o2n+2J4g73CO lxz2QzHMgPOj15S3CKgeOToX6j2/metwRZgODe66vmADwJ0f/xVgVwA/LOVzhJuy fbyV1mwwSRBiL3y3gEOKY6qqhNvA+cSVkIh1P7EIavdd5MWUE25ImXAiab/wQ1ge f8PEr4v9/JQKOdsGO6+qbyqNUrhyv/x9a9i8lc6xVfOhurNrDmgJJ9GbIBicosB/ 5NSh0sxeySqWA70APS/JoylT1GMBahYVo5ygnlo5Yr/fAmUKmB0gRlQmg5A1euBQ QgblUFO4FmseqZaiYive/YGASNh007zhMX05oZvOGX/7DO4Oec+DblgMlNnr1aU= =jAd2 -----END PGP SIGNATURE----- --GNblHRPl3Pnb4tw3FeIm7GFicmH7EESWc--