From: Peter Korsgaard Date: Thu, 02 Mar 2017 21:46:10 +0100 Subject: [Buildroot] [PATCH v2] mpd: fix build for ARC In-Reply-To: <20170301221230.0ef8e330@free-electrons.com> (Thomas Petazzoni's message of "Wed, 1 Mar 2017 22:12:30 +0100") References: <1488366214-19802-1-git-send-email-vzakhar@synopsys.com> <20170301221230.0ef8e330@free-electrons.com> Message-ID: <87y3wnflv1.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas Petazzoni 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 >> --- >> 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