Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: issue building current kernel fails, stripattach



On Wed, Dec 28, 2022 at 05:38:00PM +0000, Riccardo Mottola wrote:
> Hi,
> 
> to debug nouveau I need to build a current kernel, as advised on
> netbsd-users.
> 
> I got sources snapshot, updated with "cvs -q update -dPA". Did it twice to
> be sure not to have gotten a bad release.
> To do this, I need current tooIs: I built tools  using "./build.sh -U -j2
> tools" .
> 
> However, building the kernel fails
> 
> #      link  Aspire/netbsd
> /usr/src/obj/tooldir.NetBSD-9.3-i386/bin/i486--netbsdelf-ld -Map netbsd.map
> --cref -T netbsd.ldscript -Ttext c0100000 -e start -X -o netbsd
> ${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o
> /usr/src/obj/tooldir.NetBSD-9.3-i386/bin/i486--netbsdelf-ld:
> ioconf.o:(.rodata+0xa0): undefined reference to `stripattach'
> 
> 
> Ideas?

strip(4) was removed since 9, but some small remnants remained such that
this failed at link time rather than config(1) time.

Fixed in src/sys/conf/files r1.1306.


Home | Main Index | Thread Index | Old Index