[Ffmpeg-devel] Compilation issues on Solaris 10 AMD64 using SUN linker/cc

Guillaume POIRIER poirierg
Sun Jul 24 17:03:45 CEST 2005


Hi,

On 7/24/05, Moinak Ghosh <moinakg2002 at yahoo.com> wrote:
> Hi,
> 
>    While compiling FFMpeg using SUN Studio 10 on
> Solaris 10 running on an AMD64 box, I faced a linker
> issue. The SUN linker cribbed while linking the file
> libavcodec/liba52/resample_mmx.c.
> 
> The error message was something like: relocations
> remain against relocatable non-writable text secions.
> This happened even though the PIC flag was set and the
> 
> problem exists in the CVS version as well.
> 
> Finally I had to change the assembly code in
> resample_mmx.c to use %ebp relative addressing to
> access the vaiables magicF2W and wm* .  I moved the
> variable declarations onto the function stacks.
> 
> Context diffs are attached in this email.

Could you please send unified diff instead, (diff -u) ?

Guillaume
-- 
I feel sorry for people who don't drink.
When they wake up in the morning, that's
as good as they're going to feel all day.
 -- Frank Sinatra





More information about the ffmpeg-devel mailing list