[x264-devel] Error «endian test failed» for configure step to use lto

BugMaster BugMaster at narod.ru
Tue Jul 21 21:33:57 CEST 2015


On Tue, 21 Jul 2015 22:11:34 +0300, Hi-Angel wrote:
> Wow, the «./configure --extra-cflags="-flto -ffat-lto-objects"» indeed
> worked! It is very interesting why is this.

It is because your toolchain generates "slim" objects files by default
with LTO. And "slim" objects doesn't really contain any real compiled
data in them (they only have some metadata and links to original
source file), it will be generated only during linking stage. So our
check can't realy test endianess by this metadata because constanst
which we tried to compile and search are not there.

P.S. Top posting is bad. Don't use it in this mailing list (or better
don't use it at all).



More information about the x264-devel mailing list