[OpenBIOS] OpenBIOS fails to build on sparc32/64 hosts

Blue Swirl blauwirbel at gmail.com
Sat Jul 31 21:56:14 CEST 2010


On Sat, Jul 31, 2010 at 4:35 AM, Aurelien Jarno <aurelien at aurel32.net> wrote:
> Hi,
>
> Trying to build OpenBIOS natively on sparc32 or sparc64 host, I get the following error:
>
> LINK  openbios-unix
> libopenbios.a(load.o): In function `load':
> /home/aurel32/openbios-devel/obj-sparc32/../libopenbios/load.c:41: undefined reference to `sys_info'
> /home/aurel32/openbios-devel/obj-sparc32/../libopenbios/load.c:41: undefined reference to `sys_info'
>
> It seems only sparc32/64 have CONFIG_LOADER_AOUT. The sys_info variable is defined in
> arch/sparc{32,64}/boot.c, but this file is not used to build openbios-unix. Any new what would be
> a real fix here, besides disabling CONFIG_LOADER_AOUT?

The real problem is that Unix target is not cleanly separated from
bare metal versions but some HW initialization stuff leaks in, like
the begin of unix.c. The target is also a bit hard to keep in synch
with the other targets. Some kind of cleanup would be nice, I don't
have a clear plan though.



More information about the OpenBIOS mailing list