From patchwork Tue Oct 2 16:25:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 147995 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp5360973lji; Tue, 2 Oct 2018 09:25:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV63vQjHkpasTimrGaQBuYEIV8OBZMSu+To6uliQhlV/a+/oQ+++oNc2AFhsnlpfnJtmebeLM X-Received: by 2002:a63:9507:: with SMTP id p7-v6mr6580203pgd.449.1538497555996; Tue, 02 Oct 2018 09:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538497555; cv=none; d=google.com; s=arc-20160816; b=pDJqVL9cEina0lRX1spNC8KkkjxqlMBv2Nqy1QEM1Rm2IYn365eGzT4OHsq/kgPHW+ GI9cg12E41NAu7ukkoFNVmwfctHJs8T+dnMT7dGI2GBXhV4sdPhuEy/czbzFxkm715m4 zdlgr9kI6c0Az/kh7OFPpUlwdiM5SetIl8871Sm2mk89CSQoZgxU/6Pcd5CwpLKPEKty MNb0ionE3ztTG5A+6AkhIkl697CRd7giG4l9hPwpyWPCFltPnVkROIRyZtYomNAWq9s9 FoDDGoXBlzjOsl0ctsB9yWBVhNARi3KgH3A2+AzNBGz9we3x2fPHRZY2p0V75qu7tffL /9xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=P2791w9/VLVVni/MhSLyRI4GfZ8qcNdB3MIdCtxNaQA=; b=g4pgTZDKaw6ovu9xK4jL9hoQWgB3U5/SHCFJYpSjx1eUmF2MY9u9zDUnoZ/9t++TbM 0bVMTyNaTrgH5o8xHyz7BKQdz6u8zlvwWLwXpLR8OYASnGbNVFvUebObaLDsoOxLNMc/ lTaJ9JV9Zv09g6K8FHtlcGNLJUcsGS1epMv54XPGiibJPPwSKiWwNZ/3UcQtd9FTGW4R vzTxDzLIpbfEnyDzcstd0eHIV7N9dpxWTJB72aBboosaKdxk/KJPgg1QFCg3kMyGLBcs du7o5XKFV9dPHMsseKuhPw67j/ib2Tao5jSHMXYpzwWsLb+SW3Ntv0YIMEw9Bo7KVrxZ m9Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=EPTmZOtN; 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 a1-v6si6373172pld.313.2018.10.02.09.25.55; Tue, 02 Oct 2018 09:25:55 -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=EPTmZOtN; 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 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A118A7944A; Tue, 2 Oct 2018 16:25:51 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by mail.openembedded.org (Postfix) with ESMTP id B383979368 for ; Tue, 2 Oct 2018 16:25:49 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id b7-v6so243000pfo.3 for ; Tue, 02 Oct 2018 09:25:51 -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:mime-version :content-transfer-encoding; bh=YLYhXF1zxoDpizgd+LOZZLdAh97Egluf0B1jf6h5Fbk=; b=EPTmZOtNTKb5B+X+shPNp7FekJsIp+xFkO/mMDevJ4udyxpKtl6jmhDuWF22zjb2cP TXmm7YlB0Qy1EtCIjf8U+2dGSq1hoL7jQnbeKJLohzzKHQUq1E3oXhGEDFOucXPcKToI ogJ59v50HGQ3Gm85PbmYBs3VuDNEmYEUAsxhRY1ls/xgVFKCdGF1BBkeGEZ6EqjTgCCV kSwQhIeJ8SokwmmxHwbf4PXoC4OtRyikeSL6cwB8Jf9tCPkG9m3FOUUIRoU1tQ+4x1Bt kc9gdbkfd/x61tqlUWDqVy8ra9MCjVyQLvkPk5Tk42GhdUN5/TBtCTRvm7ihr4kyatgc NMTA== 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:mime-version :content-transfer-encoding; bh=YLYhXF1zxoDpizgd+LOZZLdAh97Egluf0B1jf6h5Fbk=; b=ImCsTyiX4h/JdG5iLo9Zx8h6I+kFNNd0op7fh4dwsGSseWJNoNMX5J89TZlFmr7nE0 +mbtQkE88jHHJdihWI4YnTPHrdUYgkRXeIfnDIU1c+jc4QTBNa+j8khwfs121WVdSf0E A5+edYBOGHilzw1Tkjcsgv1XQqmx9AmEN3k+GnPJHLQOZwlZE0EMI3oWJDKdyovO7SfS GwEQSCWWcAKJOmq/cEUWIPzffQdWwkGUjcZ0hyuuVyzIfVJA+Mrd8Puy+T7GUYlJcHLc SAVkpiFIvUyiA/zh2oHD3oBrXOXG5nyFsDb9eJjqKFiAE0VAYTxaTwnkIMTykMgia3jW bnbQ== X-Gm-Message-State: ABuFfoiDsGnszw1fvQx6Rc4gI0+0sb7pwZy5vrIc9McRCWMhOdqqpxAq UpwYGdZKUu+MV2CVsGko6F7TDtuC X-Received: by 2002:a62:178f:: with SMTP id 137-v6mr15633657pfx.215.1538497550267; Tue, 02 Oct 2018 09:25:50 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::fd07]) by smtp.gmail.com with ESMTPSA id 74-v6sm15706476pfx.182.2018.10.02.09.25.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 09:25:49 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 2 Oct 2018 09:25:41 -0700 Message-Id: <20181002162542.42865-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH 1/2] tsocks: Link with libc_nonshared.a 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Link step uses -nostdlib which means all defaults from gcc spec file are not used and it results in errors when using stack protector options e.g. in function `send_socksv5_connect': | /usr/src/debug/tsocks/1.8beta5-r0/tsocks-1.8/tsocks.c:954: undefined reference to `__stack_chk_fail_local' Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 1 + 1 file changed, 1 insertion(+) -- 2.19.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb index 72913579af..725ba189c6 100644 --- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb @@ -19,6 +19,7 @@ SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863 inherit autotools-brokensep LIBS_append_libc-musl = " -lssp_nonshared" +LIBS_append_libc-glibc = " -lc_nonshared" S = "${WORKDIR}/tsocks-1.8"