Re: How to build only one part of NetBSD system

2023-01-22 Thread Havard Eidnes
>> As always before such an operation, "do the kernel first". > > How do you do the kernel first without building the userland to > build the updated tools? The "do the kernel first" is sort of a "general warning". Whether it is strictly needed depends on what version user-land and what version

Re: How to build only one part of NetBSD system

2023-01-22 Thread Thomas Mueller
> >> I tried going into libexec/ld.elf_so and running "make > >> install" but that didn't work or even come close. > > It would be something like: > > cd src/libexec/ld.elf_so > > ${TOOLDIR}/bin/nbmake-${arch} dependall > > ${TOOLDIR}/bin/nbmake-${arch} install > and if the

Re: How to build only one part of NetBSD system

2023-01-21 Thread Havard Eidnes
>> I tried going into libexec/ld.elf_so and running "make >> install" but that didn't work or even come close. > > It would be something like: > > cd src/libexec/ld.elf_so > ${TOOLDIR}/bin/nbmake-${arch} dependall > ${TOOLDIR}/bin/nbmake-${arch} install and if the tool nbmake

Re: How to build only one part of NetBSD system

2023-01-19 Thread Thomas Mueller
On Thu, Jan 19, 2023 at 05:33:03AM +, Thomas Mueller wrote: > >From /usr/src/UPDATING, > Recent changes: ^^^ > > 20230112: > > New binutils require an updated ld.elf_so. If you are doing > > (unsupported) in-place self builds (with the -E flag to

Re: How to build only one part of NetBSD system

2023-01-18 Thread Martin Husemann
On Thu, Jan 19, 2023 at 05:33:03AM +, Thomas Mueller wrote: > >From /usr/src/UPDATING, > > Recent changes: > ^^^ > > 20230112: > New binutils require an updated ld.elf_so. If you are doing > (unsupported) in-place self builds (with the -E flag to build.sh), >

How to build only one part of NetBSD system

2023-01-18 Thread Thomas Mueller
>From /usr/src/UPDATING, Recent changes: ^^^ 20230112: New binutils require an updated ld.elf_so. If you are doing (unsupported) in-place self builds (with the -E flag to build.sh), make sure to have installed latest ld.elf_so before you rebuild