Re: Bug: aplay/alsa-lib problem on mips (openwrt, uclibc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clemens Ladisch <cladisch@xxxxxxxxxxxx> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux