gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

games-engines/scummvm-2.2.0 fails to build

Open obi1 opened this issue 4 years ago • 2 comments

fails with:

Checking endianness... unknown
 * ERROR: games-engines/scummvm-2.2.0::gentoo failed (configure phase):
 *   (no error message)

it compiles fine with -flto

obi1 avatar Mar 21 '21 22:03 obi1

Scummvm builds fine with LTO. It does however fail to configure due to the usual rubbish endianness test. Bypass it (or maybe try adding "-shared") and its fine.

alanswanson avatar Mar 23 '21 16:03 alanswanson

Ok, I found some time to try this out and you are right, it builds fine with LTO. As suggested I tried it out by adding -shared to the test with a small patch and it compilled fine. I'm including the patch in case it helps anyone lto_endianness_test_fix.patch

obi1 avatar Sep 11 '21 14:09 obi1