From patchwork Mon Aug 8 22:51:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73478 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp197074qga; Mon, 8 Aug 2016 15:51:18 -0700 (PDT) X-Received: by 10.98.11.133 with SMTP id 5mr164145185pfl.160.1470696678035; Mon, 08 Aug 2016 15:51:18 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id g192si39121275pfb.119.2016.08.08.15.51.17; Mon, 08 Aug 2016 15:51:18 -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; 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 dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 46249771D5; Mon, 8 Aug 2016 22:51:14 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pa0-f66.google.com (mail-pa0-f66.google.com [209.85.220.66]) by mail.openembedded.org (Postfix) with ESMTP id 60DFA771CF for ; Mon, 8 Aug 2016 22:51:09 +0000 (UTC) Received: by mail-pa0-f66.google.com with SMTP id ez1so24688299pab.3 for ; Mon, 08 Aug 2016 15:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Q92SJU53lSg7cFoQG7futFxaxkVjvtrLW4tsh40gUYw=; b=ZNFcznrrAUH6D50JlQif9RpDZpQXaOZmwiIRLES/renp1YGmJpsaARrDOD6vPAWJnY nNkwffui54OrG8PqLBIHopoBG7E2kjNzJeauVX5pW0DMHqR/xKt4r6tnYb1FO/a0z9Ke Fm9qJNfsP7QtO5sfzkZPBDm+k7Xjmx+Tw/EK826p2Eb/rTq5ldyvJnvdXXHzSuXQcBIW eMFT7lCHQeyAUz38Q9Clyj2Kb6CyhcxG075Fywem4bkiVWDaeeu8qS9DNzc7oalZ98yY JhZoy4AewATyXGkfBZePabo7hfS9mk5IY0Ams49A8sA9mR55MaIU+NebjSG/UZLqMcYZ eNjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Q92SJU53lSg7cFoQG7futFxaxkVjvtrLW4tsh40gUYw=; b=NLBkeg+uMxFJWTp25QqLyUGzp7xa9SwZ+D0+RgIk0jprKWXSr3AfIv0KMyWRH/ipYH 349ZZ+Fg6t8dW5h8xaLFO85hnRsG9B0ksjB++H1DNb096orO1ubxR0dCp/QXTOTi3Guq tHlr4UILkv4xtnlhegV7JmV4hyGoQ+/9xHGyf6osm8Omql43OY36zYPALvWp63+H0kLw BtqciFkFOM8QcaQCeO0zIWbRThPcSwYaf8bNEF1AljpAbQdz/6iI/mtRPs8H78UMWrLS PHo8kHj1ECJtGizaAzYUf2pQrSkskL+VBPExESx9vZq3+8kk/TH3AKNN/9uYoN/aXNnc wACg== X-Gm-Message-State: AEkoousHL/vWlOSdJm5o3saJw1qHilsX+ST4ys3+R5tdP6JQ4XBMW8lk5N/skfAbFUUplA== X-Received: by 10.66.90.225 with SMTP id bz1mr9280574pab.80.1470696670318; Mon, 08 Aug 2016 15:51:10 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id i7sm50695359paf.9.2016.08.08.15.51.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Aug 2016 15:51:09 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 8 Aug 2016 15:51:01 -0700 Message-Id: <20160808225101.32385-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.9.2 In-Reply-To: <20160808225101.32385-1-raj.khem@gmail.com> References: <20160808225101.32385-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/2] libunwind: Do not use gold for linking 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 This effectively reverts the commit 3dd233ac0c80393824100c54bb525236f8290fd2 gold now emits errors on copy relocs against protected symbols what ld.bfd did in past, however it seems its too conservative. This does not fix the case for folks who use gold as default linker, however it does make bintuls 2.27 work with default configuration of OE Signed-off-by: Khem Raj --- meta/recipes-support/libunwind/libunwind.inc | 9 --------- 1 file changed, 9 deletions(-) -- 2.9.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 1c342d3..e4ae8df 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc @@ -18,15 +18,6 @@ ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" ATOMICOPS ?= "" -LDFLAGS_append_x86 = " -fuse-ld=gold" -LDFLAGS_append_x86-64 = " -fuse-ld=gold" - -LDFLAGS_append_arm = " -fuse-ld=gold" -LDFLAGS_append_aarch64 = " -fuse-ld=gold" - -LDFLAGS_append_powerpc = " -fuse-ld=gold -mbss-plt" -LDFLAGS_append_powerpc64 = " -fuse-ld=gold -mbss-plt" - SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" BBCLASSEXTEND = "native"