[FFmpeg-devel] [PATCH v2] configure: fix the bigendian test

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Nov 14 20:43:56 EET 2020


Am Sa., 14. Nov. 2020 um 18:22 Uhr schrieb David Michael <fedora.dm0 at gmail.com>:
>
> There are two issues:
>
> When build systems enable LTO in CFLAGS, the unused global integer
> does not make it into the compiled object file.  As a workaround,
> check if the compiler understands -fno-lto and append it after
> CFLAGS while building the endianness test.
>
> The hexdump output is line-wrapped, so the expected value will not
> be matched when its four bytes are split across two lines.  Use the
> POSIX "-A n" option to disable printing input offsets and delete
> all newline characters to output continuous hex values to grep.

Please explain how we can reproduce the issue (configure line,
compiler, os).

Carl Eugen


More information about the ffmpeg-devel mailing list