From patchwork Wed Nov 23 09:21:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 83598 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp2541440qge; Wed, 23 Nov 2016 01:38:28 -0800 (PST) X-Received: by 10.99.164.9 with SMTP id c9mr3655280pgf.141.1479893908133; Wed, 23 Nov 2016 01:38:28 -0800 (PST) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id n22si32857175pfi.246.2016.11.23.01.38.27; Wed, 23 Nov 2016 01:38:28 -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 24C4A71B86; Wed, 23 Nov 2016 09:36:49 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 91D9271A7F for ; Wed, 23 Nov 2016 09:22:36 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id 144so452229pfv.0 for ; Wed, 23 Nov 2016 01:22:38 -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:in-reply-to:references; bh=EFfDJg+amLZpCu9OuKOQxE0DuQNQ0Z4P63z4FSBJ/aI=; b=N+Pa4bLP13a33P90Uyyid0XGc3LnC1dHTbtrInW8bhwVq4LchFF8LjED4Igj39azcj OlZRyVK1A9Lc4EUETCZ0oes79qmg68ntyY8uBCTbxNvHYDnZ6SyK2t9Axen7m8iy5H5a +UJy3SIqfeyQMPAOf2+Qu3PF1eJoWtq5ERT1MCSuEWv0kFH3Q9TCwh+1PPKUlItq1lhg pzmZL3/JvkomgbwHBQn+7aZsDN13TzLZvP7ct4UMXpx9l9rgPPXpotHrNTyifMa+gEie 31eixIF/Q4gVnx+XMf8zuQ9MczPCKQA1f/Es35kcO4yQEmv7B3L8ALFCh7iSqqYIOb20 f7sw== 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=EFfDJg+amLZpCu9OuKOQxE0DuQNQ0Z4P63z4FSBJ/aI=; b=BJb497ZObnTAt/yFxsZfrgTCANdPuTLt7oLVNu22eX49dvqVXJObzajPzLmmjEE77H oalmUSI1sGbdruxVRiMbebN6k7V4V1w01uEqWUi8vtksROPh8TRrUzEmtvC9ukxML0tc ZApXtmRkAtsuE6aYAlRiYPH/2tkJfhSsozcdB9AImJMVHJlVdvBEqsDr4fKM2pcbMeWE 2FT7ScD+3TvZqDS8fYTqyPVdzcaeAjO3rLPkNjrt03JqTPuVHOKtoQJLPEVxWjz/eXC+ qqbsI1ILTr3dmO0hZrsPpJeBQq/zCQPuESVj50LR5Dd9AhZuBsCraAa1Ez5ydqdjtPo8 cNpQ== X-Gm-Message-State: AKaTC01/zXTawcdysSd5or35On3MkanyZJav3ORmmjSJFRFcie3c+uH7nQd3MqSG7qP41w== X-Received: by 10.99.127.16 with SMTP id a16mr3535469pgd.27.1479892958174; Wed, 23 Nov 2016 01:22:38 -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 u23sm51056087pfg.86.2016.11.23.01.22.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Nov 2016 01:22:37 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 23 Nov 2016 01:21:48 -0800 Message-Id: <20161123092209.23699-28-raj.khem@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161123092209.23699-1-raj.khem@gmail.com> References: <20161123092209.23699-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 28/49] openldap: Fix Build error due to missing -fPIC 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 Fixes errors e.g. relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `stderr@@GLIBC_2.17' can not be us ed when making a shared object; recompile with -fPIC Signed-off-by: Khem Raj --- meta-oe/recipes-support/openldap/openldap_2.4.44.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/recipes-support/openldap/openldap_2.4.44.bb b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb index 4e95a77..05ffc5c 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.4.44.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb @@ -148,7 +148,7 @@ PACKAGES += "${PN}-overlay-proxycache" # Append URANDOM_DEVICE='/dev/urandom' to CPPFLAGS: # This allows tls to obtain random bits from /dev/urandom, by default # it was disabled for cross-compiling. -CPPFLAGS_append = " -D_GNU_SOURCE -DURANDOM_DEVICE=\'/dev/urandom\'" +CPPFLAGS_append = " -D_GNU_SOURCE -DURANDOM_DEVICE=\'/dev/urandom\' -fPIC" LDFLAGS += "-pthread"