#11491: n7.1.1 fails to build with some options (but not on master), backport needed ---------------------------------+----------------------------------- Reporter: rinsuki | Owner: (none) Type: defect | Status: new Priority: normal | Component: avcodec Version: 7.1 | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ---------------------------------+----------------------------------- Description changed by rinsuki:
Old description: > Summary of the bug: > > If you tried to enable only some H.264-related things, it will fail to > link by this error: > > {{{ > LD ffprobe_g > /usr/bin/ld: libavcodec/libavcodec.a(h2645_sei.o): in function > `ff_h2645_sei_reset': > /ffmpeg/libavcodec/h2645_sei.c:935: undefined reference to > `ff_aom_uninit_film_grain_params' > collect2: error: ld returned 1 exit status > }}} > > and it will be fixed by cherry-pick > https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/7aeae8d1ae846302ba1e9955cf64fe83f02b7a57 > to n7.1.1 tag (probably forgot to cherry-pick to 7.1 branch?). > > How to reproduce: > > on Debian 12, > > {{{ > $ ./configure \ > --disable-everything --disable-runtime-cpudetect --disable- > network --disable-pthreads --disable-v4l2-m2m --disable-avdevice > --disable-doc \ > --enable-decoder=h264 --enable-parser=h264 \ > --enable-bsf=h264_metadata --enable-bsf=h264_mp4toannexb > --enable-bsf=h264_redundant_pps > $ make > }}} > > (some options are might be not needed to reproduce it, but error can be > reproducible with this config) New description: Summary of the bug: If you tried to build FFmpeg with only enable some H.264-related things, it will fail to link by this error: {{{ LD ffprobe_g /usr/bin/ld: libavcodec/libavcodec.a(h2645_sei.o): in function `ff_h2645_sei_reset': /ffmpeg/libavcodec/h2645_sei.c:935: undefined reference to `ff_aom_uninit_film_grain_params' collect2: error: ld returned 1 exit status }}} and it will be fixed by cherry-pick https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/7aeae8d1ae846302ba1e9955cf64fe83f02b7a57 to n7.1.1 tag (probably forgot to cherry-pick to 7.1 branch?). How to reproduce: on Debian 12, {{{ $ ./configure \ --disable-everything --disable-runtime-cpudetect --disable-network --disable-pthreads --disable-v4l2-m2m --disable-avdevice --disable-doc \ --enable-decoder=h264 --enable-parser=h264 \ --enable-bsf=h264_metadata --enable-bsf=h264_mp4toannexb --enable- bsf=h264_redundant_pps $ make }}} (some options are might be not needed to reproduce it, but error can be reproducible with this config) -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/11491#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".