[Buildroot] [PATCH v2] mpd: fix build for ARC

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 1 21:12:30 UTC 2017


Hello,

On Wed,  1 Mar 2017 14:03:34 +0300, Vlad Zakharov wrote:
> mpd package fails for both internal and external ARC toolchain as check
> for pthread support fails. Such checks fails because _REENTRANT flag is
> not defined in gcc even when -pthread is passed.
> 
> So we add patch to gcc that defines _REENTRANT  on ARC when -pthread is
> passed.
> 
> Also it disables mpd package for external ARC toolchain as it fails due
> to the same issue.
> 
> This patch should be reverted as soon as the patch for GCC becomes a
> part of ARC toolchain.
> 
> Fixes:
>   http://autobuild.buildroot.net/results/7d7/7d70b62ad996830fbeca46dffcc7a1dc030e575d//
> 
> Signed-off-by: Vlad Zakharov <vzakhar at synopsys.com>
> ---
> Changes v1..v2:
>   - Sign off on gcc patch

Applied to master, thanks. Peter, I think this one qualifies for the
LTS branch.

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


More information about the buildroot mailing list