From patchwork Fri Apr 20 16:33:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 133912 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp484241ljf; Fri, 20 Apr 2018 09:34:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx48dgmBRveYMHoNzkoRFM9+MQxxs+7oK3Xsu/vTgxWJu/HjiUxLo2UrrBNstknDkCt+DxL9V X-Received: by 10.98.166.92 with SMTP id t89mr10130513pfe.27.1524242071715; Fri, 20 Apr 2018 09:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524242071; cv=none; d=google.com; s=arc-20160816; b=eTYKurogkx3k5MfvW8oy42RHqtg/+j7AjT2UQZj+3CJua/kvCfDHrmGroMwjYwbutE KePwy2REhJZnkiMp07jvRIAXYUSRyyUnWhnbLjtK4+lAyS1rJUv7HCt0VFRT1R9OtLtd sqSqhojAgUqKMezp90rDhz3OR9n/0wgPCVhI8/LiQyqXxNdmkquM2MRNfD08r7+0bcom Nf2KYyiLNsCITIA9ed2miXLG9AwYVcBY7lNwduHfvdidPnCzMF3N+cHe7Br/imhqeJeW qpVlH1fgusQmVwe2jMctWrUIZF/NIeFghIjkys7ggBqvzibl5vbcAJ1PF1BkAIdDQeS1 0N6g== 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=lYTk7RU2ukmm8hMJ9MyRDJZ/lYUs2dvfjqBM1GArzU8=; b=OLB4ihHiXMSgd9hanQeI25jJpTg8swbmDfywsnwkLp11rib1JkeWf84FINBER1x0Fd XOg4vmrHUNodR+Q6rknckGs9+GBjLmgtH0S4DoUsMd56C6QViRGGLvQCRyFPTkuXadH3 GBxjUooizlNg5NcdIIU+RJpjIZzrEBmdl8T426EPwDogCVkZ2+ulXwwfW4ZQMR3slmT6 4wCMr8XQGFP7Uxrwb5cFGL6LuyB2BwUYZKIbnnUnPJXxQffiDXfYWpy19gp7F/HwHT6f Lh4goaJXwVX/VvKycLo68G2/0PPvWpoFpKIWcixWwuB+jqzJn+x5TRBiNQccAJGQwzsd Kqdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=EdQZ2Lxu; 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 t2-v6si5868575plo.235.2018.04.20.09.34.31; Fri, 20 Apr 2018 09:34:31 -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=EdQZ2Lxu; 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 E556B74639; Fri, 20 Apr 2018 16:34:28 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by mail.openembedded.org (Postfix) with ESMTP id 647E674628 for ; Fri, 20 Apr 2018 16:34:02 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id s13-v6so5541201plq.11 for ; Fri, 20 Apr 2018 09:34:04 -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=sjbmiToafnpuyzJdSVQnYacHb34cDa+MdWw3T4PRsyE=; b=EdQZ2LxuwdmyFJNi+5Q4t5jNsBKtQdfAqjNn9HAxkshyezjFmdSWcmJz5g9bLjq4+/ xllNudftCQpnMbsQiqrRCCa645FiLn7PBQ2ZyQHeKskSXTK7ZIZfyQruCsIZj939PPYC ozFQKzu69ISyU3ut1RwLR6LH3J0D8GDvsgndeOsSHc9ovWf6dc08MCrBEVyw3SUmbuhw DKeSnt+8HAtiuKFH3A+cEY72jHKgPMyqeykakuhqy2qZJu4L1Ea5q24ZOoP8h/QPp+xE VIXCAY8FDC2xGOvW0ckOL9C8n/L0UCAif2S5P/QqSAg2P394u8VlTLfofToDgdrpl1fH 4raQ== 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=sjbmiToafnpuyzJdSVQnYacHb34cDa+MdWw3T4PRsyE=; b=DIg0WxBObTjXXbmSPTxFgVwK7LvspAs5ZocSlB0n5Ia7G/C45qa0R1q8mA0jk3jisk uFh+pxpsBqVt48GdipzwXMb1i84MHSJGy1F3HiKPez36euUjuZZ1UB2DsVGZbXyxZcQc efIOIRzwHWCZ60xhdontbwYTIfWHUZSyL577fxf3pmvRtbbeywu+TPVnHj+DSJDes7E0 TzZvem89LtS4viRCQGgy9HvqfOBN703Uk/ddjPmBpiOT7Qqj1iwbbkSpwCVlhZ+FcKNd 6707YLYJRnhfb9pCA0pRvIzMposUmAuIeW3NPP6GXorFmEqjcLFl7CrbnIxMa/KKptA9 4KSg== X-Gm-Message-State: ALQs6tARO6o10VEJgS5tOG4mvLj+CB0QBhl+RYNyZAwAJF8shcwKs2Dk ixxAiq4ZERX5SJWdv40fqfJmtQ== X-Received: by 2002:a17:902:a609:: with SMTP id u9-v6mr10988600plq.56.1524242043753; Fri, 20 Apr 2018 09:34:03 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c::487b]) by smtp.gmail.com with ESMTPSA id 204sm13450925pgf.61.2018.04.20.09.34.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 09:34:02 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 20 Apr 2018 09:33:50 -0700 Message-Id: <20180420163354.12065-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180420163354.12065-1-raj.khem@gmail.com> References: <20180420163354.12065-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH V2 2/6] 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 --- Changes since v1: - Depend on libssp-noshared-staticdev 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 9f8c5126e8..a57460ddd2 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-staticdev" RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev" RPROVIDES_${PN} += "ldd libsegfault rtld(GNU_HASH)"