Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] alsa-lib: FLAT: Disable alsa lib when FLAT bianry is selected.
Date: Mon, 11 Nov 2013 13:39:34 +0100	[thread overview]
Message-ID: <20131111133934.50d39c5d@skate> (raw)
In-Reply-To: <CAJxxZ0NkAviss7TVczJhJogiLFU3Ts4KS8sqstEfK1H=Fkv4rQ@mail.gmail.com>

Dear Sonic Zhang,

On Mon, 11 Nov 2013 18:54:27 +0800, Sonic Zhang wrote:

> > The problem is really that we need shared library support, no that
> > specifically the FLAT binary format is causing problems. If another
> > binary format doesn't support shared libraries, then we would have to
> > exclude it as well.
> 
> Some alsa-lib code include head file dlfcn.h, which doesn't exist in
> the FLAT GNU toolchain, while it does in the ELF/FDPIC GNU toolchain.
> So, alsa-lib has no error with BR2_PREFER_STATIC_LIB is selected in
> the 2nd case.

Yes, but it's wrong: if you use <dlfcn.h>, then clearly, you're not a
fully static lib system.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2013-11-11 12:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11  5:02 [Buildroot] [PATCH] alsa-lib: FLAT: Disable alsa lib when FLAT bianry is selected sonic.adi at gmail.com
2013-11-11  7:48 ` Thomas De Schampheleire
2013-11-11  9:39   ` Peter Korsgaard
2013-11-11 10:21 ` Thomas Petazzoni
2013-11-11  7:31   ` Gustavo Zacarias
2013-11-11 10:43     ` Thomas Petazzoni
2013-11-11 10:54   ` Sonic Zhang
2013-11-11 12:39     ` 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=20131111133934.50d39c5d@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox