[FFmpeg-user] GCC 5.1: build errors

Reindl Harald h.reindl at thelounge.net
Sun Sep 13 22:00:22 CEST 2015



Am 13.09.2015 um 16:29 schrieb Carl Eugen Hoyos:
> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
>
>> The following is also supposed to work, I
>> don't remember if I ever tested it:
>> $ configure --enable-lto --enable-shared --ar=gcc-ar --ranlib=true
>
> Works fine here, bug reports (very) welcome

YASM    libavcodec/x86/vp9lpf.o
/usr/bin/ld: /tmp/ccaqG22l.ltrans1.ltrans.o: relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile 
with -fPIC
/tmp/ccaqG22l.ltrans1.ltrans.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
/home/builduser/rpmbuild/BUILD/ffmpeg-2.6.4/library.mak:110: recipe for 
target 'libavutil/libavutil.so.54' failed
make: *** [libavutil/libavutil.so.54] Error 1
make: *** Waiting for unfinished jobs....
STRIP   libavcodec/x86/vp9lpf.o
YASM    libavcodec/x86/hevc_mc.o

+ ../configure --prefix=/usr --bindir=/usr/bin 
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg 
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 
'--extra-cflags=-m64 -O2 -march=sandybridge -mtune=sandybridge -fopenmp 
-mfpmath=sse -pipe -fno-strict-aliasing -fomit-frame-pointer 
-finline-functions -finline-limit=60 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 
-Wstack-protector -Wformat -Werror=format-security -Ofast -fPIC 
-fno-PIE' '--extra-ldflags=-Wl,-z,now -Wl,-z,relro,-z,noexecstack -m64 
-O2 -march=sandybridge -mtune=sandybridge -fopenmp -mfpmath=sse -pipe 
-fno-strict-aliasing -fomit-frame-pointer -finline-functions 
-finline-limit=60 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat 
-Werror=format-security -Ofast -fPIC -fno-PIE' --enable-lto 
--enable-shared --ar=gcc-ar --ranlib=true --extra-version=thelounge.net 
--enable-nonfree --enable-gpl --enable-version3 --enable-libgsm 
--enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libvpx 
--enable-libfreetype --enable-libopus --enable-openssl --enable-shared 
--enable-runtime-cpudetect --disable-libvorbis --disable-libxvid 
--disable-libfaac --disable-libopencore-amrnb 
--disable-libopencore-amrwb --disable-libopenjpeg --disable-librtmp 
--disable-libschroedinger --disable-libopencv --disable-programs 
--disable-static --disable-libspeex --disable-vdpau --disable-amd3dnow 
--disable-amd3dnowext --disable-protocol=gopher --disable-debug 
--disable-doc --shlibdir=/usr/lib64

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150913/2f8c6fc3/attachment.sig>


More information about the ffmpeg-user mailing list