Am 11.09.2015 um 14:31 schrieb Carl Eugen Hoyos:
Reindl Harald <h.reindl <at> thelounge.net> writes:

they often make hidden bugs visible like when -flto
fails which is the case for ffmpeg

(Of course, because to activate link time optimization
you should not use --extra-cflags, qed)

and --extra-ldflags since it's a linker thing

Could you point me to your report?
I believe link time optimizations are tested daily
by fate

configuration: --prefix=/usr/local --bindir=/usr/local/bin --mandir=/usr/local/man --arch=x86_64 --extra-cflags='-I/usr/local/x264 -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 -ffast-math -funsafe-math-optimizations -fomit-frame-pointer -funroll-loops -funswitch-loops -minline-all-stringops' --extra-ldflags='-I/usr/local/x264 -L/usr/local/x264 -ldl -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 -ffast-math -funsafe-math-optimizations -fomit-frame-pointer -funroll-loops -funswitch-loops -minline-all-stringops' --enable-nonfree --enable-gpl --enable-version3 --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libvpx --enable-openssl --enable-static --enable-runtime-cpudetect --enable-bzlib --enable-zlib --disable-amd3dnow --disable-avdevice --disable-debug --disable-devices --disable-ffplay --disable-ffprobe --disable-ffserver --disable-htmlpages --disable-hwaccels --disable-iconv --disable-libdc1394 --disable-libfaac --disable-libfreetype --disable-libgsm --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg --disable-libopus --disable-librtmp --disable-libschroedinger --disable-libspeex --disable-libvorbis --disable-libxvid --disable-podpages --disable-postproc --disable-protocols --enable-protocol=cache --enable-protocol=concat --enable-protocol=crypto --enable-protocol=data --enable-protocol=file --enable-protocol=http --enable-protocol=https --enable-protocol=md5 --enable-protocol=mmsh --enable-protocol=mmst --enable-protocol=pipe --enable-protocol=rtp --enable-protocol=srtp --enable-protocol=rtmp --enable-protocol=rtmps --enable-protocol=tcp --enable-protocol=udp --enable-protocol=unix --enable-protocol=tls --disable-shared --disable-txtpages

YASM    libswresample/x86/resample.o
STRIP   libavcodec/x86/vp8dsp_loopfilter.o
STRIP   libavcodec/x86/hevc_sao.o
/home/builduser/rpmbuild/BUILD/ffmpeg-2.6.4/libswresample/x86/resample.asm:48: warning: section flags ignored on section redeclaration
STRIP   libswresample/x86/resample.o
YASM    libswresample/x86/audio_convert.o
STRIP   libavcodec/x86/vp9intrapred.o
STRIP   libswresample/x86/audio_convert.o
YASM    libavcodec/x86/vp9lpf.o
/usr/bin/ld: /tmp/cc5SiItz.ltrans1.ltrans.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/tmp/cc5SiItz.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....
YASM    libavcodec/x86/hevc_mc.o
STRIP   libavcodec/x86/vp9lpf.o
YASM    libavcodec/x86/vp9itxfm.o
STRIP   libavcodec/x86/hevc_mc.o
STRIP   libavcodec/x86/vp9itxfm.o
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.BKJj7i (%build)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to