Control: severity -1 serious Hello!
It turns out that m4/ax_gcc_archflag.m4 contains code to detect the baseline of the host system and sets the GCC architecture accordingly. Thus, a libffi compiled on a POWER8 machine will not work on a POWER5 machine as the compiler is emitting POWER8 instructions in this case. Since the m4 script contains such a host enviroment detection for aarch64 as well [1], this bug can potentially affect arm64 which is a release architecture. We should therefore pass "--enable-portable-binary" in debian/rules. Adrian > [1] https://github.com/libffi/libffi/blob/master/m4/ax_gcc_archflag.m4#L209 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913