Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

games-engines/scummvm-2.2.0 fails to build #718

Open
obi1 opened this issue Mar 21, 2021 · 2 comments · May be fixed by #719
Open

games-engines/scummvm-2.2.0 fails to build #718

obi1 opened this issue Mar 21, 2021 · 2 comments · May be fixed by #719

Comments

@obi1
Copy link
Contributor

obi1 commented Mar 21, 2021

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 obi1 linked a pull request Mar 21, 2021 that will close this issue
@alanswanson
Copy link

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.

@obi1
Copy link
Contributor Author

obi1 commented Sep 11, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants