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

Thiemo Seufer ths
Sun Sep 21 22:28:07 CEST 2008


M?ns Rullg?rd wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.comp.video.ffmpeg.devel as well.
> 
> Reinhard Tartler <siretart at tauware.de> writes:
> 
> > M?ns Rullg?rd <mans at mansr.com> writes:
> >
> >> Mentioning this in the original email would have spared us this
> >> discussion.  Do you have a reference for that?
> >
> > Please read my emails. Thiemo's has posted to this list, but his mail
> > is still waiting in the moderation queue.
> 
> There is nothing new in the moderation queue.  I asked for a reference
> to a spec document,

Unfortunately MIPS Technologies doesn't maintain an ABI document
beyond the old psABI from e.g.
ftp://ftp.linux-mips.org/pub/linux/mips/doc/ABI/mipsabi.pdf.

Practically this means that the GNU Toolchain is the ABI reference
implementation. The changes are mentioned in the GCC 4.3.0 release
notes at http://gcc.gnu.org/gcc-4.3/changes.html:

"GNU/Linux configurations now generate -mno-shared code unless
overridden by -fpic, -fPIC, -fpie or -fPIE."

> not a non-verifiable claim from someone I don't know.

As things stand, you will have to ask for that any of:

 - CodeSourcery, who maintains the Toolchain for MIPS. (That's
   probably Maciej W. Rozycki now.)
 - the GCC MIPS maintainers, that's Richard Sandiford and
   Eric Christoper.
 - the binutils MIPS maintainers, that's also Eric, and myself.
 - The guy who proposed the change originally, AFAIR that was
   Ian Lance Taylor (on the binutils list.)


Thiemo




More information about the ffmpeg-devel mailing list