[FFmpeg-devel] [PATCH 5/5] x86: hevc_mc: put_pixels and 1d epel for x86_32

Michael Niedermayer michaelni at gmx.at
Sat Feb 7 23:11:14 CET 2015


On Sat, Feb 07, 2015 at 06:49:40PM +0000, Christophe Gisquet wrote:
> Now that the xmm register and gpr count has decreased, it is
> possible to port to x86_32. To save on code, x86_32 with or
> without PIC is handled as if PIC.
> ---
>  libavcodec/x86/hevc_mc.asm    | 39 +++++++++++++++++++++++--------
>  libavcodec/x86/hevcdsp.h      |  4 +++-
>  libavcodec/x86/hevcdsp_init.c | 53 +++++++++++++++++++++++++++----------------
>  3 files changed, 66 insertions(+), 30 deletions(-)

this breaks building shared libs:

/usr/bin/ld: libavcodec/x86/hevc_mc.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC
libavcodec/x86/hevc_mc.o: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libavcodec/libavcodec.so.56] Error 1
make: *** Waiting for unfinished jobs....


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150207/26e54c17/attachment.asc>


More information about the ffmpeg-devel mailing list