Buildroot Archive on 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/lynx: fix build with latomic
Date: Mon, 22 Apr 2019 22:24:21 +0200	[thread overview]
Message-ID: <20190422222421.50c771ea@windsurf> (raw)
In-Reply-To: <20190422104821.16807-1-fontaine.fabrice@gmail.com>

Hello Fabrice,

On Mon, 22 Apr 2019 12:48:21 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Help lynx finding openssl dependencies by giving it a path in --with-ssl
> and using pkg-config to directly pass the correct libraries in LIBS.
> 
> This will disable the call to pkg-config and CF_ADD_LIBS which has the
> sad behavior of removing duplicates ...

Could this issue be reported upstream ?

> As a result, build fails because, the following correct dependencies:
> 
> configure:14170: testing adding -L/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lssl -L/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lz -pthread -latomic -lcrypto -lz -pthread -latomic  to LIBS ...
> 
> is replaced by:
> 
> -L/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lz -pthread -latomic -lcrypto
> 
> As a result, static linking fails on crypto because the second -latomic
> has been removed ...
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/2c28426253014d93e86e3ba6ed578e84317a9f19
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/lynx/lynx.mk | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

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

  reply	other threads:[~2019-04-22 20:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-22 10:48 [Buildroot] [PATCH 1/1] package/lynx: fix build with latomic Fabrice Fontaine
2019-04-22 20:24 ` Thomas Petazzoni [this message]
2019-04-26 12:46 ` 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=20190422222421.50c771ea@windsurf \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox