[OpenBIOS] [PATCH 7/7] PPC: Disable host binary build

Blue Swirl blauwirbel at gmail.com
Tue Feb 23 23:05:08 CET 2010


On 2/24/10, Alexander Graf <agraf at suse.de> wrote:
>
>  On 23.02.2010, at 22:42, Blue Swirl wrote:
>
>  > On 2/22/10, Alexander Graf <agraf at suse.de> wrote:
>  >> Blue Swirl wrote:
>  >>> On 2/22/10, Alexander Graf <agraf at suse.de> wrote:
>  >>>
>  >>>> On PPC the host binary build always fails for me. Since I guess I'm
>  >>>>
>  >>>
>  >>> What's the problem?
>  >>>
>  >>
>  >>
>  >> Building OpenBIOS for ppc
>  >> Building...error:
>  >> /usr/bin/ld: Warning: openbios-unix uses hard float, libfs.a(btree.o)
>  >> uses soft float
>  >> /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(ctype.o)
>  >> uses soft float
>  >> /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(diskio.o)
>  >> uses soft float
>  >> /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(extra.o)
>  >> uses soft float
>  >> /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(misc.o)
>  >> uses soft float
>  >> /usr/bin/ld: Warning: openbios-unix uses hard float, liblibc.a(string.o)
>  >> uses soft float
>  >> /usr/bin/ld: Warning: openbios-unix uses hard float,
>  >> liblibc.a(vsprintf.o) uses soft float
>  >> libmodules.a(elf-loader.o): In function `elf_loader_init_program':
>  >> /home/agraf/git/openbios-devel/obj-ppc/../modules/elf-loader.c:77:
>  >> undefined reference to `flush_icache_range'
>  >> libmodules.a(xcoff-loader.o): In function `xcoff_loader_init_program':
>  >> /home/agraf/git/openbios-devel/obj-ppc/../modules/xcoff-loader.c:110:
>  >> undefined reference to `flush_icache_range'
>  >> collect2: ld returned 1 exit status
>  >> make[1]: *** [openbios-unix] Error 1
>  >> make[1]: *** Waiting for unfinished jobs....
>  >> make[1]: Leaving directory `/home/agraf/git/openbios-devel/obj-ppc'
>  >> make: *** [build] Error 1
>  >>
>  >
>  > I think the first patch should help with this, could you test it?
>
>
> Yes, it really is that simple ;-). So we really don't have to flush the icache when we flush the icache?

I'd suppose the Unix version does not need icache flushes. Can you
execute something with openbios-unix?



More information about the OpenBIOS mailing list