From patchwork Thu Nov 3 17:33:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 80708 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp759758qge; Thu, 3 Nov 2016 10:49:21 -0700 (PDT) X-Received: by 10.98.21.148 with SMTP id 142mr18718015pfv.38.1478195361659; Thu, 03 Nov 2016 10:49:21 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id yd8si4797289pab.185.2016.11.03.10.49.21; Thu, 03 Nov 2016 10:49:21 -0700 (PDT) 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 CF22F6E64F; Thu, 3 Nov 2016 17:49:08 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 2EFCD719E1 for ; Thu, 3 Nov 2016 17:33:47 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id a136so5433845pfa.0 for ; Thu, 03 Nov 2016 10:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=dozy95z7AeIKtUjtU7ca7qrWPF9ahlP26lsbLcqweU8=; b=OQ4eyZeyudR6fjXLh7hPJP7DLX5dGXjCudy5ClYT68xoGC+3kBf6cxjd+4M7rcCKEq 97EEQO1js654bxPpOIhuTx7BQKK6ZgLQOjbWMqSOZJl6aoi0zDyNUz1XTS93pqX76CLU GXUGlPWQCZz0yLfnkPeXAgUrVCCfGSW7M1Wyf0524yqhTwL4gwPx1D87QRYG4zZ4y9lz E9Pnncu7GdHkVFzfW0PNd5yJ6tasCzsPxQ1lamLGT/F0VzkjEr24HBxuIkBkCHsqCLFU bQn7LenSzkUuHs61aOScxKs7j2dDerqISDJ5xU+Rkf8RzVcIkIvv0uotP0gkiDyQYgHY 9Uxw== 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=dozy95z7AeIKtUjtU7ca7qrWPF9ahlP26lsbLcqweU8=; b=GAvU5SiCpRVx1an3W4ah68txKIE1yAf8f21ofRO2hPtLj1mdc6lxXIldgY/r1+YlMJ IM5dnhAFBXR6gy/+4Axyw4ao+4Y+Y5zeu6GV6VJ72XgCoHci7YSAj+2TWNl2qXnD8uYw EfgiEES4Tq62SCFNk6LMJDLWbK9Vg7z7gCMd6f34Q7IAHCJjO16gzC78Xm7g3rqSp6f7 w9P9naO+OhHsgFScKUsa0VNWbz//omacj6UZ5Ji6/eeFTCg8AXRhQpDOi7ProafWkpgx 1vjARTyxZlWyCxLr5aQU8jyPBGYCHR/wFbIeADQv6VZn6DGgExAI2458x2sS0u7QzocV b/yQ== X-Gm-Message-State: ABUngvc7oEm14sHyrUfN7549QN5BWKW39v8Qw/v78oL/+DQXKsqKw8SnRZByWOJ/vYDQ1g== X-Received: by 10.98.193.68 with SMTP id i65mr18966202pfg.155.1478194429255; Thu, 03 Nov 2016 10:33:49 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id uh10sm14241214pab.5.2016.11.03.10.33.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Nov 2016 10:33:48 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 3 Nov 2016 10:33:41 -0700 Message-Id: <20161103173342.13661-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.10.2 Subject: [oe] [meta-oe][PATCH 1/2] krb5: Add -fPIC to compile flags 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 on x86_64 e.g. errors.so: relocation R_X86_64_PC32 against symbol `k5_vset_error' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 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-connectivity/krb5/krb5_1.13.6.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb index e2d0594..06f7f90 100644 --- a/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb +++ b/meta-oe/recipes-connectivity/krb5/krb5_1.13.6.bb @@ -51,8 +51,8 @@ CACHED_CONFIGUREVARS += "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regc ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \ ac_cv_file__etc_TIMEZONE=no" -CFLAGS_append = " -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" -LDFLAGS_append = " -lpthread" +CFLAGS_append = " -fPIC -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" +LDFLAGS_append = " -pthread" FILES_${PN} += "${datadir}/gnats" FILES_${PN}-doc += "${datadir}/examples"