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

Peter Korsgaard peter at korsgaard.com
Thu Mar 2 20:46:10 UTC 2017


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > 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.

Committed to 2017.02.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list