From owner-freebsd-arm@freebsd.org Mon Feb 26 18:47:04 2018 Return-Path: Delivered-To: freebsd-arm@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 4511BF3A185 for ; Mon, 26 Feb 2018 18:47:04 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B646B82B71; Mon, 26 Feb 2018 18:47:03 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w1QIl1I5021498 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 26 Feb 2018 10:47:02 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w1QIl1pc021497; Mon, 26 Feb 2018 10:47:01 -0800 (PST) (envelope-from fbsd) Date: Mon, 26 Feb 2018 10:47:01 -0800 From: bob prohaska To: Dimitry Andric Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: Errors compiling LLVM on RPi3 at 330019 Message-ID: <20180226184701.GB21104@www.zefox.net> References: <20180226152345.GA21006@www.zefox.net> <6AAA36E2-CDE3-42C3-B070-3C75044656C6@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6AAA36E2-CDE3-42C3-B070-3C75044656C6@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2018 18:47:04 -0000 On Mon, Feb 26, 2018 at 07:16:18PM +0100, Dimitry Andric wrote: > On 26 Feb 2018, at 16:23, bob prohaska wrote: > > > > At revision 330019 -DNO_CLEAN buildworld stops with > > > > --- Target/X86/X86ISelDAGToDAG.o --- > > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:2463:7: error: use of undeclared identifier 'SelectCode' > > SelectCode(ZextTarget.getNode()); > > ^ > > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:2464:7: error: use of undeclared identifier 'SelectCode' > > SelectCode(Brind.getNode()); > > ^ > > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:2480:5: error: use of undeclared identifier 'SelectCode' > > SelectCode(VSelect.getNode()); > > ^ > > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:3072:3: error: use of undeclared identifier 'SelectCode' > > SelectCode(Node); > > > > Should I wait for an update, or run cleandir? This is on a Pi3. > > From which revision were you upgrading? Probably revision 329997 > It looks like your .inc files > were not regenerated properly by llvm-tblgen, The system has been plagued by stoppages during clang build. Sometimes in llvm-tblgen, but not always. A frequent error is 137, from clang, but "out of swap" happens too. Been using the -DNO_CLEAN option to pick up where it left off. > maybe timestamps out of > whack? I would indeed try a clean build. > Ok, will try starting over. FWIW, recently behavior re swapping has been much better (gstat delays look smaller using swap on microSD) but the system is still reporting "out of swap" when top shows less than complete swap use. Thanks very much! bob prohaska