[FFmpeg-devel] [PATCH] mipsen require compilation with -DPIC since gcc-4.3

Måns Rullgård mans
Sun Sep 21 16:44:38 CEST 2008


Reinhard Tartler <siretart at tauware.de> writes:

> As Thiemo Seufer <ths at mips.com> points out, since gcc-4.3 requires
> shared libraries to be compiled with pic. A small bug in ld prevented
> linking to fail. The proposed patch below is expected to fix the
> following bugs in debian:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498216
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498647
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498397

Those are clearly compiler/linker bugs.  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.

> Please consider it applying it.

Why doesn't debian fix the compiler instead?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list