From owner-freebsd-arm@freebsd.org Mon Feb 12 18:34:41 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 CB2C5F10194 for ; Mon, 12 Feb 2018 18:34:41 +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 50EFF841A2 for ; Mon, 12 Feb 2018 18:34:40 +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 w1CIWu5b075495 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Feb 2018 10:32:57 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w1CIWuJF075494; Mon, 12 Feb 2018 10:32:56 -0800 (PST) (envelope-from fbsd) Date: Mon, 12 Feb 2018 10:32:56 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: RPI3 can't build kernel-toolchain Message-ID: <20180212183256.GA75467@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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, 12 Feb 2018 18:34:42 -0000 On a Pi3 running r328935 trying to build sources at 329171 a make -j2 kernel-toolchain fails with /usr/bin/ld: error: duplicate symbol: >>> defined at ASTImporter.o:() in archive /usr/obj/usr/src/arm64.aarch64/tmp/obj-tools/lib/clang/libclang/libclang.a Tried updating the source tree and didn't seen any relevant changes, no luck using the -DNO_CLEAN option. The machine can't seem to get very far with j > 2, so cleaning will slow things by days. I'll try cleaning by degrees, but am unclear on the order. Is the sequence from least-to-most-thorough something like: make clean make cleandir 2nd make cleandir rm -rf /usr/obj/usr/ The make logfile is at http://www.zefox.net/~fbsd/rpi3/crashes/20180212/toolchain.log Thanks for reading, and any guidance! bob prohaska