From patchwork Thu Dec 1 05:47:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 85952 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp547972qgi; Wed, 30 Nov 2016 21:48:08 -0800 (PST) X-Received: by 10.84.210.40 with SMTP id z37mr81284564plh.32.1480571288603; Wed, 30 Nov 2016 21:48:08 -0800 (PST) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l3si39200448pld.52.2016.11.30.21.48.08; Wed, 30 Nov 2016 21:48:08 -0800 (PST) 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; 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 dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2B6AC71A26; Thu, 1 Dec 2016 05:47:54 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 90F0671A26 for ; Thu, 1 Dec 2016 05:47:51 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id c4so11299684pfb.3 for ; Wed, 30 Nov 2016 21:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=NRrLx3Qy1gcP+mSGW3PCPWYb9rUM7GlGMu/XozgMdA8=; b=Vxe0Csd8Xr65mqhWXeYJNXrBkjWy97XCbz+8/TnU/gJn3Rj1IT1dSxikl6k7jr8aPh fQLGdYyM+Y0E1o381169euWUzKcKjCL1XBrLlz71vKOM72AijlNTvoBsKLUqr5u3+Hf3 xHKPYRmLGcG0TqffASO7XzsXifO3+Oh1Lrj3gzlxbw3RsUvqcXYZWsMry60nPdzH8p5g cP9oegxwyMpLbWiPDb9kDEORHDUkPB6eDQGEcM1c+wfdrOtvDi+BzPzRGb+fpaNCOaCZ 69PPAV2GjPIaAzbgy0sISsW/IGQAk7EvOZZuCF8i747wDrODEOJMBfMGUjm7YhTyJHQS mg0w== 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; bh=NRrLx3Qy1gcP+mSGW3PCPWYb9rUM7GlGMu/XozgMdA8=; b=jjU0wogR1qvzyBmLN9BaUqDGy/ikBQwOm9zK/L/lgaU3MVl4+8NZ6eiLu6woQ1OEqS SThkOZJThWbmwy0BtrsbjIgXmmtlEF0WODey+VdZMMU7wGvMUE2o3DUgxCulfgsifqE+ 5mxkKyMyXvZrp68pjbWx+GxmKlXImWmSpIon6HaM0sxaJBcwSkjSi6oSqA+Hji4liN88 KsxzxBs5h9Mmz5jvyEGAvQxNPYiKkJSBmZn/m4zaFpv05fqe4m7SwqBcMIP7m3SXyBB7 WkVF56Lg+jEwgQuC6PaDilt+x1ib39mqBc/awzKoJHqOFSdnrkdj3zYuWIKi7EsGMDqo /gZg== X-Gm-Message-State: AKaTC031sA8MA9nKVR3FaKNtFgkEPHpfovQX67Q/LS/Wxi8boL09+5rJEcIK+p0sSWBd7g== X-Received: by 10.84.210.13 with SMTP id z13mr14084953plh.167.1480571272747; Wed, 30 Nov 2016 21:47:52 -0800 (PST) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id d15sm106870900pfl.46.2016.11.30.21.47.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2016 21:47:52 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 30 Nov 2016 21:47:43 -0800 Message-Id: <20161201054744.4776-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.10.2 Subject: [oe] [meta-oe][PATCH 1/2] meta_oe_security_flags.inc: Disable PIE for luajit 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: , Reply-To: openembedded-devel@lists.openembedded.org MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta-oe/conf/distro/include/meta_oe_security_flags.inc | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.10.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc index e57cc5b..9c451b9 100644 --- a/meta-oe/conf/distro/include/meta_oe_security_flags.inc +++ b/meta-oe/conf/distro/include/meta_oe_security_flags.inc @@ -17,3 +17,10 @@ SECURITY_CFLAGS_pn-libcdio = "${SECURITY_NO_PIE_CFLAGS}" #| /usr/src/debug/glibc/2.24-r0/git/csu/elf-init.c:86: undefined reference to `__init_array_start' SECURITY_CFLAGS_pn-libvdpau = "${SECURITY_NO_PIE_CFLAGS}" + +#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/6.2.0/ld: lj_err_dyn.o: relocation R_X86_64_TPOFF32 against `static_uex' can not be used when making a shared object; recompile with -fPIC +#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/6.2.0/ld: final link failed: Nonrepresentable section on output +#| collect2: error: ld returned 1 exit status +#| make[1]: *** [Makefile:675: libluajit.so] Error 1 +SECURITY_CFLAGS_pn-luajit = "${SECURITY_NO_PIE_CFLAGS}" +