mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[GH-ISSUE #979] Failed to compile on aarch64 #298
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#298
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xoureldeen on GitHub (Sep 19, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/979
i used this lines to build
and i got this
[ 89%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/recompiler.cpp.o [ 89%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_barriers.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_convert.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp.o [ 90%] Building CXX object CMakeFiles/shadps4.dir/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp.o /root/shadPS4/src/core/signals.cpp:62:2: error: "Missing IS_WRITE_ERROR() implementation for target OS and CPU architecture." 62 | #error "Missing IS_WRITE_ERROR() implementation for target OS and CPU architecture." | ^ /root/shadPS4/src/core/signals.cpp:93:26: error: use of undeclared identifier 'CODE_ADDRESS' 93 | auto* code_address = CODE_ADDRESS(ctx); | ^ /root/shadPS4/src/core/signals.cpp:98:35: error: use of undeclared identifier 'IS_WRITE_ERROR' 98 | if (const bool is_write = IS_WRITE_ERROR(ctx); | ^ 3 errors generated. gmake[2]: *** [CMakeFiles/shadps4.dir/build.make:1476: CMakeFiles/shadps4.dir/src/core/signals.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs....@squidbus commented on GitHub (Sep 19, 2024):
@xoureldeen commented on GitHub (Sep 19, 2024):
Thanks for replying, i tried fex rootfs and when i run qt version it crashes my x11 display, and cli one always i get this
root@localhost:
# ./shadps4 /storage/emulated/0/Download/UP4433-CUSA00744_00-MINECRAFTPS40000-A0100-V0102.pkg#terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc
Aborted root@localhost:
i tried elf and EBOOT.BIN
from ps4/ps3 dumped games
nothing work
@squidbus commented on GitHub (Sep 19, 2024):
No idea if it works under FEX, but there's definitely no ARM64 native support yet.
@xoureldeen commented on GitHub (Sep 21, 2024):
sorry for annoying, what the cause of this error
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Saving new configuration file /root/squashfs-root/user/config.toml
[Loader] emulator.cpp:Emulator:52: Starting shadps4 emulator v0.2.0
[Loader] emulator.cpp:Emulator:53: Revision
da9b26fa1e[Loader] emulator.cpp:Emulator:54: Branch main
[Loader] emulator.cpp:Emulator:55: Description
da9b26f[Kernel.Vmm] address_space.cpp:Impl:313: mmap failed: Cannot allocate memory
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
@Hermiten commented on GitHub (Oct 1, 2024):
I'm closing this issue because this is not planned for now.
Concerning the last issue, you can search on the issues or open a new one.
Thanks you