Skip to content

compilation terminated with errors in Arch linux #17

@Amaryaser9

Description

@Amaryaser9

When running this command:
python setup.py build_ext --inplace --cython

I started getting this error recently in Arch linux:

gcc: fatal error: cannot execute ‘lto1’: posix_spawnp: No such file or directory
compilation terminated.
lto-wrapper: fatal error: /usr/bin/gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1

Even when building waydroid from the AUR.
Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions