Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2023 00:32:39 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   /usr/sbin/etcupdate -D/usr/obj/DESTDIRs/main-CA7-chroot -s /usr/main-src -M TARGET_ARCH=armv7 ends up building dtc !
Message-ID:  <3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2@yahoo.com>
References:  <3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'd noticed that the etcupdate part of my build procedure has been =
taking
much time. So I looked with a ps -axldww while it was going on. An
example was:

`-- /bin/sh /usr/sbin/etcupdate -D/usr/obj/DESTDIRs/main-CA7-chroot -s =
/usr/main-src -M TARGET_ARCH=3Darmv7
  `-- make TARGET_ARCH=3Darmv7 -DNO_FILEMON buildetc
    `-- make -m /usr/main-src/share/mk -f Makefile.inc1 TARGET=3Darm =
TARGET_ARCH=3Darmv7 buildetc
      `-- make -f Makefile.inc1 _bootstrap-tools MK_CROSS_COMPILER=3Dno =
MK_TOOLCHAIN=3Dno
        . . .
             `-- /bin/sh -e -c echo "=3D=3D=3D> usr.bin/dtc =
(obj,all,install)";  cd /usr/main-src/usr.bin/dtc;. . . install
               `-- make DIRPRFX=3Dusr.bin/dtc/ all
                 `-- c++ -O2 -pipe -fno-common -DNDEBUG . . . -c =
/usr/main-src/usr.bin/dtc/fdt.cc -o fdt.o

More may build. This is just what was present
when I happened to look.

Seems an odd thing to be happening for an etcupdate .

I'll note that aarch64 targeting aarch64 (self hosted
build) also spends notable time and is likely doing
similarly.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2>