From owner-freebsd-current@freebsd.org Thu Aug 16 16:53:39 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC00B106E40F for ; Thu, 16 Aug 2018 16:53:39 +0000 (UTC) (envelope-from ler@lerctr.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 54C718D45C for ; Thu, 16 Aug 2018 16:53:39 +0000 (UTC) (envelope-from ler@lerctr.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1A385106E402; Thu, 16 Aug 2018 16:53:39 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4896106E3FF for ; Thu, 16 Aug 2018 16:53:38 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:bb:dcff:fe50:d900]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.lerctr.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 790368D45A for ; Thu, 16 Aug 2018 16:53:38 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oNycxP93LkQS3/mdYWGTM6TG1yORxvC3xesHUdKlHZU=; b=vmE7+uVL/hyTRiqYrYnDF4pKYO zIi1JVVQclJRWkIMaK+DgzQCph+Gr10L/WEyzn2SicSZmMZMalu4UpeUlbNjipuEqvpa37F61Ju+Q iWL9HPIN4P8YyLr3r4zpuo4OfceZw4OExwcHJ0eXeRngTGG+HmTAStdyoXdYlkmhkh7g=; Received: from [2600:1700:210:b18f:4c0:e5c4:68ef:d5be] (port=54517 helo=ler-imac.local) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fqLWj-000IWX-RX; Thu, 16 Aug 2018 11:53:37 -0500 Date: Thu, 16 Aug 2018 11:53:37 -0500 From: Larry Rosenman To: Charlie Li Cc: current@freebsd.org Subject: Re: /usr/bin/ld: error: undefined symbol: main [r337834 -> r337903] Message-ID: <20180816165337.n4uxpkbpn52mewfa@ler-imac.local> References: <20180816111532.GY1190@albert.catwhisker.org> <1534436769.312158.1476422048.77F4DB62@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dhdv4r42yvl3da6j" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Thu, 16 Aug 2018 16:53:40 -0000 --dhdv4r42yvl3da6j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 16, 2018 at 12:43:42PM -0400, Charlie Li wrote: > On 16/08/2018 12:26, Brad Davis wrote: > > On Thu, Aug 16, 2018, at 10:13 AM, Xin LI wrote: > >> This was caused by r337852, but I didn't investigated further. > >> > >> The problem is that we have a source file called 'moduli.c' in > >> crypto/openssh/ while the build target was moduli, and bmake seen > >> 'moduli' in source tree as older than moduli.c, and decided to rebuild > >> it from source, while the two files are unrelated. > >=20 > > Hi Xin, > >=20 > > I don't see how that could be the case as I didn't move the file around= , I just moved how it gets installed. > >=20 > > I have done many many builds with this change in and haven't seen this = problem.. > >=20 > I've found this one intermittent at best. I'll run a buildworld on > anything newer than r337852, get the linker error, update to even the > next newer revision that changes completely unrelated files, build > succeeds. Case in point, r337835 to r337863 failed, but r337863 to > r337865 succeeded. >=20 > This is all with META_MODE, so could be a bug with that. I've seen the same thing with meta-mode. A svn up after the failure restores the missing moduli file, and a re-run will succeed. borg.lerctr.org /usr/src $ sudo svn up Updating '.': Restored 'crypto/openssh/moduli' At revision 337914. borg.lerctr.org /usr/src $ >=20 > --=20 > Charlie Li > Can't think of a witty .sigline today=E2=80=A6 >=20 > (This email address is for mailing list use only; replace local-part > with vishwin for off-list communication) >=20 --=20 Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 --dhdv4r42yvl3da6j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHABAABCgCqFiEEHjgknedhWzvJgwVzaXyZsatIp30FAlt1rBEsFIAAAAAAFQAO cGthLWFkZHJlc3NAZ251cGcub3JnbGVyQGxlcmN0ci5vcmdfFIAAAAAALgAoaXNz dWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDFFMzgy NDlERTc2MTVCM0JDOTgzMDU3MzY5N0M5OUIxQUI0OEE3N0QACgkQaXyZsatIp32q GAf+MJyDkOP+C96LQWF54aud1+hcWGMELssKceDMt5Xz3J91L1+vtBFgKoJHJ35R 2eK3JevfnMeqi9/4xVVrq18/JT0Nw32wpFLUtjNeO7MS1pFD2616aKMiw2/Vmr1F ZDQPaAjLJalndZATNNGRD9KaA1VneARdyMKpdruw20BshossaXQD5k8zyV4MpUEC Hb+AcRtXz/E32LjD963INpHr9G5BmdVPGpShoOnE5V9J7f3EhAwqn25myY1Jqdy/ 0eOxGmIPlv3SFi3H6JmFjhy7dLQvuVuAi8m2SZv3Qs0WhfCSeA0PtiYNRuOlUgAJ ew0wvKdNgaUtGQG5b3mPmUXgOQ== =xjmB -----END PGP SIGNATURE----- --dhdv4r42yvl3da6j--