Am 13.09.2015 um 22:37 schrieb Reindl Harald:

Am 13.09.2015 um 22:14 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 with sane configure
lines very welcome!

Sorry for the bad wording, Carl Eugen

it's in fact "-fPIC -fno-PIE" and *nothing* of the optimizations, given
that this build is using "--disable-programs" and the error messages
talk about "try again with -fPIC" there is something going wrong

and it don't work for static builds

AR      libavcodec/libavcodec.a
LD      ffmpeg_g
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h: Assembler messages: /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:72: Error: junk `(%rip)+512' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:82: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:84: Error: junk `(%rip)+1024+128' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:98: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:111: Error: junk `(%rip)+512' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:121: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:123: Error: junk `(%rip)+1024+128' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:137: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:195: Error: junk `(%rip)+512' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:205: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:207: Error: junk `(%rip)+1024+128' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:221: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:195: Error: junk `(%rip)+512' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:205: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:207: Error: junk `(%rip)+1024+128' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/cabac.h:221: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:152: Error: junk `(%rip)+512' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:162: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:164: Error: junk `(%rip)+1024+128' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:178: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:188: Error: junk `(%rip)+1280' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:193: Error: junk `(%rip)+512' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:203: Error: junk `(%rip)+0' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:205: Error: junk `(%rip)+1024+128' after expression /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/x86/h264_i386.h:219: Error: junk `(%rip)+0' after expression
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/Makefile:126: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1
rm doc/ffmpeg-bitstream-filters.pod doc/libswresample.pod doc/ffmpeg-scaler.pod doc/ffmpeg-utils.pod doc/ffmpeg-protocols.pod doc/ffmpeg-filters.pod doc/ffmpeg-resampler.pod doc/libswscale.pod doc/libavcodec.pod doc/ffmpeg-all.pod doc/ffmpeg.pod doc/libavformat.pod doc/ffmpeg-codecs.pod doc/libavfilter.pod doc/ffmpeg-formats.pod doc/libavutil.pod
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.uqJxQS (%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