Re: cannot build 12.1-RELEASE on latest current-snapshot

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 20 Mar 2020 18:11:54 +0100
On 20 Mar 2020, at 10:55, h v <henry.vogt_at_gmail.com> wrote:
> 
> buildworld for 12.1-RELEASE fails on recent current.. in stage 3: cross
> tools (see below)
> 
> Did i miss  newer Options/ Parameters (i checked UPDATING without
> relevant changes)
> 
> i'm also not attemting a cross build, simply compiling on amd64 for amd64.
> 
> --- C U T ---
> 
> --------------------------------------------------------------
>>>> stage 3: cross tools
> --------------------------------------------------------------
> cd /usr/src/12.1; INSTALL="sh /usr/src/12.1/tools/install.sh"
> TOOLS_PREFIX=/usr/obj/usr/src/12.1/amd64.amd64/tmp
> PATH=/usr/obj/usr/src/12.1/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/12.1/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/12.1/amd64.amd64/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin
> WORLDTMP=/usr/obj/usr/src/12.1/amd64.amd64/tmp  MAKEFLAGS="-m
> /usr/src/12.1/tools/build/mk  -m /usr/src/12.1/share/mk" make  -f
> Makefile.inc1  DESTDIR=
> OBJTOP='/usr/obj/usr/src/12.1/amd64.amd64/tmp/obj-tools'
> OBJROOT='${OBJTOP}/'  MAKEOBJDIRPREFIX=  BOOTSTRAPPING=1300084
> BWPHASE=cross-tools  SSP_CFLAGS=  MK_HTML=no NO_LINT=yes MK_MAN=no
> -DNO_PIC MK_PROFILE=no -DNO_SHARED  -DNO_CPU_CFLAGS MK_WARNS=no
> MK_CTF=no  MK_CLANG_EXTRAS=no MK_CLANG_FULL=no  MK_LLDB=no
> MK_RETPOLINE=no MK_TESTS=no  MK_INCLUDES=yes MK_LLVM_TARGET_ALL=no
> TARGET=amd64 TARGET_ARCH=amd64  MK_GDB=no MK_TESTS=no cross-tools
> ===> lib/clang (obj,all,install)
> ===> lib/clang/libllvm (all)
> [Creating objdir
> /usr/obj/usr/src/12.1/amd64.amd64/tmp/obj-tools/lib/clang/libllvm...]
> make[4]: "/usr/src/12.1/lib/clang/libllvm/Makefile" line 18: Please
> enable at least one of: MK_LLVM_TARGET_AARCH64, MK_LLVM_TARGET_ARM,
> MK_LLVM_TARGET_BPF, MK_LLVM_TARGET_MIPS,  MK_LLVM_TARGET_POWERPC,
> MK_LLVM_TARGET_RISCV, MK_LLVM_TARGET_SPARC,  or MK_LLVM_TARGET_X86
> *** Error code 1

Looks like you have MK_LLVM_TARGET_ALL=no in your src.conf? Try removing
it.  Can you also post your make.conf and src.conf?

-Dimitry


Received on Fri Mar 20 2020 - 16:12:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC