******************************************************************************** conan install mold/1.4.2@#5b8346af5792ceba0d48a7219914392f --build=mold -pr /home/conan/w/prod/BuildSingleReference/88911/85a02c4e-58de-4606-9619-03c5c825ab42/profile_linux_8_libstdcpp11_gcc_debug_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 8 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=8 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True zlib/1.2.12: Not found in local cache, looking in remotes... zlib/1.2.12: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.12: Downloaded recipe revision a30750797caa71bd61bd0a18189caa28 openssl/1.1.1q: Not found in local cache, looking in remotes... openssl/1.1.1q: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1q: Downloaded recipe revision ff46eab916ca5b3a640ccaf0b7c8072a xxhash/0.8.1: Not found in local cache, looking in remotes... xxhash/0.8.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz xxhash/0.8.1: Downloaded recipe revision bbf2867eb2cfe186d9bc857da8e00752 onetbb/2021.3.0: Not found in local cache, looking in remotes... onetbb/2021.3.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz onetbb/2021.3.0: Downloaded recipe revision 507ec17cbd51a84167e143b20d170eea mimalloc/2.0.6: Not found in local cache, looking in remotes... mimalloc/2.0.6: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz mimalloc/2.0.6: Downloaded recipe revision ca9e081f2a1d78eb2b70c6d2270b56d7 mold/1.4.2: Forced build from source Installing package: mold/1.4.2 Requirements mimalloc/2.0.6 from 'conan-center' - Downloaded mold/1.4.2 from local cache - Cache onetbb/2021.3.0 from 'conan-center' - Downloaded openssl/1.1.1q from 'conan-center' - Downloaded xxhash/0.8.1 from 'conan-center' - Downloaded zlib/1.2.12 from 'conan-center' - Downloaded Packages mimalloc/2.0.6:038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec - Download mold/1.4.2:3ce6864330020c0ebb0af70261f050394bfeb4a0 - Build onetbb/2021.3.0:9ff4b7ca1cb37c0de837519f7aeff8bf47ddd212 - Download openssl/1.1.1q:761432f3453a17c960259b5b2605153e3bcffd7d - Download xxhash/0.8.1:bbb31c2f30872465ba470a09277c37b73e9fd59c - Download zlib/1.2.12:761432f3453a17c960259b5b2605153e3bcffd7d - Download Installing (downloading, building) binaries... mimalloc/2.0.6: Retrieving package 038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz mimalloc/2.0.6: Package installed 038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec mimalloc/2.0.6: Downloaded package revision 4a06f23950ea346597088773399c5e07 onetbb/2021.3.0: Retrieving package 9ff4b7ca1cb37c0de837519f7aeff8bf47ddd212 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz onetbb/2021.3.0: Package installed 9ff4b7ca1cb37c0de837519f7aeff8bf47ddd212 onetbb/2021.3.0: Downloaded package revision 768c2a8f02cf66a9f2b727108a3b48ea openssl/1.1.1q: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1q: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d openssl/1.1.1q: Downloaded package revision 84f71b055f55e6d9f94fd7ddd7eeb61f xxhash/0.8.1: Retrieving package bbb31c2f30872465ba470a09277c37b73e9fd59c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz xxhash/0.8.1: Package installed bbb31c2f30872465ba470a09277c37b73e9fd59c xxhash/0.8.1: Downloaded package revision a8d8640b804dbd353a33bff4af5aa842 zlib/1.2.12: Retrieving package 761432f3453a17c960259b5b2605153e3bcffd7d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed 761432f3453a17c960259b5b2605153e3bcffd7d zlib/1.2.12: Downloaded package revision efd74f4564077692f1a55ba23821c163 xxhash/0.8.1: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/xxhash/0.8.1/_/_/package/bbb31c2f30872465ba470a09277c37b73e9fd59c/bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK mold/1.4.2: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/source/src mold/1.4.2: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK mold/1.4.2: Copying sources to build folder mold/1.4.2: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0 mold/1.4.2: Generator txt created conanbuildinfo.txt mold/1.4.2: Calling generate() mold/1.4.2: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK mold/1.4.2: Calling build() mold/1.4.2: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/package/3ce6864330020c0ebb0af70261f050394bfeb4a0" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/package/3ce6864330020c0ebb0af70261f050394bfeb4a0" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/generators/conan_toolchain.cmake -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CXX_SUPPORTS_FUSE_MOLD -- Performing Test CXX_SUPPORTS_FUSE_MOLD - Failed -- -- Override standard malloc (MI_OVERRIDE=ON) -- -- Library base name: mimalloc-debug -- Version : 2.0 -- Build type : debug -- C Compiler : /usr/bin/gcc -- Compiler flags : -Wall;-Wextra;-Wno-unknown-pragmas;-fvisibility=hidden;-Wstrict-prototypes;-ftls-model=initial-exec;-fno-builtin-malloc -- Compiler defines : -- Link libraries : /usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/librt.so -- Build targets : shared;static;object -- -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Checking for one of the modules 'hwloc' -- HWLOC target HWLOC::hwloc_1_11 doesn't exist. The tbbbind target cannot be created -- HWLOC target HWLOC::hwloc_2 doesn't exist. The tbbbind_2_0 target cannot be created -- HWLOC target HWLOC::hwloc_2_5 doesn't exist. The tbbbind_2_5 target cannot be created -- Looking for getcontext -- Looking for getcontext - found -- Looking for pow in m -- Looking for pow in m - found -- Found OpenSSL: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.1.1q/_/_/package/761432f3453a17c960259b5b2605153e3bcffd7d/lib/libcrypto.a (found version "1.1.1q") found components: Crypto -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/Debug mold/1.4.2: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/Debug" '--' '-j3' ----------------- Scanning dependencies of target mold-wrapper Scanning dependencies of target git_hash [ 1%] Building C object CMakeFiles/mold-wrapper.dir/elf/mold-wrapper.c.o [ 1%] Built target git_hash Scanning dependencies of target mimalloc-static [ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o Scanning dependencies of target tbb [ 3%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o [ 5%] Linking C shared library mold-wrapper.so [ 5%] Built target mold-wrapper [ 6%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/random.c.o [ 7%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o [ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o [ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o [ 11%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o [ 12%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o [ 13%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o [ 13%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o [ 15%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc.c.o [ 16%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-aligned.c.o [ 17%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/alloc-posix.c.o [ 18%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o [ 20%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o [ 21%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o [ 22%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o [ 23%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o [ 23%] Linking C static library libmimalloc-debug.a [ 23%] Built target mimalloc-static [ 25%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/concurrent_bounded_queue.cpp.o [ 25%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/dynamic_link.cpp.o [ 26%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/exception.cpp.o [ 27%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/governor.cpp.o [ 28%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/global_control.cpp.o [ 30%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/itt_notify.cpp.o [ 31%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/main.cpp.o [ 32%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/market.cpp.o [ 33%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc.cpp.o [ 33%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/misc_ex.cpp.o [ 35%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/observer_proxy.cpp.o [ 36%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/parallel_pipeline.cpp.o [ 37%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/private_server.cpp.o [ 38%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/profiling.cpp.o [ 40%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rml_tbb.cpp.o [ 41%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_mutex.cpp.o [ 41%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/rtm_rw_mutex.cpp.o [ 42%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/semaphore.cpp.o [ 43%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/small_object_pool.cpp.o [ 45%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task.cpp.o [ 46%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_dispatcher.cpp.o [ 47%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/task_group_context.cpp.o [ 48%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/version.cpp.o [ 50%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/queuing_rw_mutex.cpp.o [ 50%] Linking CXX static library ../../../../gnu_8.4_cxx11_64_debug/libtbb_debug.a [ 50%] Built target tbb Scanning dependencies of target mold [ 51%] Building CXX object CMakeFiles/mold.dir/elf/lto-unix.cc.o [ 52%] Building CXX object CMakeFiles/mold.dir/elf/subprocess.cc.o [ 53%] Building CXX object CMakeFiles/mold.dir/macho/lto-unix.cc.o CMakeFiles/mold.dir/build.make:94: recipe for target 'CMakeFiles/mold.dir/elf/subprocess.cc.o' failed CMakeFiles/mold.dir/build.make:107: recipe for target 'CMakeFiles/mold.dir/macho/lto-unix.cc.o' failed CMakeFiles/mold.dir/build.make:81: recipe for target 'CMakeFiles/mold.dir/elf/lto-unix.cc.o' failed CMakeFiles/Makefile2:858: recipe for target 'CMakeFiles/mold.dir/all' failed Makefile:181: recipe for target 'all' failed mold/1.4.2: CMake Warning (dev) at third-party/mimalloc/CMakeLists.txt:19 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'MI_BUILD_STATIC'. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning at third-party/tbb/CMakeLists.txt:114 (message): You are building oneTBB as a static library. This is highly discouraged and such configuration is not supported. Consider building a dynamic library to avoid unforeseen issues. In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/elf/mold.h:4, from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/elf/subprocess.cc:1: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/elf/../mold.h:7:10: fatal error: bit: No such file or directory #include ^~~~~ compilation terminated. make[2]: *** [CMakeFiles/mold.dir/elf/subprocess.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/macho/mold.h:5, from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/macho/lto-unix.cc:2: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/macho/../mold.h:7:10: fatal error: bit: No such file or directory #include ^~~~~ compilation terminated. make[2]: *** [CMakeFiles/mold.dir/macho/lto-unix.cc.o] Error 1 In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/elf/mold.h:4, from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/elf/lto-unix.cc:81: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/src/elf/../mold.h:7:10: fatal error: bit: No such file or directory #include ^~~~~ compilation terminated. make[2]: *** [CMakeFiles/mold.dir/elf/lto-unix.cc.o] Error 1 make[1]: *** [CMakeFiles/mold.dir/all] Error 2 make: *** [all] Error 2 mold/1.4.2: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior mold/1.4.2: ERROR: Package '3ce6864330020c0ebb0af70261f050394bfeb4a0' build failed mold/1.4.2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/Debug ERROR: mold/1.4.2: Error in build() method, line 37 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/3ce6864330020c0ebb0af70261f050394bfeb4a0/build/Debug" '--' '-j3'