[yocto] [meta-raspberrypi][PATCH] userland: Fix multiple inline issues while building with gcc 5.x

Andrei Gherzan andrei at gherzan.ro
Fri Oct 2 14:29:46 PDT 2015


On Sun, Sep 27, 2015 at 03:34:14PM +0200, Tom Doehring wrote:
> Building userland source with gcc 5.x causes multiple issues such as:
> 
> vcos_thread.h:186:15: warning: inline function 'vcos_thread_get_affinity' declared but never defined
> |  VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread);
> 
> The following patches fixes these issues and allows building userland on the current
> poky master branch.
> 
> Signed-off-by: Tom Doehring <toolmmy at googlemail.com>
> ---
>  .../userland/0001-Use-newer-POSIX-macro.patch      | 35 ----------------------
>  .../userland/0001-fix-gcc-5.x-inlines.patch        | 26 ++++++++++++++++
>  .../userland/userland/0002-fix-musl-build.patch    | 22 ++++++++++++++
>  .../0003-fix-alloc-size-uninitialized.patch        | 13 ++++++++
>  recipes-graphics/userland/userland_git.bb          | 13 +++++---
>  5 files changed, 70 insertions(+), 39 deletions(-)
>  delete mode 100644 recipes-graphics/userland/userland/0001-Use-newer-POSIX-macro.patch
>  create mode 100644 recipes-graphics/userland/userland/0001-fix-gcc-5.x-inlines.patch
>  create mode 100644 recipes-graphics/userland/userland/0002-fix-musl-build.patch
>  create mode 100644 recipes-graphics/userland/userland/0003-fix-alloc-size-uninitialized.patch
> 

Tested on GCC 5.2.0 and worked fine. Merged to master. Thank you.

-- 
Andrei Gherzan



More information about the yocto mailing list