Port-arm archive

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

Re: Unable to build toolchain on asahi linux



On Sun, Oct 11, 2026 at 10:12:14PM +0200, iooioio wrote:
> Hello there.
> 
> I'm a linux person interesting in dipping my toes into netbsd.
> 
> I'm currently trying to build a netbsd-11.0 toolchain with `build.sh` like this:
> 
>  ./build.sh -U -O ../obj -j10 -m evbarm -a aarch64 -N1 -u tools
> 
> ... which results in a build failure that looks like this:
> 
> *** Failed target: cmds.o
> *** In directory: /home/iooioio/netbsd/usr/obj/tools/texinfo/build/makeinfo
> *** Failed commands:
> 	if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<;  then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
> 	=> if cc -DHAVE_CONFIG_H -I. -I/home/iooioio/netbsd/usr/src/tools/texinfo/../../external/gpl2/texinfo/dist/makeinfo -I.. -I/home/iooioio/netbsd/usr/src/tools/texinfo/../../external/gpl2/texinfo/dist/lib -I../intl -DLOCALEDIR=\"/home/iooioio/netbsd/usr/src/../obj/tooldir.Linux-7.1.13-402.asahi.fc44.aarch64+16k-aarch64/share/locale\"   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O -MT cmds.o -MD -MP -MF ".deps/cmds.Tpo" -c -o cmds.o /home/iooioio/netbsd/usr/src/tools/texinfo/../../external/gpl2/texinfo/dist/makeinfo/cmds.c;  then mv -f ".deps/cmds.Tpo" ".deps/cmds.Po"; else rm -f ".deps/cmds.Tpo"; exit 1; fi
> *** [cmds.o] Error code 1
> 
> There's a fuller log here: https://paste.sh/3PsN5nHH#_yMgR5aQyyQ5mBrv82KOXXGE
> 
> I'm running fedora asahi remix on an apple m2 max so I it's likely the underlying issue is related to my hardware.
> 
> Any ideas what the issue could be or how to debug further?
> 
> Some info about my setup:
> 
> Source code: netbsd-11.0 (from ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-11.0/source/sets)
> Compiler: cc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)
> Host OS: fedora asahi remix 44 Hardware: apple m2 max

This should be fixed if you update src/external to the netbsd-11 branch.

https://releng.netbsd.org/cgi-bin/req-11.cgi?show=446

	Jonathan Kollasch


Home | Main Index | Thread Index | Old Index