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

Cannot compile source code to generate file on arm64 architecture #680

Closed
yiwen9488 opened this issue May 23, 2023 · 2 comments
Closed

Cannot compile source code to generate file on arm64 architecture #680

yiwen9488 opened this issue May 23, 2023 · 2 comments
Labels
duplicate Issues that are duplicates of other issues

Comments

@yiwen9488
Copy link

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

@yiwen9488 yiwen9488 changed the title documentserver Source code compilation arm64 Cannot compile source code to generate file on arm64 architecture May 23, 2023
@yiwen9488
Copy link
Author

os :ubuntu 18.04
platform: aarch64 arm64
Steps to reproduce the problem:
apt-get update
apt-get install -y python git
git clone https://github.com/ONLYOFFICE/build_tools.git
cd build_tools/tools/linux/
./automate.py server

@igwyd
Copy link
Member

igwyd commented Nov 7, 2023

Hello @yiwen9488, sorry for the late reply.
Duplicate of #470

@Rita-Bubnova Rita-Bubnova added the duplicate Issues that are duplicates of other issues label Nov 7, 2023
@Rita-Bubnova Rita-Bubnova closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues that are duplicates of other issues
Projects
None yet
Development

No branches or pull requests

3 participants