> BTW, a counterpart strncmp(".SUNW_ctf", ...) in libsa broke at least > > http://releng.netbsd.org/builds/HEAD/201003140000Z/mvme68k.build.failed > http://releng.netbsd.org/builds/HEAD/201003140000Z/mvmeppc.build.failed > > with > > loadfile_elf32.c:(.text+0x...): undefined reference to `strncmp' > > I guess you need to add strncmp.c to SRCS (see libsa/Makefile:35)
mvme* ports don't use MI libsa directly. Probably that's the problem. I had a patch for them to use MI libsa, but needs testers... http://mail-index.NetBSD.org/port-mvme68k/2009/04/11/msg000021.html > It's also suspicious that the same check is not in loadfile_elf64.c loadfile_elf64.c just includes loadfile_elf32.c. --- Izumi Tsutsui