Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2016 17:27:36 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Mark Millard <markmi@dsl-only.net>
Subject:   Re: Bug 205663 Clang getting Bus Errors (arm SCLTR Bit[12]==1 context): Reported fixed on llvm's trunk
Message-ID:  <1452212856.1215.28.camel@freebsd.org>
In-Reply-To: <7EE8F65E-7485-4FA9-A136-F22090DB107F@FreeBSD.org>
References:  <C90F0ABA-3C59-4FE1-AAB4-99F8FF32FB24@dsl-only.net> <CANCZdfoWDg_ZX8zxqRV2-Q6teYf_Ef4f3VKB0fhb0sikcW3hUA@mail.gmail.com> <1452020032.1320.21.camel@freebsd.org> <7EE8F65E-7485-4FA9-A136-F22090DB107F@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2016-01-07 at 23:57 +0100, Dimitry Andric wrote:
> On 05 Jan 2016, at 19:53, Ian Lepore <ian@FreeBSD.org> wrote:
> > 
> > On Tue, 2016-01-05 at 11:35 -0700, Warner Losh wrote:
> ...
> > > There's a projects/clang-380-import that you might want to try...
> > 
> > It's a non-starter for us, because unfortunately they appear to
> > have
> > removed support for the -arm-use-movt=0 command line option, so now
> > we
> > can't build ubldr or kernel modules.
> 
> FYI, I have added a -mno-movt option for this purpose upstream, and
> imported a newer snapshot into the clang380-import branch.  As of
> r293384, it now uses the new option spelling for modules, if your
> clang
> is 3.8.0 or higher.
> 
> -Dimitry
> 

I've updated to that and I'm still getting this error:

cc1_main.o: In function `ForcePassLinking':
[...]/src/usr.bin/clang/clang/../../../contrib/llvm/include/llvm/LinkAllPasses.h:194: undefined reference to `llvm::sys::RunningOnValgrind()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
--- clang.full ---
*** [clang.full] Error code 1

I can apparently make it go away just by commenting out the line it
complains about, so I'm forging ahead with that for now to see if I can
do more testing.

-- Ian




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