All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/ibrcommon: fix static build with openssl
Date: Sat, 23 Feb 2019 17:24:49 +0100	[thread overview]
Message-ID: <20190223172449.3f5de1e8@windsurf.home> (raw)
In-Reply-To: <20190216112319.4769-1-fontaine.fabrice@gmail.com>

On Sat, 16 Feb 2019 12:23:19 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> gf_mul is already defined in libcrypto (openssl) so rename it into
> ibrdtn_gf_mul to fix the following build failure in ibrdtnd package:
> 
> /home/buildroot/autobuild/instance-3/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libcrypto.a(f_impl.o): In function `gf_mul':
> f_impl.c:(.text+0x0): multiple definition of `gf_mul'
> /home/buildroot/autobuild/instance-3/output/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libibrcommon.a(gf128mul.o):gf128mul.cpp:(.text+0x30): first defined here
> collect2: error: ld returned 1 exit status
> Makefile:560: recipe for target 'dtnd' failed
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/1d3b4b6cf043a3e185ce758b617a0a18c3d36cdb
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  ...mon-ssl-gcm-fix-static-build-with-openssl.patch | 94 ++++++++++++++++++++++
>  1 file changed, 94 insertions(+)
>  create mode 100644 package/ibrcommon/0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-02-23 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-16 11:23 [Buildroot] [PATCH 1/1] package/ibrcommon: fix static build with openssl Fabrice Fontaine
2019-02-23 16:24 ` Thomas Petazzoni [this message]
2019-02-24 22:15 ` Peter Korsgaard
2019-02-26 12:32   ` Fabrice Fontaine
2019-02-26 13:52     ` Peter Korsgaard

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=20190223172449.3f5de1e8@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.