From patchwork Mon Jul 24 00:47:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108536 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3476273qge; Sun, 23 Jul 2017 17:48:07 -0700 (PDT) X-Received: by 10.98.194.93 with SMTP id l90mr14549775pfg.43.1500857287066; Sun, 23 Jul 2017 17:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500857287; cv=none; d=google.com; s=arc-20160816; b=iJR/shDi5BBudKq/OR5AMJ/mdN9tmMEUT/vSSKrWsPudpJ5379h1KE0SPU2KCt7ci2 1MaqO3DBIMH39rpi0dr/8qCgnj87v8/cwfyBClU5PgdI1ShDBFZfEW+1bXifSZo0rCAs /tghMX1QLsbC6WBs2V5tlAyBY1kLJMgNuJRD+P9RDPEwipelV2z1E+XikZGHCrmfxi0a hHLxWE1lEKNPODVn18TKFQfW4sEGyy+5iXDhPA08InaKkl9IPDsT0x+6EHmYGiofK+31 1uwQlbSMVqaLFv9Xth6MLADTmH7u4dsQCh7/tWFm/YIbKFgg6tWuEsQxGD+ERxHLvo5q wPSQ== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=YJ9xE8ozmWzbdUknBILFW4T177JmOrwJvnNr8MFohIk=; b=ZbDakp0k6BEUTuA5zD62UuLHBq1+Kpm6p0HbaRD3U2ffHdfe9oNzxQhv1yypZKOvNV FdxNTGlQD7Tn8TieereuW1pncjXhzrTezH2tcm18FbyqBvWbNzUZhAbOsahvUWfS4XZr wANCB0y9yb4TvwsAzvPpdsRc8nDovWOhsc4RYW40j9VfS5slHg1GgQ+2OTE/pQZC+ml9 zl393t0Bcle54/+lIF52af6vyIQvBHBGfToQHA2y9s5WGhGxBO/+O1S0+lPLNfpB+Wb4 RsWUvACUvREGpeuvYsWcOkvYrAL+3JHHfhEfy5MmhNEiWU1aQ82JavTtMQoyuhCkAH3E pNtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Kv8o+IPb; 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 i6si5945710pfb.630.2017.07.23.17.48.06; Sun, 23 Jul 2017 17:48:07 -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=Kv8o+IPb; 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 7362778366; Mon, 24 Jul 2017 00:47:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 5F034606D0 for ; Mon, 24 Jul 2017 00:47:56 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id k72so5811123pfj.0 for ; Sun, 23 Jul 2017 17:47:58 -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; bh=vHhen8cgVPReQg+Sdisdqc9sqNaXfct+wTmAdYkgGzM=; b=Kv8o+IPbO0Icaed6I6aUsDNdQPAlKCVV20UdkThI3vXiOP1NN0+AFXsG8sJc3eFtPc sVSxtJF//0/El5cRoG6IWURGz3YmtRQjm4r5bmvDIJs1K//xqbaoPtN3ESOacSw/HYWs U3u+oVtClDIblT87BBpnF+BWtKXQvJmp6yZeHCOy7kUDlmcejbBUeYJlbVZJp3YFIqt2 armrL6IjJihusZaaQ8azvg++HbPh1KJPPoCovXenm4Tmrh2IXZUBfkdeNKBUDWp/JNbL DOeWNt6pOHd2uaOmDDRNGUMPwHjY0jdbVkNyIq5vZlhFdWfwkyq+ICMgwJtE7EfJ3M9c 7DgA== 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; bh=vHhen8cgVPReQg+Sdisdqc9sqNaXfct+wTmAdYkgGzM=; b=kHNMzibqag0oqrMwu3rB9nURhjBCyGjszjHidhTtZa23VkWvp8sIMViQkAjttEprla oAwOg+bg+JurSzQqvIu3TRzAd1FUXB7Vl+ZeKeAeWG4PUlStNb78i4C5f1KfTG8iHAV1 30jzXfKuv+zn+iJs39jwNvEecAPe0TNREDq09pt2ihGxvhCYAZicX+3lKJrv7DrJuBct Zh7lzmdy3kMPUW/68dWIdcQWSiCBMfA65Snxy1AnFDRayTtPNj7j00Ao03sUPy0Yolxl r3XMaCvMvfXnGcJY5DIHPR85swE0vm4/KJ6E4xaYZmTRbgKn5ZNkIS0y4kCzZO0/tPB1 /QfA== X-Gm-Message-State: AIVw112w8YxRZgShZW4Cs92y+lhiHU7W9OD3dLKiwtGi3atE6j5EoVtM QW0xZVpihX5S+Fiy X-Received: by 10.98.68.76 with SMTP id r73mr14410554pfa.152.1500857278194; Sun, 23 Jul 2017 17:47:58 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s3sm18228742pgn.70.2017.07.23.17.47.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 17:47:57 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 23 Jul 2017 17:47:43 -0700 Message-Id: <20170724004748.14778-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.3 Subject: [OE-core] [PATCH 1/6] ossp-uuid, libffi, libgcrypt: Pass --tag=CC option to libtool 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 libtool tries to guess the --tag value based on CC/CXX environment variables and the compile commandline generated by makefiles. This heuristics however fails when we construct CC variables in OE and add security flags to it, especially -fPIE -pie which are added by external compilers e.g. clang particularly. It fails because libtool removed PIE flags from compiler cmdline intelligently if it figures out that its building a library, which means that the CC variable passed from cmdline does not match with the compiler cmdline constructed by libtool and we end up with errors like | arm-bec-linux-musleabi-libtool: compile: unable to infer tagged configuration | arm-bec-linux-musleabi-libtool: error: specify a tag with '--tag' This works with internal gcc toolchain because we configure gcc for PIE when hardening is selected and dont pass -fPIE -pie options explicitly but this is not an option for clang, and some external gcc toolchains using older gcc This patch adds the --tag option to help libtool set correct tags in packages where it cant get it right via its heuristics Signed-off-by: Khem Raj --- .../ossp-uuid/ossp-uuid/libtool-tag.patch | 21 +++++++++++++++++++++ meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 2 ++ meta/recipes-support/libffi/libffi_3.2.1.bb | 3 ++- meta/recipes-support/libgcrypt/libgcrypt_1.7.8.bb | 1 + 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/ossp-uuid/ossp-uuid/libtool-tag.patch -- 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/ossp-uuid/ossp-uuid/libtool-tag.patch b/meta/recipes-devtools/ossp-uuid/ossp-uuid/libtool-tag.patch new file mode 100644 index 0000000000..7f601afab5 --- /dev/null +++ b/meta/recipes-devtools/ossp-uuid/ossp-uuid/libtool-tag.patch @@ -0,0 +1,21 @@ +Repect LIBTOOLFLAGS + +This add a knob that can be controlled from env to set generic options +for libtool + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +Index: uuid-1.6.2/Makefile.in +=================================================================== +--- uuid-1.6.2.orig/Makefile.in ++++ uuid-1.6.2/Makefile.in +@@ -56,7 +56,7 @@ RM = rm -f + CP = cp + RMDIR = rmdir + SHTOOL = $(S)/shtool +-LIBTOOL = @LIBTOOL@ ++LIBTOOL = @LIBTOOL@ $(LIBTOOLFLAGS) + TRUE = true + POD2MAN = pod2man + PERL = @PERL@ diff --git a/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb b/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb index 85a1bcf5ca..5d9ca790e9 100644 --- a/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb +++ b/meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb @@ -27,6 +27,7 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/ file://uuid-nostrip.patch \ file://install-pc.patch \ file://ldflags.patch \ + file://libtool-tag.patch \ " SRC_URI[md5sum] = "5db0d43a9022a6ebbbc25337ae28942f" SRC_URI[sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0" @@ -37,6 +38,7 @@ inherit autotools update-alternatives EXTRA_OECONF = "--without-dce --without-cxx --without-perl --without-perl-compat --without-php --without-pgsql" EXTRA_OECONF = "--includedir=${includedir}/ossp" +EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'" do_configure_prepend() { # This package has a completely custom aclocal.m4, which should be acinclude.m4. diff --git a/meta/recipes-support/libffi/libffi_3.2.1.bb b/meta/recipes-support/libffi/libffi_3.2.1.bb index 43eee8efc4..b7da1c3bde 100644 --- a/meta/recipes-support/libffi/libffi_3.2.1.bb +++ b/meta/recipes-support/libffi/libffi_3.2.1.bb @@ -19,7 +19,7 @@ SRC_URI[md5sum] = "83b89587607e3eb65c70d361f13bab43" SRC_URI[sha256sum] = "d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37" EXTRA_OECONF += "--disable-builddir" - +EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'" inherit autotools texinfo FILES_${PN}-dev += "${libdir}/libffi-${PV}" @@ -29,3 +29,4 @@ FILES_${PN}-dev += "${libdir}/libffi-${PV}" MIPS_INSTRUCTION_SET = "mips" BBCLASSEXTEND = "native nativesdk" + diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.7.8.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.7.8.bb index 83351594ea..ec8b875efa 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt_1.7.8.bb +++ b/meta/recipes-support/libgcrypt/libgcrypt_1.7.8.bb @@ -29,6 +29,7 @@ BINCONFIG = "${bindir}/libgcrypt-config" inherit autotools texinfo binconfig-disabled pkgconfig EXTRA_OECONF = "--disable-asm" +EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'" PACKAGECONFIG ??= "capabilities" PACKAGECONFIG[capabilities] = "--with-capabilities,--without-capabilities,libcap" From patchwork Mon Jul 24 00:47:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108537 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3476555qge; Sun, 23 Jul 2017 17:48:33 -0700 (PDT) X-Received: by 10.98.209.10 with SMTP id z10mr316273pfg.93.1500857313828; Sun, 23 Jul 2017 17:48:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500857313; cv=none; d=google.com; s=arc-20160816; b=NrEC4wVlMLLUiAU96vMOaHOhUH0yyTpvQvqdRScA8zOm9CHClhLXiLMZptPzTvfohq oPxK/HWsss3Qt8SljQp+PpYOwQbhBvcP73UBLWokPmLRllwEQUsSHH1m0Z7MwNNiNJvY HTRgMmu1ukYYBmPrCnlO8OcSda2F88unCW1R5xPSo3W/iDMrZPRPZAHITd7hx5JrkG8F +HC57/6Cz8j4uu5A45vk29kC/V/cbV4dBCufVvlxt6JtsAuAMOMAdrRyYhZlUQ/INbmU C8RNNbEPRxkS3wouKBhNvbAJDY8v3lFgIhucGbrACz3XOP/an+zpN1jNk/t2jiGk2pw6 xBzQ== 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=NQnzTL3fwhsNfvgOT98B+ekROVUhnX73RnLHfK3kHPk=; b=wgff5pN0FgqjgUwI8iObzRpiVXVOfKol9i8O67JEUI1aEBV5yCSLWtUoXXGSOnbAhc hdSzB+WKtnzr8DBj4e1RnaPWnvIVrDodL6OCexudav11wPNHBZbEZTPTdutWGMWM20wQ Cb7S6MU2NBRo2EvHfAGLDPVH9SZFL2Sks9ELccoprjfIxOnAZN99A8mHBb9uLyFxFk5R NnWYISF/wSCbcoOR4IYjtyOJPMCfX9RwdW8c8Nxh7GPomHj17QDeCuFhm3reT7LBZioR xBjsIEcuLF6RW9JT3tePHGe857RZWT8yXxYKKdk+wtC/v7V+nN5WKlmHcHwyDrSvPqXY 25yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=MMmw+QEj; 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 p1si6390503pld.514.2017.07.23.17.48.33; Sun, 23 Jul 2017 17:48:33 -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=MMmw+QEj; 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 4D07E78373; Mon, 24 Jul 2017 00:48:31 +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 B68FE606D0 for ; Mon, 24 Jul 2017 00:47:58 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id s4so10258166pgr.5 for ; Sun, 23 Jul 2017 17:48:00 -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=1zPnxuDmu2eGn5wSB0AVmFMwIqX8zDGSTRSFh/P4dLM=; b=MMmw+QEjaCkrC5Tn2sKJ8ie7Xjze2u+9lB4srLxFeaGsqZiv/rl1U8rCxqS09R8xws hF9qsIWJSJJpl04+daXL0NtxJKrSABv5U/AsgmmGkVfQzSLodrLoel9vWhRJPJ4A1JmA t1XbAa/FaSDXcls1bC3PjncN6XkvPQ8nfoPUsSfjyJ1txdanoUAmNeyGppvJCVSf09/s W65MH7pgjNhImJeuntiYJHTq1Rye8OPV5kuzDTWzdZSRJG+yNKxA1rhYhj7xgJwjQVKz UmuUK3uAPro2W5N9KKdSz20wcYCc2ctNi1eXNEHWxeZ4+FkyKYVhE5a91ATDK9x8UwIk Xenw== 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=1zPnxuDmu2eGn5wSB0AVmFMwIqX8zDGSTRSFh/P4dLM=; b=d7MeixQbBvPzoY7Co97CZ5c3pWRgLGClPG+PY/jPGkEXDutU08yGraA/OpZ2yea6jY KfF/1u2evJSCCdHqbZtX6jMMNV/HNF624u0fItIeYs9ddOm0LfgZnNtbpoouGrMFefeM e9LYq/s508fWGEw2Exz2rHj8gpCEkuCUuWmYkzdo10Ll/EAGLsv8xDlC6/cMD9kHoRkJ 3Da665QRlPi4RIOvpO+8NdJ7Oh+UAcncppqkd9N0OH3Mln4/GFfdh0auoqJxVhrvlKeC Sre5ZFf2Ed4EWKU+6SWusnXt0kmtnigzONvJbM2mpJ3enH5a1y8l9m02/rVhNiz7OFVM Ahhg== X-Gm-Message-State: AIVw112py7CWNYgAoYMZIMV2wRksvaxXDJamEDmAJOs1x3eC1euXpxfc cSWdjFYTPwi8R9CU X-Received: by 10.99.186.7 with SMTP id k7mr14483894pgf.0.1500857279428; Sun, 23 Jul 2017 17:47:59 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s3sm18228742pgn.70.2017.07.23.17.47.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 17:47:58 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 23 Jul 2017 17:47:44 -0700 Message-Id: <20170724004748.14778-2-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 2/6] db: Add --tag parameter to libtool invocation 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 Fixes errors like libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' Signed-off-by: Khem Raj --- ...dd-explicit-tag-options-to-libtool-invoca.patch | 42 ++++++++++++++++++++++ meta/recipes-support/db/db_5.3.28.bb | 23 ++++++++---- 2 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch -- 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-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch b/meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch new file mode 100644 index 0000000000..cb28db1343 --- /dev/null +++ b/meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch @@ -0,0 +1,42 @@ +From 32e5943a3c4637d39e4d65b544dcb99e280210e3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 23 Jul 2017 10:54:26 -0700 +Subject: [PATCH] configure: Add explicit tag options to libtool invocation + +This helps cross compile when tag inference via heuristics +fail because CC variable is having -fPIE -pie and libtool +smartly removes it when building libraries + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + dist/configure.ac | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/dist/configure.ac b/dist/configure.ac +index 689f3b8..9c14bdb 100644 +--- a/dist/configure.ac ++++ b/dist/configure.ac +@@ -366,12 +366,12 @@ LIBTOOL="./libtool" + + INSTALLER="\$(LIBTOOL) --mode=install cp -p" + +-MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}" +-MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version" +-MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}" +-MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}" +-MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version" +-MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}" ++MAKEFILE_CC="\$(LIBTOOL) --tag=CC --mode=compile ${MAKEFILE_CC}" ++MAKEFILE_SOLINK="\$(LIBTOOL) --tag=CC --mode=link ${MAKEFILE_CCLINK} -avoid-version" ++MAKEFILE_CCLINK="\$(LIBTOOL) --tag=CC --mode=link ${MAKEFILE_CCLINK}" ++MAKEFILE_CXX="\$(LIBTOOL) --tag=CXX --mode=compile ${MAKEFILE_CXX}" ++MAKEFILE_XSOLINK="\$(LIBTOOL) --tag=CXX --mode=link ${MAKEFILE_CXXLINK} -avoid-version" ++MAKEFILE_CXXLINK="\$(LIBTOOL) --tag=CXX --mode=link ${MAKEFILE_CXXLINK}" + + + case "$host_os" in +-- +2.13.3 + diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb index 7b158e9e2c..ab0d68fce5 100644 --- a/meta/recipes-support/db/db_5.3.28.bb +++ b/meta/recipes-support/db/db_5.3.28.bb @@ -22,6 +22,7 @@ SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz" SRC_URI += "file://arm-thumb-mutex_db5.patch \ file://fix-parallel-build.patch \ file://0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch \ + file://0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch \ " # We are not interested in official latest 6.x versions; # let's track what debian is using. @@ -76,22 +77,32 @@ MUTEX = "" MUTEX_arm = "${ARM_MUTEX}" MUTEX_armeb = "${ARM_MUTEX}" EXTRA_OECONF += "${MUTEX} STRIP=true" -EXTRA_OEMAKE_append_class-target = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool" +EXTRA_OEMAKE_append = " LIBTOOL=${HOST_SYS}-libtool" +EXTRA_AUTORECONF += "--exclude=autoheader -I ${S}/dist/aclocal -I${S}/dist/aclocal_java" AUTOTOOLS_SCRIPT_PATH = "${S}/dist" # Cancel the site stuff - it's set for db3 and destroys the # configure. CONFIG_SITE = "" -do_configure() { - cd ${B} - gnu-configize --force ${AUTOTOOLS_SCRIPT_PATH} - oe_runconf + +oe_runconf_prepend() { + . ${S}/dist/RELEASE + # Edit version information we couldn't pre-compute. + sed -i -e "s/__EDIT_DB_VERSION_FAMILY__/$DB_VERSION_FAMILY/g" \ + -e "s/__EDIT_DB_VERSION_RELEASE__/$DB_VERSION_RELEASE/g" \ + -e "s/__EDIT_DB_VERSION_MAJOR__/$DB_VERSION_MAJOR/g" \ + -e "s/__EDIT_DB_VERSION_MINOR__/$DB_VERSION_MINOR/g" \ + -e "s/__EDIT_DB_VERSION_PATCH__/$DB_VERSION_PATCH/g" \ + -e "s/__EDIT_DB_VERSION_STRING__/$DB_VERSION_STRING/g" \ + -e "s/__EDIT_DB_VERSION_FULL_STRING__/$DB_VERSION_FULL_STRING/g" \ + -e "s/__EDIT_DB_VERSION_UNIQUE_NAME__/$DB_VERSION_UNIQUE_NAME/g" \ + -e "s/__EDIT_DB_VERSION__/$DB_VERSION/g" ${S}/dist/configure } do_compile_prepend() { # Stop libtool adding RPATHs - sed -i -e 's|hardcode_into_libs=yes|hardcode_into_libs=no|' ${B}/libtool + sed -i -e 's|hardcode_into_libs=yes|hardcode_into_libs=no|' ${B}/${HOST_SYS}-libtool } do_install_append() { From patchwork Mon Jul 24 00:47:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108538 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3476595qge; Sun, 23 Jul 2017 17:48:38 -0700 (PDT) X-Received: by 10.84.232.207 with SMTP id x15mr15710530plm.18.1500857318847; Sun, 23 Jul 2017 17:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500857318; cv=none; d=google.com; s=arc-20160816; b=qLiLEAMXJc84ARTaF4Yoata7pDR/jxC1uOxE0mtpdEXQ47+S/7LeYfCbyBTU3fWe5v Zaxlwz6qSXi/ui3LGYOhUnUBSSrlmHrvZvqTIxi1rziQe7jFRhU/v39xS+0+dtt+6zi4 2QNA/MxZiEqiJjT9gEfDvVPuZ0mFyuyPPZVvEmA2sKo0WAGVlL66C2FaZ0SbK0GGHRn9 nJiu4S4UnA9lMnBvAL114PWSO9PXhhBH8l8EdaDJO89jzVXJgCu9lYKAs9phX+iYM3RH XMjvrnJUkyOeCaf6Bza8hnLzJQq1q0gXvjmf93RPpvrD+16ZJAFZyEkH2UWp09bAVsSD fEwQ== 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=LM/7ktPUgGNfVe0QVDq0yLKCGvecgz8g4IN5BvacCB8=; b=IVJ59bxngC7q3Ht2uT6LhhM5U5yKUUoizqjyRTHjqCFE+pYvXx6YXkBVNTCvXavZVr T11vfrnD/lF1vFAL1DFuQZKMl9jnEYhE3YYMPOvY0Ddv4B/amH1m4/gdygYQyGvL8gWZ 74OpObzeHh//pnWS0CjsVCZuHCL4dPNdJAKP6cCCrRG0w/KU95C2NxSNLkfsvqyJoP2g XWZgQBDAXPzmUEvEGc37LKxQ6/+AuIy/MpXRem6vjrd2cRBmgZ2K9Hz3h+jFWopRlGb8 opgSi4vMj9bat4PjaqB04ufurEwainm9VQq60bq/XM529/+I2Du2XQQ1a01AJMbj2C08 jKtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=nzuv5MRI; 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 j68si6009569pfa.91.2017.07.23.17.48.38; Sun, 23 Jul 2017 17:48:38 -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=nzuv5MRI; 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 4E3C978379; Mon, 24 Jul 2017 00:48:32 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id C514C7836B for ; Mon, 24 Jul 2017 00:47:59 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id k72so5811174pfj.0 for ; Sun, 23 Jul 2017 17:48:01 -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=fmKa/cv5hgKDO2NxdDd8Drv0wQsYrP7DdTKLHzpt5B4=; b=nzuv5MRIcWCt0KntoMqTRZv774jxMoKR5pIdWsbB/SFJMvhS73PqeBxMfAptSW89R7 81w5Eq3TobuXC+vxqlFdn/qVk5TNUwNupptBZbmdKBqas0y76jr/7vZKbB7Q7+uGhRyV /udEju2duqgL75giEL0WLvelnfnPCIOAwW3PnNvXeCKodkyEtZfvx77ZShUx/OxBQxW/ j6eVEcihPUPlPp+8E5MxAoVL2hudj5M9F9c8x0DWn5hNZgClOS81OQBD+XbZj1DlBXZf XbRP8HQSIs2exvTK3CQ7E7KwgQq2SbfOuor5H7AUH56XUvHx2x92S4LxXLSGFZuYlB0e OWTA== 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=fmKa/cv5hgKDO2NxdDd8Drv0wQsYrP7DdTKLHzpt5B4=; b=D8gMOH5qOB5kwpDI4g4+hrX9BjhJTTRiDQfuXlujPYGKm/nOIeuIN0qPBmdotMd5IN i7Nb0eGg58xi3SV2dLkfNgvDy+SkhVl8ST5tKlpon1F0aHZugNoZJ8I4HYlDQ+j27EMA k55LxsFg1gg04thjwJU/4d7DaoyS3LhaiEfDMgH4p5KBfyni/dqwR/gC8Ohl2XFzKxEr fV54KlN+PhDSuFWrxzJz8Q1jh03Des+oq0GuZaiif30chwcvA6wxaKACXrrKVIis0Fht ffcXqT+pe7x2lfgCdLZIXjjELia+qtCNQweSi0spNDjlPMRT2N7XvPCHFGpRHkbrIjQ6 3bZg== X-Gm-Message-State: AIVw113YMU1/gfvUtPsxM+c5N3qjSDqIfewPa1s/xfc9bklINOJRXh+M 3Nj1XnfrokYf1M+d X-Received: by 10.99.96.67 with SMTP id u64mr9396922pgb.424.1500857280698; Sun, 23 Jul 2017 17:48:00 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::9b53]) by smtp.gmail.com with ESMTPSA id s3sm18228742pgn.70.2017.07.23.17.47.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 17:47:59 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 23 Jul 2017 17:47:45 -0700 Message-Id: <20170724004748.14778-3-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 3/6] libproxy: Remove PIE flags 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 shared library, which is not correct it should just use -fPIC Fixes errors e.g. | /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/libproxy/0.4.14-r0/recipe-sysroot-native/usr/bin/x86_64-bec-linux/x86_64-bec-linux-ld: ../libmodman/libmodman.a(module_manager.cpp.o): relocation R_X86_64_PC32 against symbol `_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St6vectorIPN9libmodman14base_extensionESaISB_EEESt10_Select1stISE_ESt4lessIS5_ESaISE_EE8_M_eraseEPSt13_Rb_tree_nodeISE_E' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Khem Raj --- meta/recipes-support/libproxy/libproxy_0.4.14.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-support/libproxy/libproxy_0.4.14.bb b/meta/recipes-support/libproxy/libproxy_0.4.14.bb index fcdb82f06c..f91bd67f7b 100644 --- a/meta/recipes-support/libproxy/libproxy_0.4.14.bb +++ b/meta/recipes-support/libproxy/libproxy_0.4.14.bb @@ -32,6 +32,7 @@ EXTRA_OECMAKE += " \ -DLIB_INSTALL_DIR=${libdir} \ -DLIBEXEC_INSTALL_DIR=${libexecdir} \ " +SECURITY_PIE_CFLAGS_remove = "-fPIE -pie" FILES_${PN} += "${libdir}/${BPN}/${PV}/modules" FILES_${PN}-dev += "${datadir}/cmake" From patchwork Mon Jul 24 00:47:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108539 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3476641qge; Sun, 23 Jul 2017 17:48:44 -0700 (PDT) X-Received: by 10.84.208.236 with SMTP id c41mr15913371plj.152.1500857324654; Sun, 23 Jul 2017 17:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500857324; cv=none; d=google.com; s=arc-20160816; b=CMP2EHDl+tGzPsQm1d17diAgVSLv4xHRK12Qu3fTCSSPUhRaIqxnw90quakDkRq0DV 4Z2x27Sazk/zqv5TC4rV6aR+ZVvgoiHL04BU/DIen9ZifAJsDjxWhbPDI2tzqOrfjIhj eT3S2cr5d5FUlAzVd0c8/dMhnNhcABmgVY5HUcVftTzbMgYoivsBpCfxq13EG/S3vzjv PBqtTK2UvCAQepetjUrc3K8eQAT0LYxtLIhGxBPOgMVKFUyghLDBaKnIqpmHG8vHPRS+ gEqejmgqdjXSIFOshmkd7/lpIs3PC+ir2jGJc9nKrLCcPd5uyBuWCcFKokMq+QXUwGTw B+6w== 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=25heR7COaSCXa0J0/6kYz+ut29l29Br0tPD0x5qXKAQ=; b=fZgBdvfbhwVXuiFkrbDg/HrbXBv9Q5Ai9yKFoD2R/VvwtKhBpbbSuNs8LLNhxuIWWx qqcH+w5CtEG6GgmlWzR/1fvL+WU6oKIxctq2M1cGzU5w/D+3V//VrOm0B8COXZruphHP e0o935EC3X4rX97ggOavcU/IqKCliqSYmidq7Vs8YrScfvKm4WKfj8q5uPLa2RSyVyE9 jr8hNK8IQFe1c3KxYuzzOcaOiTh59lUG9UE7rPmA/nFFqISsLJEmD5mWU9GIZ7qZe2O1 FcJiPCnNhZwIsXFo2dDQifdvqFnwv4LsCglgdKr83NHtXI+tatk3dy4wJFKI0Jkpvp+5 vDtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=ShXCaUB3; 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 j21si5366381pgn.452.2017.07.23.17.48.44; Sun, 23 Jul 2017 17:48:44 -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=ShXCaUB3; 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 2CF7D78370; Mon, 24 Jul 2017 00:48:38 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by mail.openembedded.org (Postfix) with ESMTP id D95187835B for ; Mon, 24 Jul 2017 00:48:00 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id g14so1077173pgu.0 for ; Sun, 23 Jul 2017 17:48:02 -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=83NhVOs+pgeXCHqChsSIWSNRS4CeMC8iqFrGRr66zcQ=; b=ShXCaUB3vAfQZmGNpKStplGZ/jEqL51E9QDN2RGiCBh/YkTx3/uE/KoOEn74DL0IJR pQvu42YolA45vNy+Vl+X3jJiFlZNCkHevoLqGyTw59SQa2+PZfMU5x9duVlWisR6y4f0 rfXFdrLDfCslUSIrvO8AvFUx4DAKQ1gSQyBAMuhqXOVniJ0xBFPgaUr0TzRARiYncCmq Py2HDuA0T+9oKJuEz5DaqlB2YkhV54Rod00wG3AmXr+MdCBFfzq/xbbUu+sKTm1XoGXd fBfsu2st/jFQoSXINxxj5CAnv0AFFkXQHXtMMbNhIbWTc1q1yBmkG/c6CkE75mOu/D+s mygA== 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=83NhVOs+pgeXCHqChsSIWSNRS4CeMC8iqFrGRr66zcQ=; b=boBShtdDpsX+rC/MwtICEtkyIcbQ5BEx1vTAWINfd9+t5Yy/JUiPOvifVuILj+KEQO Lr62grDWF9T+O+68B8jznnsIeoEudl3tBPTvQlo0zr5y81IGrh69JwEBKENjLoIyw+RF YOES3/No0fq5u0gxa6uaOX3FsZSFW/TLPKx78b+7K04RDT9f0k5/Q+7uTK/u8K2SPaCy Hdi8RQaLyp0MzNN3Jfpbw8SXfnnK9B55Sux5S0T5WwfE9YTIMtBdKP+7tVpcza1YlO+2 mQNR1oP7RXWVg5f3zjTqQCYKzwx+mHxibFiI4otZWoCP+osLbTgk8I345+56EcNjF3dp Du2g== X-Gm-Message-State: AIVw112uoIuuIAHZjUF/E7gLlE9OiOJDRQspdFcm8xYXS3TOShXnpsiC rO5r70LL3AA+8ai8 X-Received: by 10.99.155.10 with SMTP id r10mr14616098pgd.123.1500857282114; Sun, 23 Jul 2017 17:48:02 -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.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 17:48:01 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 23 Jul 2017 17:47:46 -0700 Message-Id: <20170724004748.14778-4-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 4/6] libsdl: Pass --tag option to libtool invocation 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 Helps in fixing errors when using external toolchain and hardening flags Signed-off-by: Khem Raj --- ...-Pass-tag-CC-explictly-when-using-libtool.patch | 73 ++++++++++++++++++++++ meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 1 + 2 files changed, 74 insertions(+) create mode 100644 meta/recipes-graphics/libsdl/libsdl-1.2.15/0001-build-Pass-tag-CC-explictly-when-using-libtool.patch -- 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-graphics/libsdl/libsdl-1.2.15/0001-build-Pass-tag-CC-explictly-when-using-libtool.patch b/meta/recipes-graphics/libsdl/libsdl-1.2.15/0001-build-Pass-tag-CC-explictly-when-using-libtool.patch new file mode 100644 index 0000000000..ec8c0fd4fb --- /dev/null +++ b/meta/recipes-graphics/libsdl/libsdl-1.2.15/0001-build-Pass-tag-CC-explictly-when-using-libtool.patch @@ -0,0 +1,73 @@ +From 44e4bb4cfb81024c8f5fd2e179e8a32c42756a2f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 23 Jul 2017 16:52:43 -0700 +Subject: [PATCH] build: Pass --tag=CC explictly when using libtool + +Do not depend solely on libtool heuristics which fail +in OE case when building with external compiler and +hardening flags + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + Makefile.in | 4 ++-- + build-scripts/makedep.sh | 8 ++++---- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index ab51035..743ce30 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -72,10 +72,10 @@ depend: + include $(depend) + + $(objects)/$(TARGET): $(OBJECTS) +- $(LIBTOOL) --mode=link $(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) ++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) + + $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) +- $(LIBTOOL) --mode=link $(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) $(SDLMAIN_LDFLAGS) ++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) $(SDLMAIN_LDFLAGS) + + + install: all install-bin install-hdrs install-lib install-data install-man +diff --git a/build-scripts/makedep.sh b/build-scripts/makedep.sh +index 3b3863b..dba28f2 100755 +--- a/build-scripts/makedep.sh ++++ b/build-scripts/makedep.sh +@@ -51,19 +51,19 @@ do echo "Generating dependencies for $src" + case $ext in + c) cat >>${output}.new <<__EOF__ + +- \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ ++ \$(LIBTOOL) --tag=CC --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + + __EOF__ + ;; + cc) cat >>${output}.new <<__EOF__ + +- \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ ++ \$(LIBTOOL) --tag=CC --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + + __EOF__ + ;; + m) cat >>${output}.new <<__EOF__ + +- \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ ++ \$(LIBTOOL) --tag=CC --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + + __EOF__ + ;; +@@ -75,7 +75,7 @@ __EOF__ + ;; + S) cat >>${output}.new <<__EOF__ + +- \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ ++ \$(LIBTOOL) --tag=CC --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ + + __EOF__ + ;; +-- +2.13.3 + diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index c802a6f692..b0d70a656b 100644 --- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb @@ -17,6 +17,7 @@ PR = "r3" SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ file://libsdl-1.2.15-xdata32.patch \ file://pkgconfig.patch \ + file://0001-build-Pass-tag-CC-explictly-when-using-libtool.patch \ " UPSTREAM_CHECK_REGEX = "SDL-(?P\d+(\.\d+)+)\.tar" From patchwork Mon Jul 24 00:47:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 108540 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3476692qge; Sun, 23 Jul 2017 17:48:50 -0700 (PDT) X-Received: by 10.98.252.23 with SMTP id e23mr14393973pfh.277.1500857329992; Sun, 23 Jul 2017 17:48:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500857329; cv=none; d=google.com; s=arc-20160816; b=l3kzC9jv9TLaIwDPaNS6N1kw2YQ5LejR4H3Ixcb8pKxbW2KcLEgoCaJ5klPZTRriRF R1CD0eR8wMVMbIWGcFMfXjXSqU/Ev1l8orvegl6RxC3RyaHr9qibGgUxcQfvsnPpEtjK P6kujohcBCDoeeQAPvV/ublV9JstfgjyFamHzE1LfY9seRMx6Eo/Wc2PwfYiEJaJw7aA 4RHow1FyubLMUTlhhEV2O997dK+2FTQoNt41MNabyH7d0RY+DF/It0n5xfAWSzp8blH0 pfo5KMETCbj80iZArbKZj+vcahuSmcI5JeR8TpaxjkBMztkCro0QQ/344/+k4bpTF3jm EJ0g== 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=JxE1MQtHmxEbvf/fVNKRGHwUT/FJCn+MNcxqfkBvbPw=; b=kdYcPQMfXQNPlma34Did8RBd4/sXotfd4aPM9GhnB1Eg8qx7/KmPzU7+S6aip5GPPo D1mw1ogBCneTvofjSHve/i7XyqXX9H/xFd1gyoZP32pNi0cgmkMzsrfYb2CIlH2+XADA AZ5PB7twYCRwL+DLawtzfUrOzD/GpHoFdzgD6l4mYvxemomqqspD+Vt3Z1M2L25kjZUd jEPVYOAyuIKBLYvCfFN3s7QVJSXRuau6UGit7eRP3Io+NEqSfx8s4xu6x7A5TUkW1fiu 622hS6W50D+fyDge4Pj7llJt8Qaev0wFPlqhNWu6gzqHhLkGbTnB2ZaTvmpWUWFizPOw 3Fmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=L5A20yFN; 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 43si1827718plb.681.2017.07.23.17.48.49; Sun, 23 Jul 2017 17:48:49 -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=L5A20yFN; 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 27B4178385; Mon, 24 Jul 2017 00:48:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 3F1377836D for ; Mon, 24 Jul 2017 00:48:02 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id c23so9177818pfe.5 for ; Sun, 23 Jul 2017 17:48:03 -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=IQhY21Xd6WAm+EE8FRaQ2pkYcJ3RYj2d4K0UtRHdqMs=; b=L5A20yFNE+0nuck31VQazilkpKAOu9iqg3ydZNJOO+GUVkuX8qPakK80o6CNNR47oE MDaKXtelNEK0Cb0uWvdjhoZc2l50P7WHUYLYmHDXV+U9F4TcN4MQwWniaANwLO8b63mY kQ8cGeAdRJJl2z3FrJ7NWQH64mhCd/Rr9dI2fxZYbkth2ET4ORvC+BTbrf88ASGa7XgX g+BJJWn08MOUq9KtYPVByvPtsej3ez9dxOSo2UOrEAU+MAnRYetNkmG4JzfGOTSGaTE3 sVm0cpoA5000kWWrfpz1UMK7Xk2mPWG8MiuspcODT01NZVJdmqELt0nfAtpkMLCRWN2v cYvg== 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=IQhY21Xd6WAm+EE8FRaQ2pkYcJ3RYj2d4K0UtRHdqMs=; b=fYpHPhfMsCYT4hpH+2gohxX1sZtWyjvtENJpVt40+yuCxYDJKIjdp5/s6++fNnqQZG iWJQgZgBYxGnMNriqrknvzR+nVXaL6EhtgiOCSO09c56gWby1nN9pLoipcoaz08Y5oks CSw0Uxv9/HatTW7rdVghmo4g9xXslpjaXdhowvRpDmcrRBa5s7cBlOJyGXLH0j1KgXgH t+tqqSXzNuin+WoNmoGZRFSZLgrO83hYJ0hbzlGSlW0ElL3jGjCj9yP/67eggQiNlKEN f3WNwjhFah623Lps0p/FK/yH3XP6/gxdCfzJHDTccpv6I89rflRyhYtZPiabG5JbX6Rz Lf+g== X-Gm-Message-State: AIVw111cGWNNH/qka3NbbV9Y6/AyKq1BY1BqDsitOwRBDumjHJfMplm1 IonGX1xvpcxekjD9 X-Received: by 10.99.169.17 with SMTP id u17mr14570088pge.292.1500857283390; Sun, 23 Jul 2017 17:48:03 -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.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jul 2017 17:48:02 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 23 Jul 2017 17:47:47 -0700 Message-Id: <20170724004748.14778-5-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 5/6] kexec-tools: 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 Signed-off-by: Khem Raj --- meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb | 2 ++ 1 file changed, 2 insertions(+) -- 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-kernel/kexec/kexec-tools_2.0.14.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb index 4caca933c7..bd89720e5b 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb @@ -26,6 +26,8 @@ SRC_URI += "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.g SRC_URI[md5sum] = "b2b2c5e6b29d467d6e99d587fb6b7cf5" SRC_URI[sha256sum] = "b3e69519d2acced256843b1e8f1ecfa00d9b54fa07449ed78f05b9193f239370" +SECURITY_PIE_CFLAGS_remove = "-fPIE -pie" + PACKAGES =+ "kexec kdump vmcore-dmesg" ALLOW_EMPTY_${PN} = "1" 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"