tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DLLVM_CONFIG=/usr/bin/llvm-config -DCMAKE_CXX_FLAGS=-std=c++11 -DLIBCXXABI_LIBCXX_INCLUDES=/usr/include/c++/v1/ -DLIBCXXABI_LIBDIR_SUFFIX:STRING=64 -DCMAKE_BUILD_TYPE=RelWithDebInfo -- The CXX compiler identification is Clang 11.0.0 -- The C compiler identification is Clang 11.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: /builddir/build/BUILD/libcxxabi-11.0.0.src/riscv64-redhat-linux-gnu/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja-build cmTC_4df88 && [1/2] Building CXX object CMakeFiles/cmTC_4df88.dir/testCXXCompiler.cxx.o [2/2] Linking CXX executable cmTC_4df88 FAILED: cmTC_4df88 : && /usr/bin/clang++ -std=c++11 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto CMakeFiles/cmTC_4df88.dir/testCXXCompiler.cxx.o -o cmTC_4df88 && : /usr/bin/ld: /usr/bin/../lib64/LLVMgold.so: error loading plugin: /usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory clang-11: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:21 (project) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/libcxxabi-11.0.0.src/riscv64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/libcxxabi-11.0.0.src/riscv64-redhat-linux-gnu/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.0gHkzt (%build) Bad exit status from /var/tmp/rpm-tmp.0gHkzt (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 776, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 34523344178b4726b462d4bd1da7c057 -D /var/lib/mock/f33-build-574429-66003/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.a3xrc25y:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcxxabi.spec