From owner-svn-src-head@freebsd.org Thu Dec 24 21:15:34 2015 Return-Path: Delivered-To: svn-src-head@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 393DFA504BC for ; Thu, 24 Dec 2015 21:15:34 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (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 1A4FA12FD for ; Thu, 24 Dec 2015 21:15:33 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Thu, 24 Dec 2015 21:15:51 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id tBOLFUol006384; Thu, 24 Dec 2015 14:15:30 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1450991730.25138.263.camel@freebsd.org> Subject: Re: svn commit: r291937 - in head: lib/libc/aarch64/sys lib/libc/arm/sys sys/arm/arm sys/arm/include sys/arm64/arm64 sys/arm64/include sys/conf sys/kern From: Ian Lepore To: Konstantin Belousov Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Thu, 24 Dec 2015 14:15:30 -0700 In-Reply-To: <20151224211019.GD3625@kib.kiev.ua> References: <201512071220.tB7CKRw0027858@repo.freebsd.org> <1450971642.25138.247.camel@freebsd.org> <20151224180053.GY3625@kib.kiev.ua> <1450988333.25138.261.camel@freebsd.org> <20151224211019.GD3625@kib.kiev.ua> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2015 21:15:34 -0000 On Thu, 2015-12-24 at 23:10 +0200, Konstantin Belousov wrote: > On Thu, Dec 24, 2015 at 01:18:53PM -0700, Ian Lepore wrote: > > Oh, I know what's likely at the heart of this... I'm using gcc > > 4.2.1 > > for arm v4/v5, because clang 3.7 is broken (works to crossbuild, > > but > > fails to run native). The mrrc instruction was introduced at arm > > arch > > 5E, I'll bet clang is defaulting to 5E and gcc defaults to 4. > > > > This is what's in my make.conf for the build that failed: > > > > WITH_GCC=yes > > WITH_GNUCXX=yes > > WITH_GCC_BOOTSTRAP=yes > > WITHOUT_CLANG=yes > > WITHOUT_CLANG_IS_CC=yes > > WITHOUT_CLANG_BOOTSTRAP=yes > > > > Yep, just confirmed it, switched back to clang 3.7 for crossbuild > > and > > no errors. > > I think that the following is the least intrusive change. I built it > with your make.conf successfully (and make.conf seems to take effect > judging > by the build time). > > If you are fine with the change, I will commit right after confirming > that > ARMv6 build still results in correct code (building right now). yeah, gcc sure builds fast compared to clang. :) The change looks good to me. -- Ian