[FFmpeg-trac] #7191(build system:new): Please enable parallel linking when --enable-lto is specified

FFmpeg trac at avcodec.org
Mon May 7 14:14:42 EEST 2018


#7191: Please enable parallel linking when --enable-lto is specified
-------------------------------------+-------------------------------------
             Reporter:  birdie       |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  build
              Version:  git-master   |  system
             Keywords:  lto          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 I tested the following and see a speed impact if I increase the number of
 threads for make:
 {{{
 $ rm -f libpostproc/libpostproc.so* libswscale/libswscale.so*
 libswresample/libswresample.so* && time make -j1
 libpostproc/libpostproc.so libswscale/libswscale.so
 libswresample/libswresample.so
 }}}
 As explained, some libraries depend on others.
 Did you ever test the speed impact of lto on the final FFmpeg binaries?
 If you really need faster build time, search for `LDFLAGS` in
 ffbuild/config.mak and change `-flto` to `-flto=4`. Not sure how easy this
 is to allow in configure.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7191#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list