From owner-freebsd-arm@freebsd.org Fri Feb 9 18:10:23 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 8D66BF183AF for ; Fri, 9 Feb 2018 18:10:23 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 177D670BA9 for ; Fri, 9 Feb 2018 18:10:22 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 76ae983f-0dc4-11e8-bb8e-b35b57339d60 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 76ae983f-0dc4-11e8-bb8e-b35b57339d60; Fri, 09 Feb 2018 18:10:09 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w19IAJ70027195; Fri, 9 Feb 2018 11:10:19 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1518199819.32585.153.camel@freebsd.org> Subject: Re: Confused about ARM64 cross-compilation From: Ian Lepore To: Karl Denninger , freebsd-arm@freebsd.org Date: Fri, 09 Feb 2018 11:10:19 -0700 In-Reply-To: <65f3f19d-0f87-7f17-99e9-18a538ad0280@denninger.net> References: <20180209172005.0b787bca.freebsd.ed.lists@sumeritec.com> <2f03b0cc-01c5-950f-026e-4b291117a329@denninger.net> <87fu6am4le.wl-herbert@gojira.at> <65f3f19d-0f87-7f17-99e9-18a538ad0280@denninger.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Fri, 09 Feb 2018 18:10:23 -0000 On Fri, 2018-02-09 at 11:57 -0600, Karl Denninger wrote: > What is your exact build string for cross-compile? > > This is what I'm using (and having fail) early in the cross-tools > build, > as the bug report shows: > > make TARGET_ARCH=aarch64 SRCCONF=/dev/null __MAKE_CONF=/dev/null > -DNO_CLEAN -DWITHOUT_DEBUG_FILES -DWITHOUT_KERNEL_SYMBOLS > -DWITHOUT_TESTS -j 12 buildworld > > -DNO_CLEAN being gone doesn't change behavior. > Since your failure happens when trying to use the 11.1-stable compiler to build a new compiler, I would suspect the problem is in your base 11.1 compiler.  Maybe H. Skuhra is on a newer revision of 11.1-stable than you, in which some clang bug got fixed?  The output of uname -a and clang --version on working versus failing systems may contain a clue. -- Ian > On 2/9/2018 11:54, Herbert J. Skuhra wrote: > > > > On Fri, 09 Feb 2018 15:20:25 +0100, Karl Denninger wrote: > > > > > > Yeah, for the last couple of months attempting to build -HEAD on > > > an > > > 11.1-STABLE AMD64 architecture box fails; the current blowup is > > > in the > > > cross-compile tools, so you never get to the actual build itself. > > > > > > I logged a bug on this as it's a showstopper for a project of > > > mine, and > > > I have no workaround other than to spin up a -HEAD instance > > > somewhere > > > (which I assume works, but am not certain it will.) > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225521 > > I am running 11.1-STABLE r328503 (amd64) and build HEAD for RPI2 > > (armv7) and RPI3 (aarch64) frequently. > > > > -- > > Herbert > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.o > > rg"