From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/sdl_mixer: disable libmad support for static build only
Date: Sun, 21 Feb 2016 18:18:30 +0100 [thread overview]
Message-ID: <20160221181830.01215f6e@free-electrons.com> (raw)
In-Reply-To: <1456073708-19562-1-git-send-email-romain.naour@gmail.com>
Romain,
On Sun, 21 Feb 2016 17:55:08 +0100, Romain Naour wrote:
> Following the discussion on the ML [1], all package using SDL_mixer will
> unlikely forget to link with -lmad.
>
> [...]sysroot/usr/lib/libSDL_mixer.a(music_mad.o): In function `read_next_frame':
> music_mad.c:(.text+0xbc): undefined reference to `mad_stream_buffer'
> music_mad.c:(.text+0xd0): undefined reference to `mad_frame_decode'
> music_mad.c:(.text+0x134): undefined reference to `mad_timer_add'
>
> Until SDL_mixer and other package using it are not fixed, disable libmad support
> for static build only.
>
> Fixes:
> http://autobuild.buildroot.net/results/e09/e09ea3a64d396bbc855acf7c07fcbea28fb2395d
>
> [1] http://lists.busybox.net/pipermail/buildroot/2016-February/153442.html
I am not sure whether this sort of patch is the good option. Yes, it
avoids the autobuilder failure, but it doesn't really fix the problem
itself. We could say it's a good temporary solution for 2016.02, but on
the other hand, once this patch gets merged, we will most likely forget
that this problem exists.
So I'm hesitating between:
1/ Applying your patch, and just forget about this issue, since we
probably don't care much anyway.
2/ Applying your patch, and asking you to fill in a bug report in our
bug tracker so that we don't forget about the issue.
3/ Not applying your patch, so that we keep the issue in our
autobuilder failures until someone fixes it.
Peter, what do you think?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-02-21 17:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-21 16:55 [Buildroot] [PATCH] package/sdl_mixer: disable libmad support for static build only Romain Naour
2016-02-21 17:18 ` Thomas Petazzoni [this message]
2016-02-21 20:06 ` Rodrigo Rebello
2016-02-21 20:13 ` Thomas Petazzoni
2016-02-21 20:37 ` Rodrigo Rebello
2016-02-21 20:44 ` Thomas Petazzoni
2016-03-02 20:48 ` 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=20160221181830.01215f6e@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 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.