From: Daniel Mack <daniel@caiaq.org>
To: Liam Girdwood <lrg@kernel.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: snd_pcm_hw_params_get_period_size points to __old_ symbol
Date: Sun, 22 Feb 2009 23:22:28 +0100 [thread overview]
Message-ID: <20090222222228.GE5893@buzzloop.caiaq.de> (raw)
In-Reply-To: <1235340956.27887.547.camel@vega.slimlogic.co.uk>
On Sun, Feb 22, 2009 at 10:15:56PM +0000, Liam Girdwood wrote:
> > With alsa-lib and alsa-utils cross-compiled for ARM by
> > buildroot (currently version 1.0.19, but earlier versions
> > seem to be equally affected), I encounter the effect that
> > snd_pcm_hw_params_get_period_size() does not write the expected
> > value to the given snd_pcm_uframes_t pointer. In fact, this
> > variable is not written at all. This makes aplay calculate 0
> > for chunk_bytes in set_params() and then exit with the bogus error
> > message "Not enough memory". I did some tracing and found out that
> > the function called for snd_pcm_hw_params_get_period_size() is in
> > fact __old_snd_pcm_hw_params_get_period_size() which has a different
> > footprint and hence the pointer given to it is leaved untouched.
> >
> > As I don't fully understand all the system behind the symbol names
> > remapping, I'm stuck here. Can anybody reproduce this bug?
>
> AFAICT, buildroot builds a broken ALSA ARM userspace. I've had driver
> bug reports from numerous users for about 2 years now due to buildoot
> building a faulty ARM ALSA userspace. I've also asked each bug reporter
> to report this to buildroot bugzilla. Seems it's not fixed yet.
Interesting, thanks for pointing that out.
> Please either build alsa-lib natively or with OpenEmbedded.
This is rather unpracticable for us as we build the whole system with
buildroot. Hence, I'd rather go and fix it. Any hint about what could
possibily go wrong during the build phase which would explain that bug
to happen? A missing/wrong define, bogus configure arguments?
Daniel
next prev parent reply other threads:[~2009-02-22 22:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-22 21:35 snd_pcm_hw_params_get_period_size points to __old_ symbol Daniel Mack
2009-02-22 22:15 ` Liam Girdwood
2009-02-22 22:18 ` Daniel Mack
2009-02-22 22:22 ` Daniel Mack [this message]
2009-02-22 22:24 ` Liam Girdwood
2009-02-22 22:27 ` Daniel Mack
2009-02-22 22:32 ` Liam Girdwood
2009-02-23 11:52 ` Alan Horstmann
2009-02-23 11:32 ` Daniel Mack
2009-02-23 12:30 ` Alan Horstmann
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=20090222222228.GE5893@buzzloop.caiaq.de \
--to=daniel@caiaq.org \
--cc=alsa-devel@alsa-project.org \
--cc=lrg@kernel.org \
/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.