Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Geggus <sven@geggus.net>
To: alsa-devel@lists.sourceforge.net
Subject: Re: Bug: aplay/alsa-lib problem on mips (openwrt, uclibc)
Date: Thu, 24 Aug 2006 15:41:22 +0000 (UTC)	[thread overview]
Message-ID: <eckhb2$g43$1@ultimate100.geggus.net> (raw)
In-Reply-To: 1156408442.3263.269301419@webmail.messagingengine.com

Clemens Ladisch <cladisch@fastmail.net> wrote:

> I would guess that the kernel and alsa-lib have not been compiled with the
> same compiler or compiler options, i.e., some structure layouts are
> different.

I have been using the same compiler, as I don't have more than one cross
development toolkit installed.

compiler options are different, however.

Openwrt is using the following for compiling alsa-driver:
-Os -G 0 -mno-abicalls -fno-pic -finline-limit=100000 -mabi=32 -march=mips32
--Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -mlong-calls -Wall
--Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
--fno-strict-aliasing -fno-common -pipe

I added the "-mlong-calls" Option myself, to get the alsa modules to insmod
correctly and to work (at least in oss compatible mode).

For compiling alsa-lib I just use what configure suggests which basically
leads to no special compiler Options at all.

Which options of the above do you suspect that I would need for alsa lib to
be able to talk to the alsa driver in a correct way?

Sven

-- 
"In the land of the brave and the free, we defend our freedom
with the GNU GPL" (Richard M. Stallman on www.gnu.org)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-08-24 15:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 19:29 Bug: aplay/alsa-lib problem on mips (openwrt, uclibc) Sven Geggus
2006-08-23 20:00 ` Markus Rechberger
2006-08-24  8:34 ` Clemens Ladisch
2006-08-24 15:41   ` Sven Geggus [this message]
2006-08-24 12:43 ` Jaroslav Kysela
2006-08-24 16:55   ` Sven Geggus

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='eckhb2$g43$1@ultimate100.geggus.net' \
    --to=sven@geggus.net \
    --cc=alsa-devel@lists.sourceforge.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