[pulseaudio-discuss] Build assembler errors on ARM OMAP3

Kurt Taylor kurt.taylor at linaro.org
Thu Feb 17 10:25:28 PST 2011


Here is the output of gcc -dumpspecs

http://pastebin.com/Z2ZDVrbc

Kurt Taylor (irc krtaylor)


On 17 February 2011 12:10, Kurt Taylor <kurt.taylor at linaro.org> wrote:

> Thanks for your help Arun. I was finally able to come back to this
> problem.  Here is the last lines of a make on a clean git clone showing the
> errors on the beagleboard (linaro ALIP).
>
> Adding "ite" before the addcs did not build, adding itt built and ran, but
> unloaded alsa module.
>
> http://pastebin.com/Lqw0rEh9
>
> Kurt Taylor (irc krtaylor)
>
>
>
> On 14 February 2011 08:45, Arun Raghavan <arun.raghavan at collabora.co.uk>wrote:
>
>> On Mon, 2011-02-07 at 12:52 -0600, Kurt Taylor wrote:
>> >
>> > I am seeing the following when trying to build pulseaudio on an
>> > ARM-based Beagleboard (OMAP3):
>> >
>> >   CC     libpulsecore_1.0_la-svolume_arm.lo
>> > ../libtool: line 975: warning: setlocale: LC_MESSAGES: cannot change
>> > locale (en_GB.utf8)
>> > {standard input}: Assembler messages:
>> > {standard input}:82: Error: thumb conditional instruction should be in
>> > IT block -- `addcs r0,r8'
>> > {standard input}:83: Error: thumb conditional instruction should be in
>> > IT block -- `movcs r6,r0'
>> > {standard input}:98: Error: thumb conditional instruction should be in
>> > IT block -- `addcs r0,r8'
>> > {standard input}:99: Error: thumb conditional instruction should be in
>> > IT block -- `movcs r6,r0'
>> > {standard input}:119: Error: thumb conditional instruction should be
>> > in IT block -- `addcs r0,r8'
>> > {standard input}:120: Error: thumb conditional instruction should be
>> > in IT block -- `movcs r6,r0'
>> >
>> > I am using the normal build (bootstrap.sh, configure, make) on Linaro
>> > ALIP on the Beagleboard. The build worked fine on a Pandaboard with
>> > Ubuntu 10.10. It looks like something is different and not being
>> > detected via bootstrap/configure on ALIP.
>> >
>> > I believe configure has identified the architecture correctly. Also, I
>> > have searched and seen commits in the pulseaudio/ubuntu maillist
>> > archive for adding "-Wa, -mimplicit-it=thumb". I have added this to
>> > CFLAGS without success.
>> >
>> > Any thoughts on what else I could try?
>>
>> What CFLAGS are you using? This should only turn up if you're compiling
>> that assembly in Thumb-2 mode.
>>
>> I'm not sure if it would actually be desirable to compile in Thumb-2
>> mode for the OMAP3, but the correct fix for this would probably be to
>> add an "ite cs" before the addcs  in svolume_arm.c. Could you test this
>> out (or let me know if you'd like a patch that does this)?
>>
>> -- Arun
>>
>> _______________________________________________
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at mail.0pointer.de
>> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110217/d723f892/attachment.htm>


More information about the pulseaudio-discuss mailing list