[OpenBIOS] PPC: add a native configuration

Blue Swirl blauwirbel at gmail.com
Wed Dec 31 22:05:10 CET 2008


On 12/31/08, Aurelien Jarno <aurelien at aurel32.net> wrote:
> On Wed, Dec 31, 2008 at 08:00:18PM +0200, Blue Swirl wrote:
>  > On 12/31/08, Aurelien Jarno <aurelien at aurel32.net> wrote:
>  > > On Wed, Dec 31, 2008 at 05:24:13PM +0200, Blue Swirl wrote:
>  > >  > On 12/31/08, Aurelien Jarno <aurelien at aurel32.net> wrote:
>  > >  > > This patch adds a native configuration for PPC. It is based on the cross
>  > >  > >  configuration files
>  > >  > >
>  > >  > >  Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>
>  > >  >
>  > >  > >    <!-- Build hosted UNIX Binary -->
>  > >  > >  -  <option name="CONFIG_HOST_UNIX" type="boolean" value="true"/>
>  > >  > >  +  <option name="CONFIG_HOST_UNIX" type="boolean" value="false"/>
>  > >  >
>  > >  > When compiling natively, we can build a Unix host version too. Is it
>  > >  > OK if I commit the patch including your sign-off with this change
>  > >  > removed?
>  > >  >
>  > >
>  > >
>  > > Yes, I have seen that, but the Unix host version is currently not
>  > >  building. I think we can enable it when it is fixed.
>  >
>  > Oh, what's the problem?
>
>
> obj-ppc/libbootstrap.a(primitives.o): In function `iocfetch':
>  primitives.c:(.text+0x1416): undefined reference to `isa_io_base'
>  primitives.c:(.text+0x141e): undefined reference to `isa_io_base'
>  obj-ppc/libbootstrap.a(primitives.o): In function `iowfetch':
>  primitives.c:(.text+0x1456): undefined reference to `isa_io_base'
>  primitives.c:(.text+0x145e): undefined reference to `isa_io_base'
>  obj-ppc/libbootstrap.a(primitives.o): In function `iolfetch':
>  primitives.c:(.text+0x148a): undefined reference to `isa_io_base'
>  obj-ppc/libbootstrap.a(primitives.o):primitives.c:(.text+0x1492): more undefined references to `isa_io_base' follow
>  collect2: ld returned 1 exit status
>  make[1]: *** [obj-ppc/openbios-unix] Erreur 1

The in/out functions reference isa_io_base, defined in include/ppc/io.h.

Would this patch fix the build?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_unix_host_ppc.diff
Type: plain/text
Size: 457 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20081231/ab1f9def/attachment-0001.bin>


More information about the OpenBIOS mailing list