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

From: h v <henry.vogt_at_gmail.com>
Date: Sat, 21 Mar 2020 12:07:33 +0100
Hi,

--- C U T ---

On 20.03.20 18:20, Warner Losh wrote:
>
>
> On Fri, Mar 20, 2020, 11:12 AM Dimitry Andric <dim_at_freebsd.org
> <mailto:dim_at_freebsd.org>> wrote:
>
>     On 20 Mar 2020, at 10:55, h v <henry.vogt_at_gmail.com
>     <mailto: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?
>
>
>
> No. This was an error I committed. Update and try again. I had one too
> many changes in the tree I pushed this morning. 
>
> Warner


Unfortunately not.. im now _at_13.0-CURRENT r359179 - still bailing out
(after make cleanworld for src=12.1-RELEASE-p3) -

btw. 12-STABLE can be compiled , as well as 11.3 and 11-STABLE (this is
a build machine;-)

it's only 12.1-RELEASE (trying to compile -p3)

Normally i compile with  -j 8 and WITH_META_MODE=yes, now compiling
manually without them..


Regarding /etc/{src,src-env,make}.conf - not using any of these on this
tests atm.


---C U T---

--- cross-tools ---
===> lib/clang (obj,all,install)
--- all_subdir_lib/clang/libllvm ---
===> 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
*** [all_subdir_lib/clang/libllvm] Error code 1

make[3]: stopped in /usr/src/12.1/lib/clang
....

---C U T ---

any other ideas ?

Best

Henry
Received on Sat Mar 21 2020 - 10:07:53 UTC

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