From patchwork Sat Jan 21 16:11:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 718067 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3v5MyJ0lvJz9sxS for ; Sun, 22 Jan 2017 03:11:19 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="bJwNe50x"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F114C8643D; Sat, 21 Jan 2017 16:11:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fvq9B5hUvljV; Sat, 21 Jan 2017 16:11:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B305086906; Sat, 21 Jan 2017 16:11:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3D0521BFDB6 for ; Sat, 21 Jan 2017 16:11:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3B0BF85861 for ; Sat, 21 Jan 2017 16:11:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ehp1tqaftXMD for ; Sat, 21 Jan 2017 16:11:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by whitealder.osuosl.org (Postfix) with ESMTPS id 74FA4864C0 for ; Sat, 21 Jan 2017 16:11:12 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3v5My51Jd2zyfr for ; Sat, 21 Jan 2017 17:11:08 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1485015066; x=1485619867; bh=vmxES6wk5UMS8R+IPtHE5zHEfrx7UOckNyzMyF0CAdQ=; b=bJwNe50xDSkl m+By29XV6sp2X/Ow3CZr8nNW60u442VQxy/SlMXZP9hMo/K69Cr4i4IhIHCAW3sF 6YQg4STZIsNIyJVwxo0ZXQvwUmTE92Oj0LiejrLMaSQeTZQg4QRKNLk7x4IIVPRb QbZgM9Yphx0cDHCv2t5a/enCnS7a1KEOVlbkHmovsfEWfAzDIh+A9m9NUVBZXnQH MRlMUqngUhcKUzESJwAb8HVWIQxMZBK203jI6cxmVdls3TQa2H//bZbagxTrnpPI PKXn6MdIU6ke83RYXTSlelBS9jTNsPVYLi6QfM+pkAg6PS1kBpd2Yt+YCJzQTwAx s4K5OMBZYw== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id nOA0R5KyC42e; Sat, 21 Jan 2017 17:11:06 +0100 (CET) Received: from nzxt.fritz.box (x4d021ca3.dyn.telefonica.de [77.2.28.163]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Sat, 21 Jan 2017 17:11:06 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Sat, 21 Jan 2017 17:11:00 +0100 Message-Id: <20170121161100.3142-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/mpd: disable on SPARCV8, NIOS2, ARMV{4, 5} X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since version 0.20 mpd uses the C++11 feature `std::exception_ptr` which is not available on architectures that do not have always-lock-free atomics for int. The issue [1,2] has been fixed in GCC trunk r244051 [3] and will be available in GCC 7. However, as GCC 7 is not released yet and will not be before the next release of Buildroot, we disable the following architectures, which caused build errors on the autobuilders: * SPARCV8 * NIOS2 * ARMV4 * ARMV5 Fixes: http://autobuild.buildroot.net/results/1c5/1c5090fe361b08c60277e54be1bfa7e80d5d31d8/ http://autobuild.buildroot.net/results/076/07621b958a3a35066790543586549aa41f2effa9/ http://autobuild.buildroot.net/results/7b1/7b12d41bee83ad20251dbc7026e0fc665d5abe0c/ .. and many more [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735 [3] https://gcc.gnu.org/viewcvs/gcc/trunk/libstdc%2B%2B-v3/include/std/future?view=log&pathrev=244051 Signed-off-by: Jörg Krause --- package/mpd/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/mpd/Config.in b/package/mpd/Config.in index 9b22f68ce..52deef438 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -6,6 +6,11 @@ menuconfig BR2_PACKAGE_MPD depends on BR2_USE_MMU # fork depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 depends on BR2_TOOLCHAIN_HAS_ATOMIC + # std::exception_ptr is not available on architectures that do not have + # always-lock-free atomics for int. Note that GCC 7 will fix this issue + # by not relying on atomics anymore, so MPD will be available for these + # archs again (if build with GCC 7). + depends on !(BR2_sparc_v8 || BR2_nios2 || BR2_ARM_CPU_ARMV4 || BR2_ARM_CPU_ARMV5) select BR2_PACKAGE_BOOST select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_MPD_TREMOR if !(BR2_PACKAGE_MPD_MAD || BR2_PACKAGE_MPD_MPG123 || BR2_PACKAGE_MPD_VORBIS || BR2_PACKAGE_MPD_WAVPACK || BR2_PACKAGE_MPD_FLAC || BR2_PACKAGE_MPD_MUSEPACK || BR2_PACKAGE_MPD_FFMPEG) @@ -317,5 +322,6 @@ endif comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.9" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !(BR2_sparc_v8 || BR2_nios2 || BR2_ARM_CPU_ARMV4 || BR2_ARM_CPU_ARMV5) depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9