Skip to content

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

Open

Description

@obi1

fails with:

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

it compiles fine with -flto

Activity

  1. alanswanson commented on Mar 23, 2021

    @alanswanson

    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.

  2. obi1 commented on Sep 11, 2021

    @obi1
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions