From patchwork Mon Jul 24 00:47:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108541 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3476751qge; Sun, 23 Jul 2017 17:48:55 -0700 (PDT) X-Received: by 10.99.163.111 with SMTP id v47mr14112605pgn.74.1500857335304; Sun, 23 Jul 2017 17:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500857335; cv=none; d=google.com; s=arc-20160816; b=spD5lrRprzGJWa2nOzaLTI81RuY+zVeTXvdh0HH+YQPenInu6POpYLdYY3EdkM0F3K uZGecmKvNT6tYBz4V1q7HL18C9igRb0ww1UW46lpY1VUOZznnNO395mha2JJZQhZ1fFk M/iXrwsqikYSIbjbe1Z4Sss4XTR4c1PCqYhh41J2cuomRXfVx8C+F2RvsK6QzvDdkO/a kHNkUogrdZ4ihe2MCWBjeT209YqXmcDMaiIImL8BNgX/6Js0i/lUP9bZyqjh9PaHyLdx eXsBJ6lNPcu0R/17hdQKWSQfUs1G7ToTlI7WWne1FD87szgANvQuZlx8JwD/7umKQmMD YxCg== 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=n6IJo3TV68GdLJohJF/3jGJUXEqMKfq0KdXwwax8uwg=; b=Jb/3mAo6YpCcyhIWHd+D36HI/c8Ebtql9nktzq+PLTWLGw0BtgYu6o3OhbM8rGxFOd yeNkdkqAnkYzCNUGsomXFNeDtsbze1TT5UsuuRML6SwaDr8Ag6HTU13JokLmuNCSsZ8C MkC1Q8CCga4yFOOTs3QhwvW1K/dhsw6FXlL5mvXrvk8Imyjg0PJk8Bg0dpAxfbauLu84 tmyxvxaQ+PojUiXuU6l0bWxQs+dLE6vmxa1NhrS6FfQy7y9Aaj/K9zG1hAA/eOShugQn rp+GDdrJ3PYRANDAzAXR1tEeFqnp70O3GnOdvNSzHnBZ+HxwaUCt6XRUdnX4IxKsq8QV SVWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=AbOcedzg; 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=NONE 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 c2si2788925pfj.387.2017.07.23.17.48.54; Sun, 23 Jul 2017 17:48:55 -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.b=AbOcedzg; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3556C7838B; Mon, 24 Jul 2017 00:48:40 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 74B1778361 for ; Mon, 24 Jul 2017 00:48:03 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id v190so10242550pgv.1 for ; Sun, 23 Jul 2017 17:48:05 -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=+IA77MKvtUCU19PMGy1R1HNCLNgmm4NIgFSnbXP0+gc=; b=AbOcedzglWolETBJtNWS/dJRwi2VCZfhzVhlUy6syWm5eMNJKVdeQjgXYdoi0+j9lz 2Uks14/C07V2WxJUHd5m/b34KSVEJv53mSeIgF+uJhxxJ2tQG73M8ciKAA7G/jferNJi EGJ3x5rPHAs5PSXngPQ4G45hmSEyq7KBDnTxR8kQ5yr5NlDI1g5SZppWOi/Tqvd2i4eg /LHlnm32lAqhg2QwJAKl1mm5FMap9I1FcLnIHjdkul1ySZ0D9LvT+c6qDMjcr2fzNGwu G/XOIDOXt6PQItlKQpGSSKbUQiZdZgP+9bDajX1HUnjxfslh34YcuiLhOGm/Fybge0Uj zMaQ== 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=+IA77MKvtUCU19PMGy1R1HNCLNgmm4NIgFSnbXP0+gc=; b=qewjZv71O0J4tzOiuyCxYTrpNhvkDsR3uvZMcR5VqavYfRm9HLnMvNKNZCfKmKQ7DX XsZ8w5axMdrRBXHwqUNHpZmjCfHy8c8qyiRtXUTFwvrcAm/pv8t+uTpMjiVhSLlMD3An humn4rGZW9ojeb8umzS4GBBF4zm7y8KPTC9J4AQESOn7iJbftiIfzPdSErg7R5B40pR+ ueevKEl4bTCZH1vVhgrHKdQREtfmxzfZutm8a/wb6EQUT1Po9HaYYktegUxxL9Tp76l9 geowOfz7LUHJfC3f3bWPk+p8/p9jLvbUe5eZ4iauKisQhC3nNKWj6rSE7nKtmhCEIovk Vp+w== X-Gm-Message-State: AIVw113V7xckn03i2KeiTUFkmPthD6IkUriV4C6VKvOfbXcIsAoL+dTZ wP81YWrWeu1uhqHC X-Received: by 10.98.160.146 with SMTP id p18mr14588746pfl.322.1500857284799; Sun, 23 Jul 2017 17:48:04 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s3sm18228742pgn.70.2017.07.23.17.48.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 17:48:03 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 23 Jul 2017 17:47:48 -0700 Message-Id: <20170724004748.14778-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170724004748.14778-1-raj.khem@gmail.com> References: <20170724004748.14778-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 6/6] go: Remove -fPIE -pie from SECURITY_PIE_CFLAGS 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 External compilers will explicitly pass -fPIE -pie flags unlike internal toolchain which does not use them, so the build fails with external toolchains because, its passing these flags to linker when building with -r option and fails to link | /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/go/1.8.3-r0/recipe-sysroot-native/usr/bin/x86_64-bec-linux/x86_64-bec-linux-ld: -r and -pie may not be used together Signed-off-by: Khem Raj --- meta/recipes-devtools/go/go_1.8.bb | 1 + 1 file changed, 1 insertion(+) -- 2.13.3 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/go/go_1.8.bb b/meta/recipes-devtools/go/go_1.8.bb index 091b1318af..ef8bc14383 100644 --- a/meta/recipes-devtools/go/go_1.8.bb +++ b/meta/recipes-devtools/go/go_1.8.bb @@ -1,3 +1,4 @@ require go-${PV}.inc require go.inc TUNE_CCARGS_remove = "-march=mips32r2" +SECURITY_PIE_CFLAGS_remove = "-fPIE -pie"