-
Notifications
You must be signed in to change notification settings - Fork 179
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
Cannot compile source code to generate file on arm64 architecture #680
Labels
duplicate
Issues that are duplicates of other issues
Comments
yiwen9488
changed the title
documentserver Source code compilation arm64
Cannot compile source code to generate file on arm64 architecture
May 23, 2023
os :ubuntu 18.04 |
Hello @yiwen9488, sorry for the late reply. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe your problem:
Steps to reproduce the problem:
cd /build_tools/tools/linux/
./automate.py server
Wait for some time before an error occurs
build modules: server
gn gen out.gn/linux_arm64 --args="v8_static_library=true is_component_build=false v8_monolithic=true v8_use_external_startup_data=false use_custom_libcxx=false treat_warnings_as_errors=false target_cpu="arm64" v8_target_cpu="arm64" use_sysroot=false v8_static_library=true is_component_build=false v8_use_snapshot=false clang_base_path="/usr/" treat_warnings_as_errors=false clang_use_chrome_plugins=false fatal_linker_warnings=false is_debug=false"
Traceback (most recent call last):
File "/opt/build_tools/scripts/../../core/Common/3dParty/v8_89/depot_tools/gn.py", line 74, in
sys.exit(main(sys.argv))
File "/opt/build_tools/scripts/../../core/Common/3dParty/v8_89/depot_tools/gn.py", line 69, in main
return subprocess.call([gn_path] + args[1:])
File "/usr/lib/python3.6/subprocess.py", line 287, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/opt/core/Common/3dParty/v8_89/v8/buildtools/linux64/gn'
Error (gn): 1
Error (./make.py): 1
build_tools base repo version:
Latest
Operating system:
ubuntu:18.04 aarch64
Compiler version:
Latest
The text was updated successfully, but these errors were encountered: