[FFmpeg-devel] flac_compute_autocorr_sse2 not pic-safe
Tue Dec 4 19:50:38 CET 2007
On Tue, Dec 04, 2007 at 07:35:31PM +0100, Luca Barbato wrote:
> Michael Niedermayer wrote:
> > On Tue, Dec 04, 2007 at 03:27:18PM +0100, Edward Hervey wrote:
> >> Hi all,
> >> While compiling ffmpeg as static library to be put into a shared
> >> library (./configure --enable-static --disable-shared
> >> --extra-cflags=-fPIC), I encountered a piece of asm code which isn't
> >> PIC-safe.
> >> The proposed patch disables that optimized routine when the
> >> configuration doesn't allow it (HAVE_7REGS set to 1).
> > patch rejected, this code does not need 7 registers
> :"+&r"(i), "=m"(autoc[j]), "=m"(autoc[j+1]), "=m"(autoc[j+2])
> :"r"(data1+len), "r"(data1+len-j), "m"(*ff_pd_1)
> gcc being overzealous?
> what about marking this a BROKEN_RELOCATIONS ?
do you know more then the rest of us?
nothing in the mail suggests a relation to relocations
but then its not a proper bug report, we dont know the CFLAGS nor the exact
error message nor if this is x86_64 so maybe it is related to relocations
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Opposition brings concord. Out of discord comes the fairest harmony.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel