Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2023 08:06:43 +0000
From:      =?utf-8?Q?Mina_Gali=C4=87?= <freebsd@igalic.co>
To:        marklmi@yahoo.com, freebsd-current@freebsd.org
Subject:   Re: /usr/sbin/etcupdate -D/usr/obj/DESTDIRs/main-CA7-chroot -s /usr/main-src -M TARGET_ARCH=armv7 ends up building dtc !
Message-ID:  <mpae5o2w0UkqcZ62zyrSH_Ckp7bg8kWE7Is1rr-zB57Bfa7cEFA4E4uro_ulEdC01-1El9XM5kc-FG2W4ON0KNdE6Dq5alS8iCD3pmln7Rg=@igalic.co>
In-Reply-To: <3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2@yahoo.com>
References:  <3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2.ref@yahoo.com> <3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2@yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
from IRC, i have learned this is working as designed:
etcupdate without -B does a build.

Also, jrtc27 recently made it so bootstrapping, because otherwise BUILD_WITH_STRICT_TMPPATH doesn't work: https://github.com/freebsd/freebsd-src/commit/d81da4c98328d4ee3fe4c0a85f6874a3c69a1afd

Kind regards,
Mina Galić

-------- Original Message --------
On 13 Aug 2023, 08:32, Mark Millard wrote:

> 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=armv7 `-- make TARGET_ARCH=armv7 -DNO_FILEMON buildetc `-- make -m /usr/main-src/share/mk -f Makefile.inc1 TARGET=arm TARGET_ARCH=armv7 buildetc `-- make -f Makefile.inc1 _bootstrap-tools MK_CROSS_COMPILER=no MK_TOOLCHAIN=no . . . `-- /bin/sh -e -c echo "===> usr.bin/dtc (obj,all,install)"; cd /usr/main-src/usr.bin/dtc;. . . install `-- make DIRPRFX=usr.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. === Mark Millard marklmi at yahoo.com
[-- Attachment #2 --]
from IRC, i have learned this is working as designed:<br>etcupdate without -B does a build.<br><br>Also, jrtc27 recently made it so bootstrapping, because otherwise BUILD_WITH_STRICT_TMPPATH doesn&#39;t work: <a href="https://github.com/freebsd/freebsd-src/commit/d81da4c98328d4ee3fe4c0a85f6874a3c69a1afd">https://github.com/freebsd/freebsd-src/commit/d81da4c98328d4ee3fe4c0a85f6874a3c69a1afd</a><br><br><br>Kind regards, <br>Mina Galić<br><br><br><br><br>-------- Original Message --------<br>On 13 Aug 2023, 08:32, Mark Millard < marklmi@yahoo.com> wrote:<blockquote class="protonmail_quote"><br>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=armv7
  `-- make TARGET_ARCH=armv7 -DNO_FILEMON buildetc
    `-- make -m /usr/main-src/share/mk -f Makefile.inc1 TARGET=arm TARGET_ARCH=armv7 buildetc
      `-- make -f Makefile.inc1 _bootstrap-tools MK_CROSS_COMPILER=no MK_TOOLCHAIN=no
        . . .
             `-- /bin/sh -e -c echo "===> usr.bin/dtc (obj,all,install)";  cd /usr/main-src/usr.bin/dtc;. . . install
               `-- make DIRPRFX=usr.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.

===
Mark Millard
marklmi at yahoo.com


</div>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mpae5o2w0UkqcZ62zyrSH_Ckp7bg8kWE7Is1rr-zB57Bfa7cEFA4E4uro_ulEdC01-1El9XM5kc-FG2W4ON0KNdE6Dq5alS8iCD3pmln7Rg=>