Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [V2 09/10] opnssl-native: Compile with -fPIC
Date: Sun, 18 Dec 2016 22:39:56 -0800	[thread overview]
Message-ID: <20161219063957.18716-9-raj.khem@gmail.com> (raw)
In-Reply-To: <20161219063957.18716-1-raj.khem@gmail.com>

Fixes
| /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
| /usr/bin/ld: final link failed: Bad value

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-connectivity/openssl/openssl_1.0.2j.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb
index f2aca36eca..94672f90bc 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb
@@ -5,6 +5,7 @@ require openssl.inc
 DEPENDS += "cryptodev-linux"
 
 CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
+CFLAG_append_class-native = " -fPIC"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=27ffa5d74bb5a337056c14b2ef93fbf6"
 
-- 
2.11.0



  parent reply	other threads:[~2016-12-19  6:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-19  6:39 [V2 01/10] webkitgtk: Fix atomic detection on arm architecture Khem Raj
2016-12-19  6:39 ` [V2 02/10] gdb: Upgrade to 7.12 Khem Raj
2016-12-19 11:14   ` Burton, Ross
2016-12-19 16:42     ` Khem Raj
2016-12-19 17:18       ` Burton, Ross
2016-12-19  6:39 ` [V2 03/10] grub: Fix build with glibc 2.25 Khem Raj
2016-12-19  6:39 ` [V2 04/10] grub-git: Upgrade to tip of master and fix " Khem Raj
2016-12-19  6:39 ` [V2 05/10] mdadm: Fix build " Khem Raj
2016-12-19  6:39 ` [V2 06/10] pax: " Khem Raj
2016-12-19  6:39 ` [V2 07/10] x264: Fix build on mips architectures Khem Raj
2016-12-19 10:33   ` André Draszik
2016-12-19 10:40     ` André Draszik
2016-12-19 16:43       ` Khem Raj
2016-12-19  6:39 ` [V2 08/10] autoconf: Fix AC_HEADER_MAJOR with glibc 2.25 Khem Raj
2016-12-19  6:39 ` Khem Raj [this message]
2016-12-19  6:39 ` [V2 10/10] gdk-pixbuf: Update to 2.36.1 Khem Raj
2016-12-19  9:13   ` Jussi Kukkonen
2016-12-19 16:41     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161219063957.18716-9-raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox