From patchwork Tue Oct 30 20:59:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 195623 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 424B92C0091 for ; Wed, 31 Oct 2012 08:00:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3318B8A384; Tue, 30 Oct 2012 21:00:27 +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 eP5RqEYnv5VS; Tue, 30 Oct 2012 21:00:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2574F8A309; Tue, 30 Oct 2012 21:00:22 +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 CCA7B8F74A for ; Tue, 30 Oct 2012 21:00:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 271178A145 for ; Tue, 30 Oct 2012 21:00:21 +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 b7AYLtFZHnAm for ; Tue, 30 Oct 2012 21:00:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id 29FAE8A309 for ; Tue, 30 Oct 2012 21:00:03 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1TTIul-0007R7-RV; Tue, 30 Oct 2012 22:00:00 +0100 Received: from arnout by vandecaa-laptop with local (Exim 4.80) (envelope-from ) id 1TTIuk-00019N-1T; Tue, 30 Oct 2012 21:59:58 +0100 From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@busybox.net Date: Tue, 30 Oct 2012 21:59:57 +0100 Message-Id: <1351630798-4390-1-git-send-email-arnout@mind.be> X-Mailer: git-send-email 1.7.10.4 Subject: [Buildroot] [PATCH] strace: fix build for x86_64 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net strace fails to build on x86_64 because stat64 is not available. This is because the automatic detection of stat64 in configure is overridden by buildroot, by setting ac_cv_type_stat64. Just remove that override - current strace seems to detect it correctly for non-largefile platforms. Build-tested on x86_64 (with largefile), ARM (with and without largefile), sh4, MIPS and ppc-32 (no largefile). Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/strace/strace.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/strace/strace.mk b/package/strace/strace.mk index 7876848..ad1d042 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -9,8 +9,7 @@ STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz STRACE_SITE = http://downloads.sourceforge.net/project/strace/strace/$(STRACE_VERSION) STRACE_CONF_ENV = ac_cv_header_linux_if_packet_h=yes \ - ac_cv_header_linux_netlink_h=yes \ - $(if $(BR2_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no) + ac_cv_header_linux_netlink_h=yes ifeq ($(BR2_LARGEFILE),y) # strace gets confused when lfs mode is forced, so don't