From patchwork Wed Feb 28 20:46:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 130067 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp196138lja; Wed, 28 Feb 2018 12:46:18 -0800 (PST) X-Google-Smtp-Source: AH8x2267QIGJTKFKtbokwLp5qFtnX5WLXxW6+Zeml7vfOUR6UE9GTeXibxTGbGB+u44HXJuc2PUn X-Received: by 10.98.67.78 with SMTP id q75mr18635728pfa.98.1519850778710; Wed, 28 Feb 2018 12:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519850778; cv=none; d=google.com; s=arc-20160816; b=nBrxTI8ASlMhiUZ8sBqE+lbjnukRhWcuRsoreh3bn6lBzkHVcmEhWVw6+YeEqnH55H QeKB4dxIn8XNxDR/Jf1pUdiXD9DQ5fzEipfgwpzAA/VcIrDHZedvjyqF9/V3R6hNTGOd 27UrCdtkbROvjJSpo1heCMhJzIh7yJfvZp/DNEgbCutyWPWKx6LiqkqHE9kkfPPal8Sx 2OyepmVX+WAk62VSUBHfcKVZEbT+X2VJSEF4OVAXia/9r0ynsWSGikU6Y2XmoJqZ2ZCl u3xPOOKUnNfkQr/VLVl14usIWyPpt+nFPO0O445EFF8ewT7xxZbh4BjLo53vfFp+tWO6 xrqA== 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=CHtPUZ3dcjQLWweKcpnp4oFHfYPukCqLUybXnTVmIx4=; b=Q48mqLRry61TFWTFKahwe0i/XJ1G4nBKsR2kXWlD0eFJv0codRCIn+qmiWMD6p4Wjb NW6vD/apQeVqwRU+ryJeIFenTr8mmSEsAYnOaPkSiK8h0Io9CtyJmq+Sd2UkgSvRBzBl NWs3cJRFk8wSPwHjFf6OAPWkaxXHHbzXQZcqNykERShcjsQGCwziKRsFlPkB454S1XX3 Gbbv+ZzXharD8IuJFy2l2KHaxe+jM1IWuy0DA7uiXlhzQ/5XJa+4h90e6V5/s7kdQv4Q p4xeYlXJGyRDRq7AYLqR8+6VO0xZtbKNGSGJZmPed9vdg8PEXBixzLHHx8/3/geD9umZ LG+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=eKtXGvny; 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=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 q5si1731361pff.398.2018.02.28.12.46.18; Wed, 28 Feb 2018 12:46:18 -0800 (PST) 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.s=20161025 header.b=eKtXGvny; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 690567890D; Wed, 28 Feb 2018 20:46:15 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by mail.openembedded.org (Postfix) with ESMTP id 767E6788DF for ; Wed, 28 Feb 2018 20:46:14 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id i6-v6so2237922plt.7 for ; Wed, 28 Feb 2018 12:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=O8jHrwCegpNcHOSJJ944DZWkj3Iv0c9e9NbI0F+dXhQ=; b=eKtXGvny9Z2lxdTWQnomUshkm2n7Sc4R8qvx2CYnu16rqPII+0oCWCZR0O8OvjXCQ4 Y7t/pbqATNBh/84VLj8CmZdPFJdZcRLMWXmAQkUs6OmW3oHwaDHmp3RZzDgtSFDCHzcq WfbBzdWo7jSFK/oYIFja+iJPPCKisJD2MAwAnkcC1z/lJmOu1o+n79ytG7kPfBANdf9q J2Y/900OY/U6z6Stgy98RJEMxnyYcUvGmTQ/3/thzz/57Zsx4GQMtgiDfz/2iemf/Nft xp0mCUPJONPqYonAgc5UZ2tQien9zN+VcQQNLieZ2TGV9NsuueHVEn0lLQ4cvjqM+MnP DW2w== 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=O8jHrwCegpNcHOSJJ944DZWkj3Iv0c9e9NbI0F+dXhQ=; b=MbM8Uq7t/mpoOIpDK57+L37wKm6VP9dVdNIdZT1AfJq0crW/tiArU7cnLbKdfRf+gZ huXp3+MDLqktOGwKpL71TCX8Y9V8foYVnwLCdv/bLHqztIFhtG4fQBbO5f2SaohgK6Wm WABiKUhHNdo53fDYkDPNbPlHrb68ohLdoOlsLH90kA9KyA43A1TTiRKf4Jpi9eeZT3z+ Dvx+YW0m5R2R61QZlEiwfIq896vppuRhm4rskLDKgB83kgd6lcJ64WW+i8ZsQF+txbEh dbK67n186rTir2CUvh8dRFkR2+GlVfiEVEMRjGIfOXMiHwndEHShwu6rbsrooTLabj2o wm6Q== X-Gm-Message-State: APf1xPD5SDNLgQHJBh+7j+swvSC+B96Ew0BpP3Ju4ningm7ITvEXD8Qv rGFFWgxUp6m1hSybczQdSl0ltg== X-Received: by 2002:a17:902:b704:: with SMTP id d4-v6mr2501337pls.406.1519850775626; Wed, 28 Feb 2018 12:46:15 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id r78sm5376700pfb.24.2018.02.28.12.46.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 12:46:14 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 28 Feb 2018 12:46:07 -0800 Message-Id: <20180228204607.16416-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 Subject: [OE-core] [PATCH] glibc: Enable static PIE support 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 go programs when compiled with PIE fails otherwise on aarch64 Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc_2.27.bb | 1 + 1 file changed, 1 insertion(+) -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/recipes-core/glibc/glibc_2.27.bb b/meta/recipes-core/glibc/glibc_2.27.bb index e9d4117a47..62db3e9d02 100644 --- a/meta/recipes-core/glibc/glibc_2.27.bb +++ b/meta/recipes-core/glibc/glibc_2.27.bb @@ -81,6 +81,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --enable-bind-now \ --enable-stack-protector=strong \ --enable-stackguard-randomization \ + --enable-static-pie \ ${GLIBC_EXTRA_OECONF}" EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"