Error in elf_machdep.c when building a kernel

Marius Strobl marius at alchemy.franken.de
Thu Apr 14 08:53:31 UTC 2011


On Thu, Apr 14, 2011 at 03:50:59AM -0400, Super Bisquit wrote:
> I had noted nefore that elf64-sparc-freebsd was not found.
> There is /usr/src/contrib/binutils/ld/emulparams/elf64_sparc.sh and
> /usr/src/contrib/binutils/ld/emulparams/elf64_sparc_fbsd.sh
> 
> I replaced freebsd with fbsd in the stated file and saved
> elf_machdep.c to elf_machdep.c.old.
> 
> I'm not sure if it will correct the problem.

Sounds like you're trying to build world across the binutils update
with an unclean object directory; you need to delete it or not use
-DNO_CLEAN, otherwise the result likely won't work, even with your
hack.

Marius



More information about the freebsd-sparc64 mailing list