Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2017 11:31:29 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Mark Millard <markmi@dsl-only.net>
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:  <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org>
In-Reply-To: <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@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> <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Fmll73KadUoXti7Bl4A305nXqQsPrFkBH
Content-Type: multipart/mixed; boundary="Sj9WbwQKuSxefhBt9QejV7GQV1LhtNgAI";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Mark Millard <markmi@dsl-only.net>
Cc: freebsd-hackers <freebsd-hackers@freebsd.org>,
 FreeBSD Toolchain <freebsd-toolchain@freebsd.org>,
 FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <12bff2b7-655d-b236-5f96-d405870e53d0@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
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>
 <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net>
In-Reply-To: <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net>

--Sj9WbwQKuSxefhBt9QejV7GQV1LhtNgAI
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 11/3/17 1:52 AM, Mark Millard wrote:
> 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:
>=20
> ERROR-tried-to-rebuild-during-make-install
>=20
> if cc had been found:
>=20
> .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
>=20

This one usually only happens if it is trying to compile at installtime,
which usually means a file is missing (wrong OBJDIR perhaps) or the
timestamps are off.

I'll play with this more and see what I can come up with, but I didn't
run into anything like this myself yet.

> is involved in:
>=20
> Script started on Fri Nov  3 00:52:26 2017
> Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n=
ull 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/sh=
are/openssl/man/man3/SSL_set_generate_session_id.3.gz;  install -l h  /us=
r/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/us=
r/src/amd64.amd64/tmp/usr/bin  -O2 -pipe   -ffreestanding -Wformat -mno-m=
mx -mno-sse -mno-avx -msoft-float -fshort-wchar -mno-red-zone -mno-aes -D=
LOADER_UFS_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MB=
R_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/i=
nclude -I/usr/src/sys -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DS=
MBIOS_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_FO=
RTH -DBF_DICTSIZE=3D15000 -g  -std=3Dgnu99 -Wsystem-headers -Wall -Wno-fo=
rmat-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototype=
s -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -W=
no-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  -Qun=
used-arguments  ERROR-tried-to-rebuild-during-make-install -c /usr/src/sy=
s/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/shar=
e/openssl/man/man3/SSL_CTX_get_info_callback.3.gz;  install -l h  /usr/sh=
are/openssl/man/man3/SSL_CTX_set_info_callback.3.gz /usr/share/openssl/ma=
n/man3/SSL_CTX_get_info_callback.3.gz
> --- realinstall_subdir_sys ---
> *** [autoload.o] Error code 127
>=20
> make[7]: stopped in /usr/src/sys/boot/efi/loader
> 1 error
>=20
> make[7]: stopped in /usr/src/sys/boot/efi/loader
> *** [realinstall_subdir_sys/boot/efi/loader] Error code 2
>=20
>=20
> Or without -j4:
>=20
> Script started on Fri Nov  3 01:38:54 2017
> Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n=
ull 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/us=
r/src/amd64.amd64/tmp/usr/bin  -O2 -pipe   -ffreestanding -Wformat -mno-m=
mx -mno-sse -mno-avx -msoft-float -fshort-wchar -mno-red-zone -mno-aes -D=
LOADER_UFS_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MB=
R_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/i=
nclude -I/usr/src/sys -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DS=
MBIOS_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_FO=
RTH -DBF_DICTSIZE=3D15000 -g  -std=3Dgnu99 -Wsystem-headers -Wall -Wno-fo=
rmat-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototype=
s -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -W=
no-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  -Qun=
used-arguments  ERROR-tried-to-rebuild-during-make-install -c /usr/src/sy=
s/boot/efi/loader/autoload.c -o autoload.o
> /tmp/install.2mZZVhR0/sh: cc: not found
> *** Error code 127
>=20
> Stop.
> make[7]: stopped in /usr/src/sys/boot/efi/loader
> *** Error code 1
>=20
>=20
>=20
> I'll note:
>=20
> # 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
>=20
> # 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_cla=
ng/amd64.amd64/usr/src/amd64.amd64/sys/boot/efi/loader/autoload.o
>=20
> (So the .o is about a year later.)
>=20
> # which cc
> /usr/bin/cc
>=20
> # 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/=
include/netinet/cc
> /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/GENERIC-NODBG/=
modules/usr/src/sys/modules/cc
> /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/ne=
tinet/cc
> /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/inc=
lude/netinet/cc
>=20
> It appears that /usr/bin was not part of the path at
> the time of the failure.
>=20
> As for the commands. . .
> (I isolated CC=3D on its own lines.)
>=20
> Script started on Fri Nov  3 00:52:26 2017
> Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n=
ull 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 FreeBS=
Dx64OPC 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  da=
te 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   makewh=
atis; 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;  e=
lse  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  COMPI=
LER_TYPE=3Dclang  COMPILER_FREEBSD_VERSION=3D1200007 MACHINE_ARCH=3Damd64=
  MACHINE=3Damd64  CPUTYPE=3D
>=20
> 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.am=
d64/usr/src/amd64.amd64/tmp/usr/bin"
>=20
> CXX=3D"c++  -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd=
64_clang/amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64=
=2Eamd64/usr/src/amd64.amd64/tmp/usr/bin"  CPP=3D"cpp -target x86_64-unkn=
own-freebsd12.0 --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd6=
4.amd64/tmp -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/us=
r/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:/usr/obj/amd64_clang=
/amd64.amd64/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/amd64_clang/amd64.=
amd64/usr/src/amd64.amd64/tmp/usr/bin:/tmp/install.hnB8rBdc  LD_LIBRARY_P=
ATH=3D/tmp/install.hnB8rBdc  PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale m=
ake -f Makefile.inc1    __MAKE_SHELL=3D/tmp/install.hnB8rBdc/sh reinstall=
;  COMPILER_VERSION=3D50000  COMPILER_FEATURES=3Dc++11  COMPILER_TYPE=3Dc=
lang  COMPILER_FREEBSD_VERSION=3D1200007 MACHINE_ARCH=3Damd64  MACHINE=3D=
amd64  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 x=
86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/us=
r/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.am=
d64/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/am=
d64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin"  AS=3D"as" AR=3D"a=
r" 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/sr=
c/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/sr=
c/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/amd64_clang/amd64.amd64/usr/src=
/amd64.amd64/tmp/legacy/bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd6=
4.amd64/tmp/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64=
/tmp/usr/bin:/tmp/install.hnB8rBdc  LD_LIBRARY_PATH=3D/tmp/install.hnB8rB=
dc  PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale rm -rf /tmp/install.hnB8rB=
dc
> --- reinstall ---
> . . .
>=20
> # more /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/compiler-me=
tadata.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_FR=
EEBSD_VERSION  LINKER_VERSION  LINKER_TYPE
>=20
>=20
> # more /root/src.configs/make.conf
> CFLAGS.gcc+=3D -v
>=20
> # 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
>=20
>=20
> =3D=3D=3D
> Mark Millard
> markmi at dsl-only.net
>=20
>>>> . . .
>=20
>=20
>>>> Script started on Thu Nov  2 18:34:57 2017
>>>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/de=
v/null SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host W=
ITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 m=
ake -j4 buildworld buildkernel
>>>>
>>>> vs.
>>>>
>>>> Script started on Thu Nov  2 18:34:57 2017
>>>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/de=
v/null SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host W=
ITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 m=
ake -j4 buildworld buildkernel
>>>>
>>>>
>>>> # svnlite status -u -r325351 /usr/src | sort
>>>>      *   320623   /usr/src/contrib/jemalloc/include/jemalloc/interna=
l/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/PPCFra=
meLowering.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-li=
b32/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-li=
b32/amd64.amd64/gnu/lib/libssp/libssp_nonshared/_libinstall
>>>> . . .
>>>> . . .
>>>>
>>>> And so on.
>>>
>>> =3D=3D=3D
>>> Mark Millard
>>> markmi at dsl-only.net
>>>
>>> On 2017-Nov-2, at 5:30 PM, Bryan Drewery <bdrewery@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:=20
>>>>> https://svnweb.freebsd.org/changeset/base/325347
>>>>>
>>>>>
>>>>> Log:
>>>>> Something is very wrong
>>>>>
>>>>> Modified:
>>>>> head/Makefile
>>>>>
>>>>> 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$
>>>>> #
>>>>
>>>> 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.arm=
v7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/clang/libllvmminimal/libllvm=
minimal.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=
=2E
>>>
>>>>
>>>> But find shows:
>>>>
>>>> # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name "libll=
vmminimal*" -print | more
>>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-t=
ools/lib/clang/libllvmminimal
>>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-t=
ools/lib/clang/libllvmminimal/libllvmminimal.a
>>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-t=
ools/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-t=
ools/lib/clang/libllvmminimal/libllvmminimal.a
>>>>
>>>>
>>>> =3D=3D=3D
>>>> Mark Millard
>>>> markmi at dsl-only.net
>>>>
>>>
>>>
>>
>=20
>=20
> =3D=3D=3D
> Mark Millard
> markmi at dsl-only.net
>=20
>=20


--=20
Regards,
Bryan Drewery


--Sj9WbwQKuSxefhBt9QejV7GQV1LhtNgAI--

--Fmll73KadUoXti7Bl4A305nXqQsPrFkBH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEzBAEBCgAdFiEE+Rc8ssOq6npcih8JNddxu25Gl88FAln8tgIACgkQNddxu25G
l8/ABQgAj5T97PIOkH6FTVl34uOTDi1kGT2XU7bZLHWqAZfRdeP3g9i6fJqPDzV2
TTEmtsX1g5H+hmvCnl/G9TxQQ/tzSi4StKc/rYKica/nzYUdNDGiVqv3fqIqu/D5
mgT70TS2NIEZGMNusNRzzy3rVE6ak/wcWC6vDkU5OfTrPkBnseQsqT+fO6qnbtdK
X+/V3kry4vxBMXtYYaghLZ6YIegsEZhrsi1VkuG0QTuSjGLREc0BbneNKQ6wjoJu
sjVGkAGekH1UYXdEPhWMr0Myv1qtcZNlKuy4v5Wbac8Mc9Uzkfn7rQYZfe+A1HxR
md9B+cCSHofUv8vQC2gUkNbpsoZcUw==
=Apkb
-----END PGP SIGNATURE-----

--Fmll73KadUoXti7Bl4A305nXqQsPrFkBH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12bff2b7-655d-b236-5f96-d405870e53d0>