******************************************************************************** conan install mold/1.4.2@#5b8346af5792ceba0d48a7219914392f --build=mold -pr /home/conan/w/prod/BuildSingleReference/88911/d5d55833-705d-4e3c-9b59-c45519110665/profile_linux_9_libstdcpp_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 9 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=9 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++ compiler.version=9 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:9cb7ac99f58a79b591516cbdd53096db4a815c86 - Download mold/1.4.2:0bc93d90e5a31ce16de7a78e1ffebce535ffe24b - Build onetbb/2021.3.0:a83bf3d0cb8e6d9a9cbdcb2d6c7f0f17c3ee7655 - Download openssl/1.1.1q:23b828d52c0630e6b0b96d2945419feb7843c4f8 - Download xxhash/0.8.1:4b0a7db772d99349e7030d0411c92386a1838787 - Download zlib/1.2.12:23b828d52c0630e6b0b96d2945419feb7843c4f8 - Download Installing (downloading, building) binaries... mimalloc/2.0.6: Retrieving package 9cb7ac99f58a79b591516cbdd53096db4a815c86 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz mimalloc/2.0.6: Package installed 9cb7ac99f58a79b591516cbdd53096db4a815c86 mimalloc/2.0.6: Downloaded package revision 8870e780d62e5f278e03830fb95b43a5 onetbb/2021.3.0: Retrieving package a83bf3d0cb8e6d9a9cbdcb2d6c7f0f17c3ee7655 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz onetbb/2021.3.0: Package installed a83bf3d0cb8e6d9a9cbdcb2d6c7f0f17c3ee7655 onetbb/2021.3.0: Downloaded package revision 5142a8cdbb413a5183b406ba55b65e55 openssl/1.1.1q: Retrieving package 23b828d52c0630e6b0b96d2945419feb7843c4f8 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1q: Package installed 23b828d52c0630e6b0b96d2945419feb7843c4f8 openssl/1.1.1q: Downloaded package revision 97a2f32998451ce1a3dae4b91f1cba7a xxhash/0.8.1: Retrieving package 4b0a7db772d99349e7030d0411c92386a1838787 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz xxhash/0.8.1: Package installed 4b0a7db772d99349e7030d0411c92386a1838787 xxhash/0.8.1: Downloaded package revision a12f2c20ca0ae781cf3fe116f506c28a zlib/1.2.12: Retrieving package 23b828d52c0630e6b0b96d2945419feb7843c4f8 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.12: Package installed 23b828d52c0630e6b0b96d2945419feb7843c4f8 zlib/1.2.12: Downloaded package revision a10ab83890fdac28caf65b21f87b0f46 xxhash/0.8.1: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/xxhash/0.8.1/_/_/package/4b0a7db772d99349e7030d0411c92386a1838787/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/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b 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/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/package/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/package/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/build/generators/conan_toolchain.cmake -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- 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/23b828d52c0630e6b0b96d2945419feb7843c4f8/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/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/build/Debug mold/1.4.2: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/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 Scanning dependencies of target tbb [ 2%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/stats.c.o [ 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 C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/os.c.o [ 8%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/bitmap.c.o [ 10%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/arena.c.o [ 11%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment-cache.c.o [ 12%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/segment.c.o [ 12%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/page.c.o [ 13%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/allocator.cpp.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 C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/heap.c.o [ 20%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena.cpp.o [ 21%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/options.c.o [ 22%] Building C object third-party/mimalloc/CMakeFiles/mimalloc-static.dir/src/init.c.o [ 22%] Linking C static library libmimalloc-debug.a [ 22%] Built target mimalloc-static [ 23%] Building CXX object third-party/tbb/src/tbb/CMakeFiles/tbb.dir/arena_slot.cpp.o [ 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_9.2_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 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/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/elf/mold.h:4, from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/elf/lto-unix.cc:81: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/elf/../mold.h:17:10: fatal error: span: No such file or directory 17 | #include | ^~~~~~ compilation terminated. make[2]: *** [CMakeFiles/mold.dir/build.make:82: CMakeFiles/mold.dir/elf/lto-unix.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/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/macho/mold.h:5, from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/macho/lto-unix.cc:2: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/macho/../mold.h:17:10: fatal error: span: No such file or directory 17 | #include | ^~~~~~ compilation terminated. In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/elf/mold.h:4, from /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/elf/subprocess.cc:1: /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/src/elf/../mold.h:17:10: fatal error: span: No such file or directory 17 | #include | ^~~~~~ compilation terminated. make[2]: *** [CMakeFiles/mold.dir/build.make:108: CMakeFiles/mold.dir/macho/lto-unix.cc.o] Error 1 make[2]: *** [CMakeFiles/mold.dir/build.make:95: CMakeFiles/mold.dir/elf/subprocess.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:859: CMakeFiles/mold.dir/all] Error 2 make: *** [Makefile:182: 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 '0bc93d90e5a31ce16de7a78e1ffebce535ffe24b' build failed mold/1.4.2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/mold/1.4.2/_/_/build/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/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/0bc93d90e5a31ce16de7a78e1ffebce535ffe24b/build/Debug" '--' '-j3'