libbsd master is broken with powerpc

Chris Johns chrisj at rtems.org
Wed Sep 23 05:11:46 UTC 2020


On 23/9/20 3:08 pm, Chris Johns wrote:
> Hi,
> 
> I am seeing this ...
> 
> '-o/opt/work/chris/rtems/libbsd/rtems-libbsd.git/build/powerpc-rtems6-psim-default/linux/drivers/soc/fsl/qbman/qman_ccsr.c.19.o']
> In file included from ../../rtemsbsd/include/machine/rtems-bsd-kernel-space.h:59,
>                  from ../../linux/drivers/soc/fsl/qbman/qman_ccsr.c:1:
> ../../rtemsbsd/powerpc/include/linux/genalloc.h: In function 'gen_pool_alloc':
> ../../rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h:327:21: error: too
> few arguments to function '_bsd_blist_alloc'
>   327 | #define blist_alloc _bsd_blist_alloc
>       |                     ^~~~~~~~~~~~~~~~
> ../../rtemsbsd/powerpc/include/linux/genalloc.h:91:10: note: in expansion of
> macro 'blist_alloc'
>    91 |  blkno = blist_alloc(gp->gen_list, chunks);
>       |          ^~~~~~~~~~~
> ../../rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h:327:21: note:
> declared here
>   327 | #define blist_alloc _bsd_blist_alloc
>       |                     ^~~~~~~~~~~~~~~~
> ../../freebsd/sys/sys/blist.h:99:9: note: in expansion of macro 'blist_alloc'
>    99 | daddr_t blist_alloc(blist_t blist, int *count, int maxcount);
>       |         ^~~~~~~~~~~
> 
> Waf: Leaving directory
> `/opt/work/chris/rtems/libbsd/rtems-libbsd.git/build/powerpc-rtems6-psim-default'
>

Sorry for the noise. I pulled the wrong repo. Update the repo and it builds.

Chris


More information about the devel mailing list