Re: llvm10 build failure on Rpi3

From: bob prohaska <>
Date: Thu, 24 Jun 2021 17:16:51 -0700
On Thu, Jun 24, 2021 at 10:41:38AM -0700, Mark Millard wrote:
[huge snip]
> So: Even going back to June 9 may messed up nfs
> use. (I've no clue what services you depend on
> or in what contexts.) You might need to disable
> nfs even trying to start at the next boot before
> booting into such an older kernel.

No NFS involved. Right now the machine is running
FreeBSD 13.0-CURRENT #5 main-c255664-g4d64c7243d26: Sat Jan  9 11:27:58 PST 2021 arm64
and repeating the previous attempt to build devel/llvm10 with no other
intentional changes. 
> Jan 9 predates 14 and 13.0-RELEASE: sys/sys/param.h got
> #define __FreeBSD_version 1400000 back on Jan-22.
> Running newer worlds on older kernels is not supported.
> Generally folks to not track the KBI changes vs. the
> consequences of not having the right KBI. This makes
> interpreting results difficult even when it appears to
> work. There can be mixes like NFS not working but other
> things working. There could be corruptions but such
> may not be likely. Do you have what you consider
> sufficient backups it case things get messed up? (That
> might be the status of being okay with starting over
> if something really bad happens.)
No backups, but I'm not averse to starting from scratch on
this particular machine.

As it happens, the poudriere session ended much as before:

FAILED: lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSelector.cpp.o 
/usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Target/AArch64 -I/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AArch64 -Iinclude -I/wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include -O2 -pipe -DNDEBUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DNDEBUG -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -pipe -DNDEBUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DNDEBUG -isystem /usr/local/include -fvisibility=hidden  -fno-exceptions -std=c++14 -MD -MT lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSelector.cpp.o -MF lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSelector.cpp.o.d -o lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64InstructionSelector.cpp.o -c /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AArch64/AArch64InstructionSelector.cpp
In file included from /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Target/AArch64/AArch64InstructionSelector.cpp:312:
lib/Target/AArch64/ error: expected expression
        /*GIM_CheckRegBankForClass: _at_0*/, /*MI*/0, /*Op*/0, /*RC*//*AArch64::FPR64RegClassID: _at_0*/,
lib/Target/AArch64/ error: expected expression
        /*GIM_CheckRegBankForClass: _at_0*/, /*MI*/0, /*Op*/0, /*RC*//*AArch64::FPR64RegClassID: _at_0*/,
lib/Target/AArch64/ error: expected expression
      /*GIM_CheckRegBankForClass: _at_0*/, /*MI*/0, /*Op*/2, /*RC*//*AArch64::FPR64RegClassID: _at_0*/,
lib/Target/AArch64/ error: expected expression
      /*GIM_CheckRegBankForClass: _at_0*/, /*MI*/0, /*Op*/2, /*RC*//*AArch64::FPR64RegClassID: _at_0*/,
4 errors generated.
[ 25% 1396/5364]

Not sure what to try next.

Thanks for reading!

bob prohaska
Received on Fri Jun 25 2021 - 00:16:51 UTC

Original text of this message