From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] elfutils: fix sparc64 build, -fPIC required
Date: Tue, 3 Nov 2015 20:50:49 +0100 [thread overview]
Message-ID: <20151103205049.0de46109@free-electrons.com> (raw)
In-Reply-To: <20151103181810.GE21428@waldemar-brodkorb.de>
Waldemar,
On Tue, 3 Nov 2015 19:18:10 +0100, Waldemar Brodkorb wrote:
> > I don't like the duplication of the _FILE_OFFSET_BITS dance. Can you
> > introduce an ELFUTILS_CFLAGS instead ?
>
> Okay, I did know you wouldn't like it ;)
So why didn't you fix in the first iteration ? :-)
> > Also, for libpcap, -fPIC is needed instead of -fpic for both microblaze
> > and sparc64. But for elfutils, -fPIC is only needed for sparc64 ? I
> > just tested a quick build of elfutils on microblaze, and it indeed
> > works without any change.
> >
> > Do you have any clue why?
>
> No idea, sorry.
In fact, libpcap builds just fine with -fPIC on Microblaze with the
Buildroot toolchain. Maybe it was an issue with a specific toolchain a
while ago.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2015-11-03 19:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-03 17:18 [Buildroot] [PATCH] elfutils: fix sparc64 build, -fPIC required Waldemar Brodkorb
2015-11-03 17:57 ` Thomas Petazzoni
2015-11-03 18:18 ` Waldemar Brodkorb
2015-11-03 19:50 ` Thomas Petazzoni [this message]
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=20151103205049.0de46109@free-electrons.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox