From patchwork Fri Sep 12 10:40:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 388574 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 383691400F0 for ; Fri, 12 Sep 2014 20:40:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B01D191D7F; Fri, 12 Sep 2014 10:40:48 +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 eN0G5hu9NIos; Fri, 12 Sep 2014 10:40:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A79BF91D6E; Fri, 12 Sep 2014 10:40:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EEC0D1C24A9 for ; Fri, 12 Sep 2014 10:40:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EA50591D6E for ; Fri, 12 Sep 2014 10:40:46 +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 kBnS3ryeqVEt for ; Fri, 12 Sep 2014 10:40:46 +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 whitealder.osuosl.org (Postfix) with ESMTP id 3E32891D6B for ; Fri, 12 Sep 2014 10:40:46 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 6B68586B2C863 for ; Fri, 12 Sep 2014 11:40:41 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 12 Sep 2014 11:40:43 +0100 Received: from localhost.localdomain (192.168.154.104) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 12 Sep 2014 11:40:42 +0100 From: Vicente Olivert Riera To: Date: Fri, 12 Sep 2014 11:40:38 +0100 Message-ID: <1410518438-14544-1-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-Originating-IP: [192.168.154.104] Subject: [Buildroot] [PATCH] strace: Disable for MIPS when using a uClibc toolchain X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net A change introduced in strace-4.9 makes it incompatible with MIPS architecture when using a uClibc toolchain. This is the failure: signal.c: In function 'printsiginfo': signal.c:453:9: error: 'siginfo_t' has no member named 'si_timerid' sip->si_timerid, sip->si_overrun); ^ signal.c:453:26: error: 'siginfo_t' has no member named 'si_overrun' sip->si_timerid, sip->si_overrun); uClibc needs to be patched in order to fix this problem. In the meantime we disable strace for MIPS when using a uClibc toolchain. Fixes: http://autobuild.buildroot.net/results/91c/91c0413e755c365332bc15d1d69ab3d6160ae78c/ Signed-off-by: Vicente Olivert Riera --- package/strace/Config.in | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/package/strace/Config.in b/package/strace/Config.in index ad8d308..bc521e0 100644 --- a/package/strace/Config.in +++ b/package/strace/Config.in @@ -1,6 +1,8 @@ config BR2_PACKAGE_STRACE bool "strace" depends on !BR2_nios2 + depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) \ + && BR2_TOOLCHAIN_USES_UCLIBC) depends on BR2_LARGEFILE help A useful diagnostic, instructional, and debugging tool. @@ -11,3 +13,7 @@ config BR2_PACKAGE_STRACE comment "strace needs a toolchain w/ largefile" depends on !BR2_LARGEFILE + +comment "strace is not supported on MIPS using a uClibc toolchain" + depends on (BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && \ + BR2_TOOLCHAIN_USES_UCLIBC