From patchwork Mon Apr 16 06:50:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 133435 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp3238302ljb; Sun, 15 Apr 2018 23:50:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Jk+3b6Sjaey4AUXlI5lx+6OcHZNFmhH8OcjdFx2LVwqr3CNomNjl1BuXiChdReTNRcwCt X-Received: by 10.101.75.135 with SMTP id t7mr12044050pgq.235.1523861453257; Sun, 15 Apr 2018 23:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523861453; cv=none; d=google.com; s=arc-20160816; b=ruuF7xvD229f02OQR5AmhDC5fqvWV6O/s+FT/jZyphHpkHduW0kOxv22V0INX/ebQO ykqFfNesqaq90gVbApnVvHuBPUZ73S5es9GdeoMcTLDThEK1fUpvz2CzrT5oZxlKsjuf ZntESFfXHi3zWnLPApLbn60eCg6eufid5gsvewsBYtEV2PvRu8CmWhOufB90u1mG+K+E ziQGfUNCtMLDELrTdCf24VqWPFIPhSG0pEwP+ccoNZYHVesbUeQKmyinc5JjGTZBKShB H6hbbZm5iqiYVd+Qb9wGJ5ZMuvegNT0YgIe8l9Q2XIDckg/7cm5QcFoxPTEMbd7U6m3m hgFQ== 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=Iet+GBX0wjKr8I5l9w3dgrFzeSfQcrWL+CwagI8a6LA=; b=sIPqhEEkC083Gsk7gxQbCCd15a3MLnE2sMFvbCgQYyiJ77QquObWZ+g+FZmadNyI0a 7I06BjNH71ZQ8tez3RZJ6tozi83M5UteiNEIFSK/W7F5PmHhnMZ+e5swPKxbuRK6yWYw u95VHyGkRilzVy4IjGKfMpPKmdJzbGjkGlKNOecV2cwEhxff8ZcbeGOijW5rZ6KEt3Z2 PCVScF4+ycdRtfBOTQnyeRrTS2MAvVTqdcJ2jmXTBu2n2OerCx1UgQSNNUSzS2Igf0/r 0gT0Af+YwjteLn9ahu9a/Lm01asoDEHmD7I2EL3TdgjEMB+kIPwzkUv4KiMtRn7dYCh7 SIMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=R3H59UBR; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 b5si9667646pfi.324.2018.04.15.23.50.52; Sun, 15 Apr 2018 23:50:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=R3H59UBR; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 912AC7450C; Mon, 16 Apr 2018 06:50:50 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com [209.85.160.65]) by mail.openembedded.org (Postfix) with ESMTP id C9DD16FFA1 for ; Mon, 16 Apr 2018 06:50:33 +0000 (UTC) Received: by mail-pl0-f65.google.com with SMTP id s13-v6so2229164plq.11 for ; Sun, 15 Apr 2018 23:50:35 -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=3IoNDPlvoy81APIeG49BLAcc3LVQpG9zZKxHZXzkAs0=; b=R3H59UBRRPDyyUMseQucJDdKXPMKxOuR4EHm67DozPdw3z26Fc+F6GbT7hVJqwCmwq dVkmiGCKOfUKNbQ8iXjWbiO+dwUzjw5NBllI1jUGzF+NE8NtL70B1SltGSQuRusJbt1V qwzxt4BUjsxIoDFxw0RK74iN0E6gya4/FzvARYZCCaRcWzPKiagpOgMTcK72eFTA+bzM hB14KaCoQjq7LJA+Z0GaDg0BMgC2MUvMDsdygpQVZ8oqf11uFIOYpXoPMTQhfipmcpGP Db6srI7hDlIczm5lRBrjj5FzuXSgrvfDL4i1BgsPkJiDeebuedDIOkftd424iKg5D4eo u+Cw== 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=3IoNDPlvoy81APIeG49BLAcc3LVQpG9zZKxHZXzkAs0=; b=UdaD/wyxoTgQE5nxVuvcb9T/KTHoxrlgAC4SMohrXRf0W1AInGYdbbI2LN6gBs7o8t WQTzXmLGuNu2xxibaWCK927gn4+X3wxLpHv6rJ0Hs9gkoZvssqhZS5J6Bo9Pjj4yb9KP 1VXvuEW1K/ht8NPPcN2Y6SzpH2SVY1yZIjRc5rTj1te86x5x9v+HZ6QJg8YI+2CRDEQY E+8X1grelaJcrNgN0zpim9/HKsPIgJ4hkwqpiubwVoUw84HonGllH2ptvc2Kv/+vdBGP QuVY95HEo3wiqHxJVSdkd7BlTNfCtS+UMiAFng1ojoaRslRhzr57gLq0SAB7eat8jM0T lDpQ== X-Gm-Message-State: ALQs6tDaG662Xk3FJ6LMZAhsWGLt1C9tCKALk9285vLlqcW7R/Yb+Cjr VdhjCREbMEuHLviAPnFhXpe7+w== X-Received: by 2002:a17:902:5c6:: with SMTP id f64-v6mr14165122plf.77.1523861434595; Sun, 15 Apr 2018 23:50:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::487b]) by smtp.gmail.com with ESMTPSA id o13sm2388362pgn.54.2018.04.15.23.50.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Apr 2018 23:50:33 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 15 Apr 2018 23:50:12 -0700 Message-Id: <20180416065014.29385-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180416065014.29385-1-raj.khem@gmail.com> References: <20180416065014.29385-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/4] musl: Depend on libssp-nonshared X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org libssp-nonshared is required on musl since it does not implement the gcc runtime piece of libssp, which actually it a gcc optimization to reach to __stack_chk_fail Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 42ba411f17..d5a9360b70 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -22,6 +22,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils \ libgcc-initial \ linux-libc-headers \ bsd-headers \ + libssp-nonshared \ " export CROSS_COMPILE="${TARGET_PREFIX}" @@ -65,7 +66,7 @@ do_install() { done } -RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev" +RDEPENDS_${PN}-dev += "linux-libc-headers-dev bsd-headers-dev libssp-nonshared" RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)"