Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2015 14:15:30 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@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
Message-ID:  <1450991730.25138.263.camel@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1450991730.25138.263.camel>