From patchwork Tue May 31 11:13:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 628143 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rJrTF4QgMz9t5T for ; Tue, 31 May 2016 21:13:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B56EC2831F; Tue, 31 May 2016 11:13:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YQLMw2Hmlcjr; Tue, 31 May 2016 11:13:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C41392D615; Tue, 31 May 2016 11:13:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D247E1C11CD for ; Tue, 31 May 2016 11:13:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CF269875ED for ; Tue, 31 May 2016 11:13:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ObuWMo5Md7Cy for ; Tue, 31 May 2016 11:13:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by fraxinus.osuosl.org (Postfix) with ESMTP id 81A35875C9 for ; Tue, 31 May 2016 11:13:29 +0000 (UTC) Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Websense Email with ESMTPS id DF28490F94FC6; Tue, 31 May 2016 12:13:24 +0100 (IST) Received: from vriera-linux.le.imgtec.org (192.168.154.36) by HHMAIL01.hh.imgtec.org (10.100.10.21) with Microsoft SMTP Server (TLS) id 14.3.294.0; Tue, 31 May 2016 12:13:27 +0100 From: Vicente Olivert Riera To: Date: Tue, 31 May 2016 12:13:18 +0100 Message-ID: <1464693198-16523-2-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1464693198-16523-1-git-send-email-Vincent.Riera@imgtec.com> References: <1464693198-16523-1-git-send-email-Vincent.Riera@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.36] Cc: thomas.petazzoni@free-electrons.com, yann.morin.1998@free.fr Subject: [Buildroot] [PATCH v2 next 7/7] valgrind: disable for MIPS soft-float when using binutils >= 2.25 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" As stated here [1], recent changes on the MIPS binutils sources have made it necessary for GCC to pass the -msoft-float to the assembler. Due to that, valgrind fails to build for MIPS soft-float when using a version of GCC >= 4.9 and binutils >= 2.25 because its using some hard-float instructions. The combination of GCC-4.8.x and binutils >= 2.25 is not possible as its disabled in package/gcc/Config.in.host. 1: https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00905.html Fixes: http://autobuild.buildroot.net/results/5f5/5f576c7f8d56058a19ed0e7ff4b1ec620bcafb65/ Signed-off-by: Vicente Olivert Riera Reviewed-by: "Yann E. MORIN" --- package/valgrind/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 21b2608..3093809 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -8,6 +8,7 @@ config BR2_PACKAGE_VALGRIND BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \ BR2_x86_64 depends on !BR2_STATIC_LIBS + depends on !(BR2_MIPS_SOFT_FLOAT && BR2_TOOLCHAIN_BINUTILS_AT_LEAST_2_25) help Tool for debugging and profiling Linux programs.