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

From: Mark Millard <markmi_at_dsl-only.net>
Date: Thu, 2 Nov 2017 15:44:40 -0700
> 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)
> _at__at_ -1,3 +1,4 _at__at_
> +.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

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
Received on Thu Nov 02 2017 - 21:44:49 UTC

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