From patchwork Mon Sep 14 07:43:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Corjon X-Patchwork-Id: 517299 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 1A54514078B for ; Mon, 14 Sep 2015 17:44:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 83AC195C78; Mon, 14 Sep 2015 07:44:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bQPAM5sNOIkE; Mon, 14 Sep 2015 07:44:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B2A4295805; Mon, 14 Sep 2015 07:44:08 +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 75E091C04C3 for ; Mon, 14 Sep 2015 07:44:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 72849A4AD8 for ; Mon, 14 Sep 2015 07:44:07 +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 7G_XBPAcHhpY for ; Mon, 14 Sep 2015 07:44:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 55F76A4AD0 for ; Mon, 14 Sep 2015 07:44:06 +0000 (UTC) Received: by wiclk2 with SMTP id lk2so128562858wic.0 for ; Mon, 14 Sep 2015 00:44:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UBWwsYc/jB5B0sXaJwsLoGjzLYGG65eRbnHAfq6OcXo=; b=FCZFfVvqzhCJSm2rkXR/1ZwZOEk5adgC5Hy7O4aMCciIjJntxbWv6tpNA4oY6FHyC0 2aHAMOXjM7ToTJkBPWgE5El3ksTUtRuK5G8klOj5D8oNCAuTjT3mzI8Et1GUSQZ6kYnA qgfHgNWrgbSB77SgaRmY0vKP6MT1l8sxRIrDzkltOfmQK93qyfw5QUJzz7O6oKS7D5eL uzwPi+XMr3quBh8LCW8BYpttBXLuM7OiIAl6lGPvyTx8MbRXq2nAD4zYnGzGbvejvnLc c/JYZZ4JPGbzd5pf8zPITwGJRNxAEy1i1lgYHtUWR4I7ZYsRmo4pl3qXy8FBg/X0Ud3N hFNg== X-Received: by 10.180.84.196 with SMTP id b4mr23956544wiz.32.1442216644680; Mon, 14 Sep 2015 00:44:04 -0700 (PDT) Received: from mic341-linux.sinters-int.fr ([195.200.174.78]) by smtp.gmail.com with ESMTPSA id f17sm14031856wjn.38.2015.09.14.00.44.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Sep 2015 00:44:03 -0700 (PDT) From: Julien Corjon To: buildroot@buildroot.org Date: Mon, 14 Sep 2015 09:43:45 +0200 Message-Id: <1442216625-12120-1-git-send-email-corjon.j@ecagroup.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441988351-9923-1-git-send-email-corjon.j@ecagroup.com> References: <1441988351-9923-1-git-send-email-corjon.j@ecagroup.com> Cc: thomas.petazzoni@free-electrons.com, software.eca-sinters@ecagroup.com Subject: [Buildroot] [PATCH v2] stress-ng: Depend on kernel headers >= 3.3 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" perf.c need PERF_COUNT_HW_REF_CPU_CYCLES generic PMU event which is available only since 3.3 kernel version Fixes: http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9 http://autobuild.buildroot.net/results/dac6a85fdd721b959175caf5629b91dee717c3c6 http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9 Signed-off-by: Julien Corjon Reviewed-by: Vicente Olivert Riera Tested-by: Vicente Olivert Riera --- v1 -> v2 : - Fixe commit log (suggested by Vincente Olivert Riera) - Add autobuild references (suggested by Romain Naour) package/stress-ng/Config.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/stress-ng/Config.in b/package/stress-ng/Config.in index cdf9984..1e475b1 100644 --- a/package/stress-ng/Config.in +++ b/package/stress-ng/Config.in @@ -4,8 +4,8 @@ config BR2_PACKAGE_STRESS_NG # disabled on musl: stress-malloc.c needs mallopt() and M_MMAP_THRESHOLD # disabled on uClibc: stress-aio.c needs aio.h depends on BR2_TOOLCHAIN_USES_GLIBC - # perf.c needs PERF_COUNT_HW_STALLED_CYCLES_FRONTEND - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + # perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 depends on !BR2_microblaze # keyutils depends on !BR2_STATIC_LIBS # keyutils select BR2_PACKAGE_KEYUTILS # stress-key.c needs keyutils.h @@ -18,8 +18,8 @@ config BR2_PACKAGE_STRESS_NG http://kernel.ubuntu.com/~cking/stress-ng/ -comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.0" +comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.3" depends on !BR2_microblaze depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \ + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 \ || !BR2_TOOLCHAIN_USES_GLIBC