mamedev / mame

MAME
https://www.mamedev.org/
Other
8.04k stars 2k forks source link

Archiving libfrontend.a does not work for x64 on s390x #8304

Open PeacePeters opened 3 years ago

PeacePeters commented 3 years ago
rm -f "../../../../linux_gcc/bin/x64/Release/libfrontend.a"
ar  -cTs ../../../../linux_gcc/bin/x64/Release/libfrontend.a
make:` *** [makefile:1387: linux_x64] Error 2

The compilation has been failed on s390x with openSUSE. Archiving of libfrontend.a does not work for x64 on s390x. You can access the build log reflecting the error.

MooglyGuy commented 3 years ago

Whatever it is you're quoting there isn't the actual error in the build log. The actual error is this:

[ 2159s] [ 2152.630083] Out of memory: Killed process 11056 (cc1plus) total-vm:5435408kB, anon-rss:3382208kB, file-rss:0kB, shmem-rss:0kB, UID:399 pgtables:10632kB oom_score_adj:0

The VM for your build machine is running out of memory when compiling certain template-heavy source files. I suggest you increase the amount of memory allocated to the VM.

skriesch commented 3 years ago

I have defined more memory in the _constraints file and it is coming further. But I have got a new bug with http.cpp now. I create a new issue for that: https://build.opensuse.org/build/home:AdaLovelace:branches:openSUSE:Factory:zSystems/openSUSE_Factory_zSystems/s390x/mame:mame/_log