Errors compiling LLVM on RPi3 at 330019

bob prohaska fbsd at www.zefox.net
Mon Feb 26 18:47:04 UTC 2018


On Mon, Feb 26, 2018 at 07:16:18PM +0100, Dimitry Andric wrote:
> On 26 Feb 2018, at 16:23, bob prohaska <fbsd at www.zefox.net> wrote:
> > 
> > At revision 330019 -DNO_CLEAN buildworld stops with
> > 
> > --- Target/X86/X86ISelDAGToDAG.o ---
> > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:2463:7: error: use of undeclared identifier 'SelectCode'
> >      SelectCode(ZextTarget.getNode());
> >      ^
> > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:2464:7: error: use of undeclared identifier 'SelectCode'
> >      SelectCode(Brind.getNode());
> >      ^
> > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:2480:5: error: use of undeclared identifier 'SelectCode'
> >    SelectCode(VSelect.getNode());
> >    ^
> > /usr/src/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:3072:3: error: use of undeclared identifier 'SelectCode'
> >  SelectCode(Node);
> > 
> > Should I wait for an update, or run cleandir? This is on a Pi3.
> 
> From which revision were you upgrading?  
Probably revision 329997

> It looks like your .inc files
> were not regenerated properly by llvm-tblgen, 

The system has been plagued by stoppages during clang build.
Sometimes in llvm-tblgen, but not always. A frequent error
is 137, from clang, but "out of swap" happens too. Been using 
the -DNO_CLEAN option to pick up where it left off.  

> maybe timestamps out of
> whack?  I would indeed try a clean build.
> 

Ok, will try starting over. FWIW, recently behavior re swapping
has been much better (gstat delays look smaller using swap on 
microSD) but the system is still reporting "out of swap" when 
top shows less than complete swap use.

Thanks very much!

bob prohaska


More information about the freebsd-arm mailing list