Hi, Tobias Nygren <t...@netbsd.org> writes:
> On Fri, 31 Dec 2021 01:44:19 +0900 > Ryo ONODERA <r...@tetera.org> wrote: > >> # link LOCKDEBUG/netbsd >> /usr/world/9.99/amd64/tools/bin/x86_64--netbsd-ld -Map netbsd.map --cref -T >> netbsd.ldscript -Ttext 0xffffffff80200000 -e start -z max-page-size=0x200000 >> -X -o netbsd ${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o >> NetBSD 9.99.93 (LOCKDEBUG) #0: Fri Dec 31 01:31:35 JST 2021 >> text data bss dec hex filename >> 21646842 728976 1368064 23743882 16a4d8a netbsd >> + mv -f netbsd netbsd.gdb >> + /usr/world/9.99/amd64/tools/bin/x86_64--netbsd-objcopy --only-keep-debug >> netbsd.gdb netbsd-/usr/src/sys/arch/amd64/conf/LOCKDEBUG.debug >> /usr/world/9.99/amd64/tools/bin/x86_64--netbsd-objcopy: >> netbsd-/usr/src/sys/arch/amd64/conf/LOCKDEBUG.debug: No such file or >> directory > > Hi, > > Changing ${KERNEL_BUILD} to ${KERNEL_BUILD:T} mostly fixes the > above problem. But this change is still incompatible with MKUNPRIVED: I have never used :T modifier. Thanks for your information. It is very useful for my task. > aarch64--netbsd-install: > /work/src/../obj/destdir.evbarm/usr/libdata/debug/netbsd-GENERIC.lx2k.debug.inst.xOfGh2: > chown/chgrp: Operation not permitted And I have MKUNPRIVIVED too. > Additionally, it produces new noisy output that does not respect > MAKEVERBOSE level 0 or 1 in the final link stage. > > -Tobias Thank you. -- Ryo ONODERA // r...@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3