[FFmpeg-trac] #11161(undetermined:new): "-march=generic" is wrongly used in the configure script
FFmpeg
trac at avcodec.org
Wed Aug 28 14:11:07 EEST 2024
#11161: "-march=generic" is wrongly used in the configure script
-------------------------------------+-------------------------------------
Reporter: RedDwarf | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Neither gcc or clang support "-march=generic". But since
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/abc346de735cae1b9316b7b853aa2d2661ab40fb
it can be used by the configure script.
Since the LTO linker flag is checked together with $cpuflags
(https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/e758b24396a427598ebb13e1589f6aeccdae0466:/configure#l7511),
this results in the LTO linker flag not being used when linking the shared
libraries which, in some cases, results in a build error.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11161>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list