Build assembler errors on ARM OMAP3

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

 



I submitted a ticket and patch that fixes these build errors - tested on a
Beagleboard (OMAP3) with Linaro ARM Linux image. I did not test on other
platforms due to this being specific to ARM.

Thanks again for your help Arun!

http://pulseaudio.org/ticket/914

Kurt Taylor (irc krtaylor)

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

> 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/20110218/6a3f41b1/attachment.htm>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux