[Buildroot] [PATCH] package/xenomai: bfin remove inline keyword

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Nov 16 11:27:59 UTC 2016


Hello,

On Wed, 16 Nov 2016 00:22:18 +0100, Romain Naour wrote:
> Xenomai user space tools fail to build for bfin target since it's
> provide it's own pthread_atfork(), shm_open() and shm_unlink()
> definition using the inline keyword and weak attribute.
> 
> With gcc 5+ the weak attribute is discarded by the inline keyword,
> so each symbol are global and are redefined several time while
> linking.
> 
> Fixes:
> http://autobuild.buildroot.net/results/0c2/0c2e5eb4edd4f9427f61d3c9b67a12a7a0e24140
> 
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> ---
>  .../xenomai/0001-bfin-remove-inline-keyword.patch  | 61 ++++++++++++++++++++++
>  1 file changed, 61 insertions(+)
>  create mode 100644 package/xenomai/0001-bfin-remove-inline-keyword.patch

I've added a reference to the upstream commit in the patch description
(would have been nice if you had added it yourself), and applied to
master. Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list