Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools
Mark Millard
markmi at dsl-only.net
Fri Nov 3 02:47:31 UTC 2017
[Top post as it does not flow with the prior material.]
Back-to-back repeats of the same buildworld buildkernel
command are rebuilding lots of obj-lib32 *.o files and
the like each time under WITH_META_MODE=yes for -r325351.
Script started on Thu Nov 2 18:34:57 2017
Command: env __MAKE_CONF=/root/src.configs/make.conf SRCCONF=/dev/null SRC_ENV_CONF=/root/src.configs/src.conf.amd64-clang.amd64-host WITH_META_MODE=yes MAKEOBJDIRPREFIX=/usr/obj/amd64_clang/amd64.amd64 make -j4 buildworld buildkernel
vs.
Script started on Thu Nov 2 18:34:57 2017
Command: env __MAKE_CONF=/root/src.configs/make.conf SRCCONF=/dev/null SRC_ENV_CONF=/root/src.configs/src.conf.amd64-clang.amd64-host WITH_META_MODE=yes MAKEOBJDIRPREFIX=/usr/obj/amd64_clang/amd64.amd64 make -j4 buildworld buildkernel
# svnlite status -u -r325351 /usr/src | sort
* 320623 /usr/src/contrib/jemalloc/include/jemalloc/internal/tsd.h
? /usr/src/sys/amd64/conf/GENERIC-DBG
? /usr/src/sys/amd64/conf/GENERIC-NODBG
? /usr/src/sys/arm/conf/GENERIC-DBG
? /usr/src/sys/arm/conf/GENERIC-NODBG
? /usr/src/sys/arm64/conf/GENERIC-DBG
? /usr/src/sys/arm64/conf/GENERIC-NODBG
? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG
? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG
? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG
? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG
M 325351 /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M 325351 /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp
M 325351 /usr/src/crypto/openssl/crypto/armcap.c
M 325351 /usr/src/lib/libkvm/kvm_powerpc.c
M 325351 /usr/src/lib/libkvm/kvm_private.c
M 325351 /usr/src/sys/arm/allwinner/aw_usbphy.c
M 325351 /usr/src/sys/arm64/arm64/identcpu.c
M 325351 /usr/src/sys/boot/fdt/dts/arm/a83t.dtsi
M 325351 /usr/src/sys/boot/ofw/Makefile.inc
M 325351 /usr/src/sys/boot/powerpc/Makefile.inc
M 325351 /usr/src/sys/boot/powerpc/boot1.chrp/Makefile
M 325351 /usr/src/sys/boot/powerpc/kboot/Makefile
M 325351 /usr/src/sys/boot/uboot/Makefile.inc
M 325351 /usr/src/sys/conf/kmod.mk
M 325351 /usr/src/sys/conf/ldscript.powerpc
M 325351 /usr/src/sys/kern/subr_pcpu.c
M 325351 /usr/src/sys/powerpc/aim/mmu_oea64.c
M 325351 /usr/src/sys/powerpc/ofw/ofw_machdep.c
M 325351 /usr/src/sys/powerpc/powerpc/interrupt.c
M 325351 /usr/src/sys/powerpc/powerpc/mp_machdep.c
M 325351 /usr/src/sys/powerpc/powerpc/trap.c
--------------------------------------------------------------
>>> stage 5.1: building lib32 shim libraries
--------------------------------------------------------------
. . .
--- obj ---
--- lib/libgcc_eh__PL ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/libunwind.o
--- gnu/lib/libssp/libssp_nonshared__PL ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/libssp/libssp_nonshared/_libinstall
--- lib/libcompiler_rt__PL ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libcompiler_rt/_libinstall
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libcompiler_rt/_installlinks
--- _installlinks ---
/usr/lib32/libgcc.a -> libcompiler_rt.a
--- lib/libgcc_eh__PL ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/libgcc_eh.a
--- libgcc_eh.a ---
building static gcc_eh library
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/_libinstall
--- gnu/lib/csu__L ---
--- lib/csu__L ---
--- lib/libcompiler_rt__L ---
--- lib/libc__L ---
--- gnu/lib/csu__L ---
===> gnu/lib/csu (obj,all,install)
--- lib/csu__L ---
===> lib/csu (obj,all,install)
--- lib/libcompiler_rt__L ---
===> lib/libcompiler_rt (obj,all,install)
--- lib/libc__L ---
===> lib/libc (obj,all,install)
--- lib/csu__L ---
--- obj_subdir_lib/csu/i386 ---
===> lib/csu/i386 (obj)
--- gnu/lib/csu__L ---
--- obj ---
--- lib/csu__L ---
--- obj ---
--- all_subdir_lib/csu/i386 ---
===> lib/csu/i386 (all)
--- lib/libcompiler_rt__L ---
--- obj ---
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtbegin.o
--- lib/csu__L ---
--- realinstall_subdir_lib/csu/i386 ---
===> lib/csu/i386 (install)
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/csu/i386/_FILESINS
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtend.o
--- lib/libc_nonshared__L ---
===> lib/libc_nonshared (obj,all,install)
--- obj ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/__iconv.o
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtbeginT.o
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/__iconv_free_list.o
--- lib/libcompiler_rt__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libcompiler_rt/_libinstall
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libcompiler_rt/_installlinks
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/__iconv_get_list.o
--- lib/libcompiler_rt__L ---
--- _installlinks ---
/usr/lib32/libgcc.a -> libcompiler_rt.a
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtbeginS.o
--- lib/libcompiler_rt__L ---
/usr/lib32/libgcc_p.a -> libcompiler_rt_p.a
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtendS.o
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconv.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconv_canonicalize.o
--- lib/libgcc_eh__L ---
===> lib/libgcc_eh (obj,all,install)
--- lib/libc__L ---
--- obj ---
--- lib/libgcc_eh__L ---
--- obj ---
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconv_close.o
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtend.o
--- lib/libgcc_eh__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/libunwind.o
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconv_open.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconv_open_into.o
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtbeginT.o
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconv_set_relocation_prefix.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconvctl.o
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtbeginS.o
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/iconvlist.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/libc_nonshared.a
--- libc_nonshared.a ---
building static c_nonshared library
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtendS.o
--- lib/libc_nonshared__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc_nonshared/_libinstall
--- lib/libgcc_eh__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/libunwind.po
--- gnu/lib/csu__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/crtbegin.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/gnu/lib/csu/_FILESINS
--- lib/libgcc_eh__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/libgcc_eh.a
--- libgcc_eh.a ---
building static gcc_eh library
--- lib/libc__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/machdep_ldisx.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/bt_close.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/bt_delete.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/bt_get.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/bt_open.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/bt_put.o
--- lib/libgcc_eh__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/libgcc_eh_p.a
--- libgcc_eh_p.a ---
building profiled gcc_eh library
--- lib/libc__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/bt_seq.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/db.o
--- lib/libgcc_eh__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libgcc_eh/_libinstall
--- lib/libc__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/hash.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/hash_bigkey.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/hash_page.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/ndbm.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/mpool.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/rec_close.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/rec_delete.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/rec_get.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/rec_open.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/rec_put.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/rec_search.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/rec_seq.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/getwd.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/killpg.o
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libc/sigcompat.o
. . .
--- lib__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/librt/librt.so.1.debug
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/librt/librt.so.1
--- all_subdir_lib/libpcap ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/libpcap/etherent.po
--- secure/lib__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/secure/lib/libssl/ssl_sess.pico
--- lib__L ---
--- all_subdir_lib/librtld_db ---
===> lib/librtld_db (all)
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/librtld_db/rtld_db.o
--- kerberos5/lib__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/kerberos5/lib/libgssapi_ntlm/external.o
--- lib__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/librtld_db/rtld_db.po
--- kerberos5/lib__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/kerberos5/lib/libgssapi_ntlm/import_name.o
--- secure/lib__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/secure/lib/libssl/ssl_stat.pico
--- lib__L ---
Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64/lib/librtld_db/rtld_db.pico
. . .
And so on.
===
Mark Millard
markmi at dsl-only.net
On 2017-Nov-2, at 5:30 PM, Bryan Drewery <bdrewery at FreeBSD.org> wrote:
On 11/2/17 3:44 PM, Mark Millard wrote:
>> Author: bdrewery
>> Date: Thu Nov 2 22:23:00 2017
>> New Revision: 325347
>> URL:
>> https://svnweb.freebsd.org/changeset/base/325347
>>
>>
>> Log:
>> Something is very wrong
>>
>> Modified:
>> head/Makefile
>>
>> Modified: head/Makefile
>> ==============================================================================
>> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346)
>> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347)
>> @@ -1,3 +1,4 @@
>> +.error Bad revision, please wait for a fix in head
>> #
>> # $FreeBSD$
>> #
>
> I just happened to have started a cross build before
> this showed up based on -r325332 . It got:
>
> --- clang-tblgen.full ---
> c++: error: no such file or directory: '/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/clang/libllvmminimal/libllvmminimal.a'
> *** [clang-tblgen.full] Error code 1
Someone else reported this one as well but I have not been able to
reproduce it yet.
I've tweaked the commit causing it though, r325329. Fixed in r325350.
>
> But find shows:
>
> # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name "libllvmminimal*" -print | more
> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/lib/clang/libllvmminimal
> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/lib/clang/libllvmminimal/libllvmminimal.a
> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/lib/clang/libllvmminimal/libllvmminimal.a.meta
>
> Comparing side-by-side shows obj-cross-tools vs.
> obj-bootstrap-tools :
>
> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/clang/libllvmminimal/libllvmminimal.a
> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/lib/clang/libllvmminimal/libllvmminimal.a
>
>
> ===
> Mark Millard
> markmi at dsl-only.net
>
--
Regards,
Bryan Drewery
More information about the freebsd-hackers
mailing list