Opened 2 months ago

Last modified 2 months ago

#11161 new defect

"-march=generic" is wrongly used in the configure script

Reported by: RedDwarf Owned by:
Priority: normal Component: build system
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (1)

comment:1 by MasterQuestionable, 2 months ago

Component: undeterminedbuild system
Note: See TracTickets for help on using tickets.