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

Fix building MAME on rpi3 with 32bit arm userland and aarch64 kernel #4027

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joolswills
Copy link
Member

mame - fix rpi3 build on 32bit arm userland with aarch64 kernel

Workaround g++-12 compiler bug/compilation issue on 32bit arm userland with aarch64 kernel on the rpi3 (cortex-a53)

Disabling -ftree-slp-vectorize works around the issue:

{standard input}: Assembler messages:
{standard input}:4045: Error: co-processor offset out of range
make[2]: *** [skeleton.make:2727: obj/Release/src/mame/skeleton/scopus.o] Error 1

Add arch_opts_cxx array to handle adding additional parameters to ARCHOPTS_CXX.

mame - disable distcc

Mame doesn't work with distcc - add the nodistcc flag.

Workaround g++-12 compiler bug/compilation issue on 32bit arm userland with aarch64 kernel on the rpi3 (cortex-a53)

Disabling -ftree-slp-vectorize works around the issue:

    {standard input}: Assembler messages:
    {standard input}:4045: Error: co-processor offset out of range
    make[2]: *** [skeleton.make:2727: obj/Release/src/mame/skeleton/scopus.o] Error 1

Add arch_opts_cxx array to handle adding additional parameters to ARCHOPTS_CXX.
Mame doesn't work with distcc - add the nodistcc flag.
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 this pull request may close these issues.

1 participant