On Jun 20, 2009, at 4:09 PM, Niklas Edmundsson wrote:
>> I am suspecting a gas bug on Solais. Anyway I put
>> an ungainly but working
>> workaround in mlp.h that defines a new constant
>> that is the actual computed
>> value of the constant expression with a comment. So
>> latest mplayer builds and
>> works fine on my box. The new spec/patches are
>> checked in.
>
> It indeed seems to be a gas bug on OpenSolaris 2009.06.
>
> I tried compiling the offending file on an Ubuntu box with the
> exact same gcc version and it compiled flawlessly (NFS mount,
> so same config.h et al in both cases).
>
> The Ubuntu box had:
> GNU assembler (GNU Binutils for Ubuntu) 2.18.93.20081009
>
> OS 2009.6 has:
> GNU assembler 2.15
>
> For completeness I'll attach the patch I made to make
> mplayer compile. It skips the -rdynamic stuff on SunOS
> and works around the parantheses-thingy by replacing the
> expression with its calculated value. Hopefull it'll help
> someone.


You'll be happy to know that the next build of OpenSolaris 2009.x will  
deliver:

SUNWbinutils at 2.19,5.11-0.116:20090616T183435Z

Cheers,
-- 
Shawn Walker

Reply via email to