[FFmpeg-devel] [PATCH] mipsen require compilation with -DPIC since gcc-4.3
Sun Sep 21 17:54:48 CEST 2008
M?ns Rullg?rd <mans at mansr.com> writes:
>> Please consider it applying it.
> Why doesn't debian fix the compiler instead?
This is an upstream issue. It affects all Linux/MIPS systems.
Luca Barbato <lu_zero at gentoo.org> writes:
> M?ns Rullg?rd wrote:
>> Those are clearly compiler/linker bugs.
> Discuss with the ABI authors...
>> In general, we avoid bug workarounds that have a negative performance
>> impact, and PIC code certainly is slower than non-PIC on MIPS, at
>> least when using gcc.
> Given the number of registers mips has, I'm not so sure, Reinhard could
> you please provide a benchmark?
Not easily, since I don't own any mips machines. I however do have ssh
access to debian developer machines. Not sure if the numbers there would
be representative then.
Is there some howto/recommendation how to properly create a
representative benchmark here?
> If it does not impact performance (loadtime should be improved, runtime
> could be impaired) I think won't be a problem applying it.
Well, AFAIUI it is currently a choice between totally unusable and a
working shared libavcodec.
Reinhard Tartler, KeyID 945348A4
More information about the ffmpeg-devel