Re: [FFmpeg-devel] Build ffmpeg with clang lto

2019-06-02 Thread Adrian Tong
Hi Carl This is the error message I get. It seems like libavdevice.a is llvm bitcode. Thanks -Adrian ./configure --cc=clang --enable-lto && make -j28 AR libavcodec/libavcodec.a LD ffmpeg_g LD ffprobe_g /usr/bin/ld: skipping incompatible libavdevice/libavdevice.a when searching for -lavdevice

Re: [FFmpeg-devel] Build ffmpeg with clang lto

2019-06-01 Thread Carl Eugen Hoyos
Am Sa., 1. Juni 2019 um 17:45 Uhr schrieb Adrian Tong : > Anyone has experience compiling ffmpeg with clang LTO before ? I tried > ./configure --cc=clang --cxx=clang++ --enable-lto and it did not work. cxx should never be needed. "did not work" is not a useful problem description... (clang is de