[Buildroot] abi problem with arm [solves alsa-lib invalid ioctl]

ing. Federico Fuga fuga at studiofuga.com
Sat Nov 24 15:12:09 UTC 2007

Ivan Kuten ha scritto:
> Yes, I can confirm that adding
> CFLAGS="$(TARGET_CFLAGS) -mabi=aapcs-linux"
> to alsa_utils.mk and alsa-utils.mk indeed fixes a problem for ARM (tested on ARM920T Cirrus Logic CPU)
> >From my point of view this option should be added to alsa only, not whole uclibc&buildroot.

I forgot to mention that I already did the test by adding 
-mabi=aapcs-linux to the "optimization flags" in the buildroot 
configuration, but this broke all the system: for example, a simple ls 
reported all the files in the filesystem to be 4096 bytes long.

> Regards,
> Ivan



More information about the buildroot mailing list