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

Build fail on aarch64 #5741

Open
tanertas opened this issue Oct 15, 2019 · 5 comments
Open

Build fail on aarch64 #5741

tanertas opened this issue Oct 15, 2019 · 5 comments

Comments

@tanertas
Copy link

tanertas commented Oct 15, 2019

Build doesn't fail on x86, x86_64 but aarch64 using clang.

Alpine Linux Edge
musl-libc 1.1.23
clang-9.0.0
boost-1.71

OVERRIDE_CC=clang
OVERRIDE_CXX=clang++
TARGETOS=linux
NOWERROR=1
DEBUG=0
USE_QTDEBUG=0
VERBOSE=1
REGENIE=1
OSD=sdl
SYMBOLS=0
FORCE_DRC_C_BACKEND=
PTR64=1
NOASM=1
TOOLS=
SDL_INI_PATH=/etc/mame
USE_SYSTEM_LIB_EXPAT=1
USE_SYSTEM_LIB_ZLIB=1
USE_SYSTEM_LIB_JPEG=1
USE_SYSTEM_LIB_FLAC=1
USE_SYSTEM_LIB_LUA=1
USE_SYSTEM_LIB_SQLITE3=1
USE_SYSTEM_LIB_PORTAUDIO=1
USE_SYSTEM_LIB_UV=1
USE_SYSTEM_LIB_GLM=1
USE_SYSTEM_LIB_RAPIDJSON=1
USE_SYSTEM_LIB_PORTMIDI=1
USE_SYSTEM_LIB_ASIO=0

Compiling src/mame/drivers/suna16.cpp...
clang++ -I/usr/include/lua5.3 -DBX_CRT_MUSL -Wno-everything -I/usr/include/lua5.3 -DBX_CRT_MUSL -Wno-everything -Os -fomit-frame-pointer -MMD -MP -MP -DNDEBUG -DCRLF=2 -DLSB_FIRST -DXMD_H -DFLAC__NO_D
LL -DPUGIXML_HEADER_ONLY -DMAME_NOASM -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DPTR64=1 -I"../../../../../src/osd" -I"../../../../../src/emu" -I"../../../../../src/devices" -I"../../../../.
./src/mame" -I"../../../../../src/lib" -I"../../../../../src/lib/util" -I"../../../../../src/lib/netlist" -I"../../../../../3rdparty" -I"../../../../generated/mame/layout" -I"../../../../../scripts" -
pipe -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-error=deprecated-declarations -Wno-unused-result
-Wno-array-bounds -Wno-format-overflow -Wno-stringop-truncation -Wno-stringop-overflow -Wno-cast-align -x c++ -std=c++14 -Woverloaded-virtual -Wno-class-memaccess -Wsuggest-override -include obj/Relea
se/emu.h -o "obj/Release/src/mame/drivers/suna16.o" -c "../../../../../src/mame/drivers/suna16.cpp"

In file included from ../../../../../src/mame/audio/taito_zm.cpp:32:
In file included from ../../../../../src/mame/audio/taito_zm.h:14:
../../../../../src/devices/cpu/tms57002/tms57002.h:209:10: fatal error: '../../emu/cpu/tms57002/tms57002.hxx' file not found
#include "../../emu/cpu/tms57002/tms57002.hxx"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [taito.make:1359: obj/Release/src/mame/audio/taito_zm.o] Error 1
make[1]: *** [Makefile:325: taito] Error 2
make[1]: *** Waiting for unfinished jobs....
Compiling src/mame/drivers/suna8.cpp...
@galibert
Copy link
Member

galibert commented Oct 15, 2019 via email

@cuavas
Copy link
Member

cuavas commented Oct 15, 2019

Are you sure you can't add an explicit dependency?

@cuavas
Copy link
Member

cuavas commented Oct 15, 2019

Oh I see, it's a knock-on dependency, and because GENie can't do header scanning itself, it can't deal with it.

@galibert
Copy link
Member

galibert commented Oct 15, 2019 via email

tanertas added a commit to tanertas/aports that referenced this issue Oct 25, 2019
* Use bundled asio due to incompability with system asio (mamedev/mame#5721)
* Temporary disable on aarch64 due to buld system problem (mamedev/mame#5741)
* Remove obselete patches
algitbot pushed a commit to alpinelinux/aports that referenced this issue Dec 26, 2019
* Use bundled asio due to incompability with system asio (mamedev/mame#5721)
* Temporary disable on aarch64 due to buld system problem (mamedev/mame#5741)
* Remove obselete patches
@ChrisNonyminus
Copy link

ChrisNonyminus commented Mar 18, 2022

I'm having this issue with Visual Studio. The hxx file won't be generated and setting the amount of build threads to 1 does not fix this.
EDIT: force building the "optional" project alone fixes this.

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

No branches or pull requests

4 participants