Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2017 01:52:33 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: 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
Message-ID:  <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net>
In-Reply-To: <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net>
References:  <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <b770de86-325e-89a4-5841-bb66b7216329@FreeBSD.org> <A75C90ED-3727-4A01-9110-EFBA673C25E3@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I did get another problem after buildworld, buildkernel, installkernel
without future source code dates: the installworld got a "cc not found"
for the amd64 native build based on -r325351 --that also appears to be
set up to report:

ERROR-tried-to-rebuild-during-make-install

if cc had been found:

.if defined(SRCTOP)
# Prevent rebuilding during install to support read-only objdirs.
.if ${.TARGETS:M*install*} =3D=3D ${.TARGETS} && empty(.MAKE.MODE:Mmeta)
CFLAGS+=3D        ERROR-tried-to-rebuild-during-make-install
.endif=20
.endif=20

is involved in:

Script started on Fri Nov  3 00:52:26 2017
Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null=
 SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host =
WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 =
make -dM -j4 installworld
. . .
--- realinstall_subdir_sys ---
--- autoload.o ---
--- realinstall_subdir_secure ---
rm -f /usr/share/openssl/man/man3/SSL_set_generate_session_id.3 =
/usr/share/openssl/man/man3/SSL_set_generate_session_id.3.gz;  install =
-l h  /usr/share/openssl/man/man3/SSL_CTX_set_generate_session_id.3.gz =
/usr/share/openssl/man/man3/SSL_set_generate_session_id.3.gz
--- realinstall_subdir_sys ---
cc -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin  -O2 =
-pipe   -ffreestanding -Wformat -mno-mmx -mno-sse -mno-avx -msoft-float =
-fshort-wchar -mno-red-zone -mno-aes -DLOADER_UFS_SUPPORT =
-DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT =
-DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/boot/zfs =
-DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader =
-I/usr/src/sys/boot/efi/loader/arch/amd64 =
-I/usr/src/sys/boot/efi/include -I/usr/src/sys/boot/efi/include/amd64 =
-I/usr/src/sys/contrib/dev/acpica/include -I/usr/src/sys =
-I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS =
-I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot/ficl =
-I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FORTH =
-DBF_DICTSIZE=3D15000 -g  -std=3Dgnu99 -Wsystem-headers -Wall =
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes =
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized =
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int =
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value =
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion =
-Wno-unused-local-typedef -Wno-address-of-packed-member  =
-Qunused-arguments  ERROR-tried-to-rebuild-during-make-install -c =
/usr/src/sys/boot/efi/loader/autoload.c -o autoload.o
sh: cc: not found
--- realinstall_subdir_secure ---
rm -f /usr/share/openssl/man/man3/SSL_CTX_get_info_callback.3 =
/usr/share/openssl/man/man3/SSL_CTX_get_info_callback.3.gz;  install -l =
h  /usr/share/openssl/man/man3/SSL_CTX_set_info_callback.3.gz =
/usr/share/openssl/man/man3/SSL_CTX_get_info_callback.3.gz
--- realinstall_subdir_sys ---
*** [autoload.o] Error code 127

make[7]: stopped in /usr/src/sys/boot/efi/loader
1 error

make[7]: stopped in /usr/src/sys/boot/efi/loader
*** [realinstall_subdir_sys/boot/efi/loader] Error code 2


Or without -j4:

Script started on Fri Nov  3 01:38:54 2017
Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null=
 SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host =
WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 =
make -dM installworld
. . .
=3D=3D=3D> sys/boot/libsa32 (install)
=3D=3D=3D> sys/boot/zfs (install)
=3D=3D=3D> sys/boot/zfs32 (install)
=3D=3D=3D> sys/boot/ficl32 (install)
=3D=3D=3D> sys/boot/efi (install)
=3D=3D=3D> sys/boot/efi/libefi (install)
=3D=3D=3D> sys/boot/efi/loader (install)
cc -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin  -O2 =
-pipe   -ffreestanding -Wformat -mno-mmx -mno-sse -mno-avx -msoft-float =
-fshort-wchar -mno-red-zone -mno-aes -DLOADER_UFS_SUPPORT =
-DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT =
-DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/boot/zfs =
-DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader =
-I/usr/src/sys/boot/efi/loader/arch/amd64 =
-I/usr/src/sys/boot/efi/include -I/usr/src/sys/boot/efi/include/amd64 =
-I/usr/src/sys/contrib/dev/acpica/include -I/usr/src/sys =
-I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS =
-I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot/ficl =
-I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FORTH =
-DBF_DICTSIZE=3D15000 -g  -std=3Dgnu99 -Wsystem-headers -Wall =
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes =
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized =
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int =
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value =
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion =
-Wno-unused-local-typedef -Wno-address-of-packed-member  =
-Qunused-arguments  ERROR-tried-to-rebuild-during-make-install -c =
/usr/src/sys/boot/efi/loader/autoload.c -o autoload.o
/tmp/install.2mZZVhR0/sh: cc: not found
*** Error code 127

Stop.
make[7]: stopped in /usr/src/sys/boot/efi/loader
*** Error code 1



I'll note:

# ls -lT /usr/src/sys/boot/efi/loader/autoload.c
-rw-r--r--  1 root  wheel  1522 Nov  3 02:27:17 2016 =
/usr/src/sys/boot/efi/loader/autoload.c

# find /usr/obj/amd64_clang/amd64.amd64/ -name autoload.o -exec ls -lT =
{} \; | more
-rw-r--r--  1 root  wheel  2896 Nov  3 00:10:12 2017 =
/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/boot/efi/loader/a=
utoload.o

(So the .o is about a year later.)

# which cc
/usr/bin/cc

# find /usr/obj/amd64_clang/amd64.amd64/ -name cc -print | more
=
/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/inc=
lude/netinet/cc
=
/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/GENERIC-NODBG/mod=
ules/usr/src/sys/modules/cc
=
/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/netin=
et/cc
=
/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/includ=
e/netinet/cc

It appears that /usr/bin was not part of the path at
the time of the failure.

As for the commands. . .
(I isolated CC=3D on its own lines.)

Script started on Fri Nov  3 00:52:26 2017
Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null=
 SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host =
WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 =
make -dM -j4 installworld
--- installworld ---
make[1]: =
"/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/compiler-metadata.mk=
" line 1: Using cached compiler metadata from build at FreeBSDx64OPC on =
Thu Nov  2 23:02:54 PDT 2017
--- __installcheck_UGID ---
--- __installcheck_sh_check ---
--- installworld ---
mkdir -p /tmp/install.hnB8rBdc
progs=3D$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp  =
date echo egrep find grep id install   ln make mkdir mtree mv pwd_mkdb  =
rm sed services_mkdb sh strip sysctl test true uname wc zic tzsetup   =
makewhatis; do  if progpath=3D`which $prog`; then  echo $progpath;  else =
 echo "Required tool $prog not found in PATH." >&2;  exit 1;  fi;  =
done);  libs=3D$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort =
-u |  while read line; do  $line;  if [ "$2 $3" !=3D "not found" ]; then =
 echo $2;  else  echo "Required library $1 not found." >&2;  exit 1;  =
fi;  done);  cp $libs $progs /tmp/install.hnB8rBdc
cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.hnB8rBdc/locale
cd /usr/src; COMPILER_VERSION=3D50000  COMPILER_FEATURES=3Dc++11  =
COMPILER_TYPE=3Dclang  COMPILER_FREEBSD_VERSION=3D1200007 =
MACHINE_ARCH=3Damd64  MACHINE=3Damd64  CPUTYPE=3D

CC=3D"cc -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin"

CXX=3D"c++  -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin"  =
CPP=3D"cpp -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin"  =
AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D""  NM=3Dnm OBJCOPY=3D"objcopy" =
 RANLIB=3Dranlib STRINGS=3D  SIZE=3D"size" =
PATH=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr=
/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/=
bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/bin:/u=
sr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/a=
md64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin:/tmp/install.hnB8rB=
dc  LD_LIBRARY_PATH=3D/tmp/install.hnB8rBdc  =
PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale make -f Makefile.inc1    =
__MAKE_SHELL=3D/tmp/install.hnB8rBdc/sh reinstall;  =
COMPILER_VERSION=3D50000  COMPILER_FEATURES=3Dc++11  COMPILER_TYPE=3Dclang=
  COMPILER_FREEBSD_VERSION=3D1200007 MACHINE_ARCH=3Damd64  MACHINE=3Damd64=
  CPUTYPE=3D CC=3D"cc -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" =
CXX=3D"c++  -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin"  =
CPP=3D"cpp -target x86_64-unknown-freebsd12.0 =
--sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp =
-B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin"  =
AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D""  NM=3Dnm OBJCOPY=3D"objcopy" =
 RANLIB=3Dranlib STRINGS=3D  SIZE=3D"size" =
PATH=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr=
/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/=
bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/bin:/u=
sr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/a=
md64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin:/tmp/install.hnB8rB=
dc  LD_LIBRARY_PATH=3D/tmp/install.hnB8rBdc  =
PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale rm -rf /tmp/install.hnB8rBdc
--- reinstall ---
. . .

# more =
/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/compiler-metadata.mk
.info Using cached compiler metadata from build at FreeBSDx64OPC on Thu =
Nov  2 23:02:54 PDT 2017
COMPILER_VERSION=3D50000
COMPILER_TYPE=3Dclang
COMPILER_FEATURES=3Dc++11
COMPILER_FREEBSD_VERSION=3D1200007
LINKER_VERSION=3D21750
LINKER_TYPE=3Dbfd
.export COMPILER_VERSION  COMPILER_TYPE  COMPILER_FEATURES  =
COMPILER_FREEBSD_VERSION  LINKER_VERSION  LINKER_TYPE


# more /root/src.configs/make.conf
CFLAGS.gcc+=3D -v

# more /root/src.configs/src.conf.amd64-clang.amd64-host
TO_TYPE=3Damd64
#
KERNCONF=3DGENERIC-NODBG
TARGET=3D${TO_TYPE}
.if ${.MAKE.LEVEL} =3D=3D 0
TARGET_ARCH=3D${TO_TYPE}
.export TARGET_ARCH
.endif
#
#WITH_CROSS_COMPILER=3D
WITH_SYSTEM_COMPILER=3D
#
WITH_LIBCPLUSPLUS=3D
WITH_BINUTILS_BOOTSTRAP=3D
WITH_ELFTOOLCHAIN_BOOTSTRAP=3D
#WITH_CLANG_BOOTSTRAP=3D
WITH_CLANG=3D
WITH_CLANG_IS_CC=3D
WITH_CLANG_FULL=3D
WITH_CLANG_EXTRAS=3D
WITH_LLD=3D
WITHOUT_LLD_IS_LD=3D
WITH_LLVM_LIBUNWIND=3D
WITH_LLDB=3D
#PORTS_MODULES=3Demulators/virtualbox-ose-additions
#
WITH_BOOT=3D
WITH_LIB32=3D
#
WITHOUT_GCC_BOOTSTRAP=3D
WITHOUT_GCC=3D
WITHOUT_GCC_IS_CC=3D
WITHOUT_GNUCXX=3D
#
NO_WERROR=3D
#WERROR=3D
MALLOC_PRODUCTION=3D
#
WITH_REPRODUCIBLE_BUILD=3D
WITH_DEBUG_FILES=3D


=3D=3D=3D
Mark Millard
markmi at dsl-only.net

>>> . . .


>>> Script started on Thu Nov  2 18:34:57 2017
>>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf =
SRCCONF=3D/dev/null =
SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host =
WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 =
make -j4 buildworld buildkernel
>>>=20
>>> vs.
>>>=20
>>> Script started on Thu Nov  2 18:34:57 2017
>>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf =
SRCCONF=3D/dev/null =
SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host =
WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 =
make -j4 buildworld buildkernel
>>>=20
>>>=20
>>> # 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
>>>=20
>>>=20
>>> --------------------------------------------------------------
>>>>>> 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
>>> . . .
>>> . . .
>>>=20
>>> And so on.
>>=20
>> =3D=3D=3D
>> Mark Millard
>> markmi at dsl-only.net
>>=20
>> On 2017-Nov-2, at 5:30 PM, Bryan Drewery <bdrewery@FreeBSD.org> =
wrote:
>>=20
>> On 11/2/17 3:44 PM, Mark Millard wrote:
>>>> Author: bdrewery
>>>> Date: Thu Nov  2 22:23:00 2017
>>>> New Revision: 325347
>>>> URL:=20
>>>> https://svnweb.freebsd.org/changeset/base/325347
>>>>=20
>>>>=20
>>>> Log:
>>>> Something is very wrong
>>>>=20
>>>> Modified:
>>>> head/Makefile
>>>>=20
>>>> Modified: head/Makefile
>>>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>>>> --- 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$
>>>> #
>>>=20
>>> I just happened to have started a cross build before
>>> this showed up based on -r325332 . It got:
>>>=20
>>> --- 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
>>=20
>> Someone else reported this one as well but I have not been able to
>> reproduce it yet.
>>=20
>> I've tweaked the commit causing it though, r325329.  Fixed in =
r325350.
>>=20
>>>=20
>>> But find shows:
>>>=20
>>> # 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/l=
ib/clang/libllvmminimal
>>> =
/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l=
ib/clang/libllvmminimal/libllvmminimal.a
>>> =
/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l=
ib/clang/libllvmminimal/libllvmminimal.a.meta
>>>=20
>>> Comparing side-by-side shows obj-cross-tools vs.
>>> obj-bootstrap-tools :
>>>=20
>>> =
/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/c=
lang/libllvmminimal/libllvmminimal.a
>>> =
/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l=
ib/clang/libllvmminimal/libllvmminimal.a
>>>=20
>>>=20
>>> =3D=3D=3D
>>> Mark Millard
>>> markmi at dsl-only.net
>>>=20
>>=20
>>=20
>=20


=3D=3D=3D
Mark Millard
markmi at dsl-only.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8D698E5D-C986-4FBA-BD56-6BA4E7D7F519>