From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] libcap: fix static linking issue
Date: Tue, 8 Oct 2013 10:13:27 +0200 [thread overview]
Message-ID: <20131008101327.5ee7cc9c@skate> (raw)
In-Reply-To: <420407879.8180852.1381219913546.JavaMail.root@openwide.fr>
Dear Romain Naour,
On Tue, 8 Oct 2013 10:11:53 +0200 (CEST), Romain Naour wrote:
> | > +ifeq ($(BR2_PREFER_STATIC_LIB),y)
> | > +LIBCAP_LDFLAGS=-fPIC
> | > +endif
> |
> | This seems really weird, because normally, we would expect exactly
> | the
> | opposite: position independent code is needed for shared libraries,
> | not
> | for static libraries.
>
> Ok, I'll take the problem from the beginning.
> Sorry for that mistake.
Note that I'm not sure about what I said, but having to build with
-fPIC in the static lib case seems really strange.
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-10-08 8:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-06 20:10 [Buildroot] [PATCH 1/1] libcap: fix static linking issue Romain Naour
2013-10-06 21:29 ` Thomas Petazzoni
2013-10-08 8:11 ` Romain Naour
2013-10-08 8:13 ` Thomas Petazzoni [this message]
2013-10-13 19:44 ` Romain Naour
2013-10-16 16:09 ` Thomas Petazzoni
2013-11-01 17:48 ` Thomas Petazzoni
2013-11-02 15:52 ` Romain Naour
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=20131008101327.5ee7cc9c@skate \
--to=thomas.petazzoni@free-electrons.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.