make: Entering directory '/build/mold/src/mold-1.0.0' mkdir -p out/elf mkdir -p out/macho clang -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -shared -o mold-wrapper.so -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto elf/mold-wrapper.c -ldl touch out/elf/.keep touch out/macho/.keep clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/compress.o compress.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/demangle.o demangle.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/filepath.o filepath.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/hyperloglog.o hyperloglog.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/main.o main.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/perf.o perf.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/tar.o tar.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/arch-arm64.o elf/arch-arm64.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/arch-i386.o elf/arch-i386.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/arch-x86-64.o elf/arch-x86-64.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/cmdline.o elf/cmdline.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/gc-sections.o elf/gc-sections.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/icf.o elf/icf.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/input-sections.o elf/input-sections.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/linker-script.o elf/linker-script.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/main.o elf/main.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/mapfile.o elf/mapfile.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/object-file.o elf/object-file.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/output-chunks.o elf/output-chunks.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/output-file.o elf/output-file.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/passes.o elf/passes.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/relocatable.o elf/relocatable.cc clang++ -DMOLD_VERSION=\"1.0.0\" -DLIBDIR="\"/usr/lib\"" -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -pthread -fPIE -fno-unwind-tables -fno-asynchronous-unwind-tables -std=c++20 -fno-exceptions -flto -O3 -c -o out/elf/subprocess.o elf/subprocess.cc clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: clang-12warning: : warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: clang-12argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]: warning : argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) /usr/bin/ld: /tmp/lto-llvm-8d5562.o: can't link soft-float modules with double-float modules /usr/bin/ld: failed to merge target specific data of file /tmp/lto-llvm-8d5562.o clang-12: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:100: mold-wrapper.so] Error 1 make: *** Waiting for unfinished jobs.... filepath.cc:9:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] getcwd(buf.data(), buf.size()); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. main.cc:11:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] strerror_r(errno, buf, sizeof(buf)); ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. make: Leaving directory '/build/mold/src/mold-1.0.0' ==> ERROR: A failure occurred in build().  Aborting...