From patchwork Tue Aug 21 07:03:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144686 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4908904ljj; Tue, 21 Aug 2018 00:03:39 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxuvKwIaV2ueyHwJi+zaKbT1aW82JCTBUIbJxNLEILfu/Ma7A0Ucl/NrqCga2f7Sa/G/9Pi X-Received: by 2002:a63:10c:: with SMTP id 12-v6mr13755836pgb.62.1534835018974; Tue, 21 Aug 2018 00:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534835018; cv=none; d=google.com; s=arc-20160816; b=Q0gWsq7fLkX42HVxPIxcpLy2J1Elf/39szCV+DeDRReoDMOxcySbDO7ycd15b7z0fm z/ttVY/ST1TVcN2VMTZPOveVWqAswmzD7bi7kjSOD1n/r7A5kXS3aflMGBX/K0ICVlr3 U+eNeuPbygMCnckoi4YqmDr/cqUJhQu355KIW6joHpQFFS6iPiRdhqv5+o3W8z0VMuWl GbVknjIJpkFQTk4h+LMpwo646M2wMZlfc8+5sr68su1q4csLZCYtQmPYbABMoodYBri0 rFBrdn0NYr7Q7U4xfkCnEUuLuNQvqSlBDdvZMTGk8oXrI7ANv5LeNHdj6GX9oTHOL8qq BqEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=tGc4t+q6HuNHsIRECba/a31W+Pg4ZzHmUxFEcqyfBwM=; b=ZemUyPwCZSWQfrlRJsblx8ViERb49WNRnEZgOMKAEW7UvSnzqzV5oTGeeslI7sWeSI /SwinZi5bPkWZheM0NabuaVxNaVTpwI92NDDCmporFRr6Lu32UkyC0Ur4kw8idNRjz50 nvySPdB9ib+gPbdYGNWJxqK37bJJsVL9ec285WHMVaZ+EeKuWCLyy3nbYRSRhJZFl2Oa FWMta+au7yxoQ8y+gwYOglB8F+76Wt5kqw9VosI4gGKyDl2yIVrurQ7QNt2nD5v0Js2X mXHa1QhMTao9dVgIPIasUZ6pioinfmzFsSmGwUxD9O73ixexLjWhcnec7XVDFz9SJfT/ O4RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lblQ0f7W; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b34-v6si12230070pla.84.2018.08.21.00.03.38; Tue, 21 Aug 2018 00:03:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lblQ0f7W; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5F79479015; Tue, 21 Aug 2018 07:03:35 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mail.openembedded.org (Postfix) with ESMTP id 0ABC474586 for ; Tue, 21 Aug 2018 07:03:26 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id e13-v6so8030727pff.7 for ; Tue, 21 Aug 2018 00:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0u+LYfnVV10qJYtvYvLHKM2plUKu7HFhvS4BOgQAMtQ=; b=lblQ0f7Wlcb0kIUzmD/wtxIeCgpK7d0PZBsVbez96ucoaHhQ0urmJvBLxeXTpmZrlw 2J9Lz+jZ2JYFGB43Mv5+EhRkefcnBjYw6GXgMGr83/cR8rFIO4VPs38iuCThc8xrdC3u ejOfTaGSu03byDU0xg/QnlV2gTmkRq+YxQHS+PNM04L5OH6B3Y9K42BWkaXv3UYYy5et Q7rl1TZrrkyihUJMLsnEjFGP7D/J4xzckuwov2lCo0boXXvzwjPMeohSQJsKXwO4S+7D c0mzPziqQlZGGvkfiD5RTbLRSFZwBKDo7bOZ1v2Bomm8I57mjsluUYjF2cLy6L5AjHW4 vP6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0u+LYfnVV10qJYtvYvLHKM2plUKu7HFhvS4BOgQAMtQ=; b=LJxHrw4qIqDuis/pRIV1LZB39pXU4nQWXCIdEjHM+YZETRMDIb++clPlHhtkR1nojO dQS7PyorxnfADNMO8awUA4kxja6O1CBAARgrMD+GTC0BJiTlMZWmheGJWJyD6zLu00CD l97Iqr+F6EVsvHE2R3jr5/GsOIKmAnjoQ3Ti7TdKGVgXJf1UC0XPc+i1r5qGYbEPrOn0 rymEJItbQTPoJJFlEjGBLDHtKwbuie/naHf038Qa5HycsXwAc8WD9GELuTih/VKk+yqy xW3IL06PkvD+IwbEt56bHcAUHbxjGly45dMWXaORkgGK94kE7Gm99EbEX92731z2hP0z RXMQ== X-Gm-Message-State: AOUpUlExKVSmBo1TIXO0G6dyTaTCvLqbt+ro2Q4WkUd8ZwFYZUEtNOAz LNJkIkZ3JVoFUM3NOvq0Sx2n4npg X-Received: by 2002:a63:9a42:: with SMTP id e2-v6mr19986457pgo.263.1534835007718; Tue, 21 Aug 2018 00:03:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id l84-v6sm21214669pfg.3.2018.08.21.00.03.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 00:03:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 21 Aug 2018 00:03:16 -0700 Message-Id: <20180821070319.36295-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180821070319.36295-1-raj.khem@gmail.com> References: <20180821070319.36295-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/5] stress-ng: Fix build on musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...-don-t-enable-TARGET_CLONES-for-musl.patch | 30 +++++++++++++++++++ .../stress-ng/stress-ng_0.09.37.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch b/meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch new file mode 100644 index 0000000000..cd9131df50 --- /dev/null +++ b/meta-oe/recipes-test/stress-ng/stress-ng/0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch @@ -0,0 +1,30 @@ +From 59f5ff72768f228cd530bb18a5fc3e8c4772857a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 20 Aug 2018 21:43:14 -0700 +Subject: [PATCH] stress-ng: don't enable TARGET_CLONES for musl + +musl does not support gnu ifuncs + +Upstream-Status: Submitted [https://github.com/ColinIanKing/stress-ng/pull/27] + +Signed-off-by: Khem Raj +--- + stress-ng.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/stress-ng.h b/stress-ng.h +index b9359a4..f228808 100644 +--- a/stress-ng.h ++++ b/stress-ng.h +@@ -1090,7 +1090,7 @@ extern void pr_fail_dbg__(const args_t *args, const char *msg); + #endif + + /* GCC5.0+ target_clones attribute */ +-#if defined(__GNUC__) && NEED_GNUC(5,5,0) && STRESS_X86 && \ ++#if defined(__GNUC__) && defined(__GLIBC__) && NEED_GNUC(5,5,0) && STRESS_X86 && \ + !defined(__gnu_hurd__) && !defined(__FreeBSD_Kernel__) + #define TARGET_CLONES __attribute__((target_clones("sse","sse2","ssse3", "sse4.1", "sse4a", "avx","avx2","default"))) + #else +-- +2.18.0 + diff --git a/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb index 19ce641924..a6c327e38e 100644 --- a/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb +++ b/meta-oe/recipes-test/stress-ng/stress-ng_0.09.37.bb @@ -7,6 +7,7 @@ DEPENDS = "zlib libaio" SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \ file://0001-Revert-Makefile-force-sync-after-build-in-case-reboo.patch \ + file://0001-stress-ng-don-t-enable-TARGET_CLONES-for-musl.patch \ " SRC_URI_append_libc-musl = " \ file://0001-Several-changes-to-fix-musl-build.patch \