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

make aptos-node v1.4.1: compiled not passed #8190

Closed
zhy827827 opened this issue May 15, 2023 · 2 comments
Closed

make aptos-node v1.4.1: compiled not passed #8190

zhy827827 opened this issue May 15, 2023 · 2 comments
Labels
bug Something isn't working Stale

Comments

@zhy827827
Copy link

zhy827827 commented May 15, 2023

ENV: ubuntu version:20.04,rustv 1.66.1

cargo build -p aptos-node --release

ubuntu$ cargo build -p aptos-node --release
Compiling proc-macro2 v1.0.47
Compiling unicode-ident v1.0.3
Compiling quote v1.0.21
Compiling syn v1.0.105
Compiling version_check v0.9.4
error: linking with cc failed: exit status: 1
= note: "cc" "-m64" "/tmp/rustcRgxAmi/symbols.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.0.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.1.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.10.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.11.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.12.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.13.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.14.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.15.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.2.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.3.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.4.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.5.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.6.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.7.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.8.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.build_script_build.5a3cbb41-cgu.9.rcgu.o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb.15iodc0r6cyqvahm.rcgu.o" "-Wl,--as-needed" "-L" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/deps" "-L" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ef39a505cf65c934.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-15e5018ac4168592.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a48880ab9d595b7a.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-bc9d2daab0d39757.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-475fcb0e52485504.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1a6b757a5eafba0e.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58dc586d7935f82.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-340edd7bc5378fb5.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1140b6fd2dbbcaf2.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-0ec50699f9facc73.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-950575da53d6728c.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-94822031c9eedde2.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8945cf70d2b634e2.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3e02e71b2a2c7089.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-566a529bcdd2d0ae.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-aa7211f9d7756f6d.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-f09563bc45c7958a.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a399e1d72279b781.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0eb6c413e463c03b.rlib" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-91d9d5141f4e57a1.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/ubuntu/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/data/soft/aptos-core-aptos-node-v1.4.1/target/release/build/quote-d17687ab021b57fb/build_script_build-d17687ab021b57fb" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" "-fuse-ld=lld" compilation terminated.

@zhy827827 zhy827827 added the bug Something isn't working label May 15, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 45 days with no activity. Remove the stale label or comment - otherwise this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Jun 30, 2023
@JoshLind
Copy link
Contributor

JoshLind commented Jul 14, 2023

Thanks for reporting. This looks like an out of memory error when compiling (typically, the linker fails). Please increase your memory resources if you're compiling from source and try again. Closing for now. Feel free to reopen if it doesn't help 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants