From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] alsa unknown ioctl
Date: Wed, 16 Jul 2008 09:30:07 +0200 [thread overview]
Message-ID: <487DA37F.8070205@atmel.com> (raw)
In-Reply-To: <408540dd0807141520m5f4886f8tcde913bba1232afe@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthew Dombroski skrev:
| Hi,
| Thanks for pointing this out for me, the interesting thing now is that
| i had to *disable* the -mabi=aapcs-linux option and everything started
| working.
| Maybe there is a way we can detect that the kernel has been built with
| this option, blindly assuming that it's needed for arm doesn't seem to
| be working.
|
| ~Matt
|
| On Mon, Jul 14, 2008 at 8:33 PM, Ivan Kuten <ivan.kuten@promwad.com>
wrote:
|> Hello,
|>
|>> ALSA sound/core/control.c:1224: unknown ioctl = 0xc2c85512
|>>
|>> alsamixer: function snd_mixer_load failed: Inappropriate ioctl for
device.
|>
|> Try to check this previous buildroot thread:
|> http://busybox.net/lists/buildroot/2007-November/006326.html
|>
This is from arch/arm/Makefile of linux-2.6.25.10:
ifeq ($(CONFIG_AEABI),y)
CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork
else
CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call
cc-option,-mno-thumb-interwork,)
endif
so -mabi=aapcs-linux should only be enabled if the toolchain is using EABI.
alsa-lib.mk:
ifeq ($(BR2_arm),y)
ALSA_LIB_ABI:=-mabi=aapcs-linux
else
ALSA_LIB_ABI:=
endif
should probably be replaced with:
ifeq ($(BR2_ARM_EABI),y)
ALSA_LIB_ABI:=-mabi=aapcs-linux
else
ALSA_LIB_ABI:=
endif
BR
Ulf Samuelsson
|>
|> BR,
|> Ivan
|>
|>
| _______________________________________________
| buildroot mailing list
| buildroot at uclibc.org
| http://busybox.net/mailman/listinfo/buildroot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFIfaN/AyRRH5cXxqwRAoRCAJ9l1GKa5gfVryoTIg+r9SUc0eSgswCfaXb2
8GqFhVDnFyVt4NEuXteQhe4=
=kOrL
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2008-07-16 7:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 4:22 [Buildroot] alsa unknown ioctl Matthew Dombroski
2008-07-14 8:33 ` Ivan Kuten
2008-07-14 22:20 ` Matthew Dombroski
2008-07-16 7:30 ` Ulf Samuelsson [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=487DA37F.8070205@atmel.com \
--to=ulf.samuelsson@atmel.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.