wheremyfoodat/Panda3DS

Error: selected processor does not support

thenameisluk opened this issue · 5 comments

trying to build it on debian aarch64 tablet with DENABLE_VULKAN=OFF (without it cmake throws missing vulkan headers error)
gives this output :

linux@tabluk:~/Panda3DS/build$ make -j8
[  2%] Built target resources_console_fonts
[ 12%] Built target sdl_headers_copy
[ 12%] Built target glad
[ 13%] Built target discord-rpc
[ 13%] Built target minilua
[ 14%] Built target resources_renderer_gl
[ 19%] Built target uv_a
[ 20%] Built target SDL2main
[ 20%] Built target buildvm_arch_h
[ 20%] Built target fmt
[ 21%] Built target teakra
[ 25%] Built target uv
[ 25%] Built target send-presence
[ 25%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/crc_simd.cpp.o
[ 25%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/gf2n_simd.cpp.o
[ 25%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/gcm_simd.cpp.o
[ 26%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/modes.cpp.o
[ 26%] Built target mcl
[ 26%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/misc.cpp.o
[ 26%] Built target buildvm
[ 26%] Built target lj_gen_headers
[ 56%] Built target SDL2-static
[ 71%] Built target dynarmic
[ 71%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/mqueue.cpp.o
[ 71%] Built target lj_gen_folddef
[ 71%] Built target lj_gen_vm_s
[ 71%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/nbtheory.cpp.o
[ 80%] Built target libluajit
[ 80%] Building CXX object third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/neon_simd.cpp.o
/tmp/ccSdSXBi.s: Assembler messages:
/tmp/ccSdSXBi.s:91: Error: selected processor does not support `crc32w w0,w0,w2'
/tmp/ccSdSXBi.s:95: Error: selected processor does not support `crc32b w0,w0,w1'
/tmp/ccSdSXBi.s:99: Error: selected processor does not support `crc32cw w0,w0,w2'
/tmp/ccSdSXBi.s:103: Error: selected processor does not support `crc32cb w0,w0,w1'
/tmp/ccSdSXBi.s:130: Error: selected processor does not support `crc32b w3,w3,w4'
/tmp/ccSdSXBi.s:157: Error: selected processor does not support `crc32w w3,w3,w5'
/tmp/ccSdSXBi.s:158: Error: selected processor does not support `crc32w w3,w3,w6'
/tmp/ccSdSXBi.s:159: Error: selected processor does not support `crc32w w3,w3,w7'
/tmp/ccSdSXBi.s:160: Error: selected processor does not support `crc32w w3,w3,w8'
/tmp/ccSdSXBi.s:176: Error: selected processor does not support `crc32w w0,w0,w5'
/tmp/ccSdSXBi.s:187: Error: selected processor does not support `crc32w w0,w0,w6'
/tmp/ccSdSXBi.s:197: Error: selected processor does not support `crc32w w0,w0,w5'
/tmp/ccSdSXBi.s:213: Error: selected processor does not support `crc32b w0,w0,w3'
/tmp/ccSdSXBi.s:223: Error: selected processor does not support `crc32b w0,w0,w3'
/tmp/ccSdSXBi.s:233: Error: selected processor does not support `crc32b w0,w0,w1'
/tmp/ccSdSXBi.s:258: Error: selected processor does not support `crc32cb w3,w3,w4'
/tmp/ccSdSXBi.s:285: Error: selected processor does not support `crc32cw w3,w3,w5'
/tmp/ccSdSXBi.s:286: Error: selected processor does not support `crc32cw w3,w3,w6'
/tmp/ccSdSXBi.s:287: Error: selected processor does not support `crc32cw w3,w3,w7'
/tmp/ccSdSXBi.s:288: Error: selected processor does not support `crc32cw w3,w3,w8'
/tmp/ccSdSXBi.s:304: Error: selected processor does not support `crc32cw w0,w0,w5'
/tmp/ccSdSXBi.s:315: Error: selected processor does not support `crc32cw w0,w0,w6'
/tmp/ccSdSXBi.s:325: Error: selected processor does not support `crc32cw w0,w0,w5'
/tmp/ccSdSXBi.s:341: Error: selected processor does not support `crc32cb w0,w0,w3'
/tmp/ccSdSXBi.s:351: Error: selected processor does not support `crc32cb w0,w0,w3'
/tmp/ccSdSXBi.s:361: Error: selected processor does not support `crc32cb w0,w0,w1'
make[2]: *** [third_party/cryptopp/CMakeFiles/cryptopp.dir/build.make:216: third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/crc_simd.cpp.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
/tmp/ccZfUY5k.s: Assembler messages:
/tmp/ccZfUY5k.s:96: Error: selected processor does not support `pmull v0.1q,v0.1d,v1.1d'
/tmp/ccZfUY5k.s:109: Error: selected processor does not support `pmull2 v1.1q,v1.2d,v2.2d'
/tmp/ccZfUY5k.s:171: Error: selected processor does not support `pmull v5.1q,v0.1d,v5.1d'
/tmp/ccZfUY5k.s:193: Error: selected processor does not support `pmull v3.1q,v3.1d,v6.1d'
/tmp/ccZfUY5k.s:220: Error: selected processor does not support `pmull v0.1q,v2.1d,v3.1d'
/tmp/ccZfUY5k.s:227: Error: selected processor does not support `pmull v1.1q,v2.1d,v1.1d'
/tmp/ccZfUY5k.s:234: Error: selected processor does not support `pmull v4.1q,v4.1d,v3.1d'
/tmp/ccZfUY5k.s:241: Error: selected processor does not support `pmull2 v2.1q,v2.2d,v3.2d'
/tmp/ccZfUY5k.s:412: Error: selected processor does not support `pmull v17.1q,v3.1d,v4.1d'
/tmp/ccZfUY5k.s:425: Error: selected processor does not support `pmull v16.1q,v1.1d,v16.1d'
/tmp/ccZfUY5k.s:433: Error: selected processor does not support `pmull v3.1q,v3.1d,v19.1d'
/tmp/ccZfUY5k.s:447: Error: selected processor does not support `pmull v7.1q,v7.1d,v4.1d'
/tmp/ccZfUY5k.s:461: Error: selected processor does not support `pmull v7.1q,v7.1d,v5.1d'
/tmp/ccZfUY5k.s:469: Error: selected processor does not support `pmull v1.1q,v1.1d,v17.1d'
/tmp/ccZfUY5k.s:482: Error: selected processor does not support `pmull v4.1q,v1.1d,v4.1d'
/tmp/ccZfUY5k.s:486: Error: selected processor does not support `pmull2 v5.1q,v1.2d,v5.2d'
/tmp/ccZfUY5k.s:497: Error: selected processor does not support `pmull v1.1q,v1.1d,v19.1d'
/tmp/ccZfUY5k.s:548: Error: selected processor does not support `pmull v4.1q,v3.1d,v4.1d'
/tmp/ccZfUY5k.s:556: Error: selected processor does not support `pmull v5.1q,v1.1d,v5.1d'
/tmp/ccZfUY5k.s:565: Error: selected processor does not support `pmull v1.1q,v1.1d,v17.1d'
make[2]: *** [third_party/cryptopp/CMakeFiles/cryptopp.dir/build.make:328: third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/gcm_simd.cpp.o] Błąd 1
/tmp/ccXl9aDF.s: Assembler messages:
/tmp/ccXl9aDF.s:16: Error: selected processor does not support `pmull v24.1q,v7.1d,v5.1d'
/tmp/ccXl9aDF.s:24: Error: selected processor does not support `pmull2 v22.1q,v7.2d,v5.2d'
/tmp/ccXl9aDF.s:32: Error: selected processor does not support `pmull v25.1q,v17.1d,v21.1d'
/tmp/ccXl9aDF.s:36: Error: selected processor does not support `pmull2 v23.1q,v17.2d,v21.2d'
/tmp/ccXl9aDF.s:49: Error: selected processor does not support `pmull v20.1q,v19.1d,v18.1d'
/tmp/ccXl9aDF.s:60: Error: selected processor does not support `pmull v3.1q,v3.1d,v21.1d'
/tmp/ccXl9aDF.s:64: Error: selected processor does not support `pmull v1.1q,v1.1d,v5.1d'
/tmp/ccXl9aDF.s:68: Error: selected processor does not support `pmull2 v21.1q,v19.2d,v18.2d'
/tmp/ccXl9aDF.s:84: Error: selected processor does not support `pmull v0.1q,v0.1d,v17.1d'
/tmp/ccXl9aDF.s:184: Error: selected processor does not support `pmull2 v1.1q,v16.2d,v16.2d'
/tmp/ccXl9aDF.s:188: Error: selected processor does not support `pmull v4.1q,v3.1d,v3.1d'
/tmp/ccXl9aDF.s:196: Error: selected processor does not support `pmull2 v3.1q,v3.2d,v3.2d'
/tmp/ccXl9aDF.s:217: Error: selected processor does not support `pmull v17.1q,v16.1d,v16.1d'
make[2]: *** [third_party/cryptopp/CMakeFiles/cryptopp.dir/build.make:342: third_party/cryptopp/CMakeFiles/cryptopp.dir/cryptopp/gf2n_simd.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Makefile2:827: third_party/cryptopp/CMakeFiles/cryptopp.dir/all] Błąd 2

can i do anything about it or it is just not supported?

Try putting this line outside the if:

set(CRYPTOPP_OPT_DISABLE_ASM ON CACHE BOOL "" FORCE)

(Also on arm64 native builds you'll have to manually enable the shader JIT option in the settings file once the app builds to run faster, it's disabled by default as it's still being worked on)

well it did compile but when i try to run it
i get
[FATAL] OpenGL context creation failed: Could not create GL context: GLXBadFBConfig
propably because my gpu driver (https://docs.mesa3d.org/drivers/panfrost.html) only supports opengl 3.1
is #336 planned for the future or possible?

Not really

well thank you for your time
saddly for now i won't be using this emulator on it
if my gpu driver gets updated will try