From patchwork Fri Sep 11 16:19:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Corjon X-Patchwork-Id: 516900 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]) by ozlabs.org (Postfix) with ESMTP id 47227140180 for ; Sat, 12 Sep 2015 02:19:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 758143376C; Fri, 11 Sep 2015 16:19:29 +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 KnEFC7+T815X; Fri, 11 Sep 2015 16:19:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A649933764; Fri, 11 Sep 2015 16:19:26 +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 CF4751C1480 for ; Fri, 11 Sep 2015 16:19:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CB32DA3F83 for ; Fri, 11 Sep 2015 16:19:25 +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 Yt9VjpjwUS8j for ; Fri, 11 Sep 2015 16:19:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by fraxinus.osuosl.org (Postfix) with ESMTPS id AE2E1A3F59 for ; Fri, 11 Sep 2015 16:19:24 +0000 (UTC) Received: by wicge5 with SMTP id ge5so69411284wic.0 for ; Fri, 11 Sep 2015 09:19:23 -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; bh=xHdpdY+/P+QNG2UXTxwb2+/pH5X3Jb0jJiKXiXsDQWc=; b=KKepR5F5MWknBxTMzV7C5tnVPL93JPg4nb5kEXXUPqiGw6XnnWXBdf+o/1+dJXUuT4 k0MARYBwElYgJFdFrrXRgYs+Q3f1zhegAmo5ZWsXh1BrtZ72pjMM07oGXLwL1lQpBSch TDEDWP3PkA+5FXJHDPoZe3qFO7SMMU6VVEDJ8LnxK02xaDJJpv8fdFr1w0xszm/ezXER T3GCVIITQUnxdLlqxRrkrQMDAERZFlItUrsdbvyzogWXTN/QxWsR1O8qW5AjSuSCFLO8 6HGv4eN3fxUTMYBuJHqeTd9V0rK/YsAbAp4ERez5PlktlzOG3alXY5NXYD+7NDmhpQ6R GAAw== X-Received: by 10.180.188.169 with SMTP id gb9mr5805681wic.44.1441988363326; Fri, 11 Sep 2015 09:19:23 -0700 (PDT) Received: from mic341-linux.sinters-int.fr ([195.200.174.78]) by smtp.gmail.com with ESMTPSA id p3sm1265689wib.16.2015.09.11.09.19.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Sep 2015 09:19:22 -0700 (PDT) From: Julien Corjon To: buildroot@buildroot.org, romain.naour@openwide.fr Date: Fri, 11 Sep 2015 18:19:11 +0200 Message-Id: <1441988351-9923-1-git-send-email-corjon.j@ecagroup.com> X-Mailer: git-send-email 2.1.4 Cc: ECA SINTERS software Subject: [Buildroot] [PATCH 1/1] 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 instruction which is available only since 3.3 kernel version Signed-off-by: Julien Corjon Reviewed-by: Vicente Olivert Riera Tested-by: Vicente Olivert Riera Acked-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