From owner-freebsd-arm@freebsd.org Sun Jan 29 21:09:45 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5D09CC6BFE for ; Sun, 29 Jan 2017 21:09:45 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-74.reflexion.net [208.70.210.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAE3CEA1 for ; Sun, 29 Jan 2017 21:09:44 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 31859 invoked from network); 29 Jan 2017 21:11:22 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 29 Jan 2017 21:11:22 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Sun, 29 Jan 2017 16:09:38 -0500 (EST) Received: (qmail 23659 invoked from network); 29 Jan 2017 21:09:38 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 29 Jan 2017 21:09:38 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id B46E5EC77A4; Sun, 29 Jan 2017 13:09:37 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: head -r312942: install: link /usr/obj/DESTDIRs/.../boot/dtb/am3335x-bone.dtb -> /usr/obj/DESTDIRs/.../boot/dtb/beaglebone.dtb: No such file or directory Message-Id: <9F808021-FA63-4569-B277-8A784DD32479@dsl-only.net> Date: Sun, 29 Jan 2017 13:09:36 -0800 To: FreeBSD Toolchain , freebsd-arm X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 21:09:46 -0000 For a prior amd64 -> armv6 cross build and I tried a local file system install of the kernel via DESTDIR=3D use: > Script started on Sun Jan 29 12:51:42 2017 > Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRCCONF=3D/dev/null = SRC_ENV_CONF=3D/root/src.configs/src.conf.bpim3-clang-bootstrap.amd64-host= WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/bpim3_clang make -j 4 = installkernel DESTDIR=3D/usr/obj/DESTDIRs/clang-bpim3-installkernel . . . But the install stopped early with: > --- realinstall_subdir_dtb/am335x --- > install: link = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/am3335x-bone.dtb -> = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/beaglebone.dtb: No = such file or directory > *** [_installlinks] Error code 71 >=20 > make[4]: stopped in /usr/src/sys/modules/dtb/am335x > 1 error >=20 > make[4]: stopped in /usr/src/sys/modules/dtb/am335x > *** [realinstall_subdir_dtb/am335x] Error code 2 >=20 > make[3]: stopped in /usr/src/sys/modules Retrying without -j 4 failed the same way: > =3D=3D=3D> dtb/am335x (install) > test -d /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb || = install -d -o root -g wheel = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb > install -o root -g wheel -m 444 am335x-bone.dtb = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/ > install -o root -g wheel -m 444 am335x-boneblack.dtb = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/ > install -o root -g wheel -m 444 am335x-bonegreen.dtb = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/ > install -o root -g wheel -m 444 ufw.dtb = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/ > /boot/dtb/beaglebone.dtb -> /boot/dtb/am3335x-bone.dtb > install: link = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/am3335x-bone.dtb -> = /usr/obj/DESTDIRs/clang-bpim3-installkernel/boot/dtb/beaglebone.dtb: No = such file or directory > *** Error code 71 >=20 > Stop. > make[4]: stopped in /usr/src/sys/modules/dtb/am335x > *** Error code 1 >=20 > Stop. > make[3]: stopped in /usr/src/sys/modules > *** Error code 1 >=20 > Stop. > make[2]: stopped in = /usr/obj/bpim3_clang/arm.armv6/usr/src/sys/BPIM3-NODBG > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src Details: > # more /usr/src/sys/arm/conf/BPIM3-NODBG > # > # BPIM3 -- Custom configuration for the Banana Pi M3 > # >=20 > include "GENERIC" >=20 > ident BPIM3-NODBG >=20 > makeoptions DEBUG=3D-g # Build kernel with gdb(1) = debug symbols >=20 > options ALT_BREAK_TO_DEBUGGER >=20 > options KDB # Enable kernel debugger = support >=20 > # For minimum debugger support (stable branch) use: > options KDB_TRACE # Print a stack trace for a = panic > options DDB # Enable the kernel debugger >=20 > # Extra stuff: > #options VERBOSE_SYSINIT # Enable verbose sysinit = messages > #options BOOTVERBOSE=3D1 > #options BOOTHOWTO=3DRB_VERBOSE > #options KTR > #options KTR_MASK=3DKTR_TRAP > ##options KTR_CPUMASK=3D0xF > #options KTR_VERBOSE >=20 > # Disable any extra checking for. . . > nooptions DEADLKRES # Enable the deadlock resolver > nooptions INVARIANTS # Enable calls of extra sanity = checking > nooptions INVARIANT_SUPPORT # Extra sanity checks of = internal structures, required by INVARIANTS > nooptions WITNESS # Enable checks to detect = deadlocks and cycles > nooptions WITNESS_SKIPSPIN # Don't run witness on = spinlocks for speed > nooptions DIAGNOSTIC > # more /root/src.configs/src.conf.bpim3-clang-bootstrap.amd64-host > TO_TYPE=3Darmv6 > # > KERNCONF=3DBPIM3-NODBG > TARGET=3Darm > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > WITH_CROSS_COMPILER=3D > WITHOUT_SYSTEM_COMPILER=3D > # > #CPUTYPE=3Dsoft > 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 > # > # Linking lldb fails for armv6(/v7) (historical binutils) > WITHOUT_LLDB=3D > # > WITH_BOOT=3D > WITHOUT_LIB32=3D > WITHOUT_LIBSOFT=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 > # > XCFLAGS+=3D -mcpu=3Dcortex-a7 > XCXXFLAGS+=3D -mcpu=3Dcortex-a7 > # There is no XCPPFLAGS but XCPP gets XCFLAGS content. > # more /root/src.configs/make.conf > #MALLOC_PRODUCTION=3D > #NO_WERROR=3D > #WERROR=3D > CFLAGS.gcc+=3D -v =3D=3D=3D Mark Millard markmi at dsl-only.net