[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.23 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 1s] [ 1s] 1473df5a608f started "build llvm.spec" at Thu Sep 18 19:09:40 UTC 2025. [ 1s] [ 1s] Building llvm for project 'Tizen-Base-Toolchain' repository 'standard' arch 'x86_64' srcmd5 '6f42bbb4d69da5073bb99004d74f4035' [ 1s] [ 1s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.23/.build-srcdir/llvm.spec ... [ 1s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.23/.build-srcdir/llvm.spec [ 1s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/23/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.23/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.23/.build-srcdir/llvm.spec build ... [ 9s] cycle: nss -> libsoftokn3 [ 9s] breaking dependency nss -> libsoftokn3 [ 9s] [1/37] preinstalling libmagic-data... [ 10s] [2/37] preinstalling libncurses... [ 10s] [3/37] preinstalling setup... [ 10s] [4/37] preinstalling filesystem... [ 10s] [5/37] preinstalling glibc... [ 10s] [6/37] preinstalling bash... [ 10s] [7/37] preinstalling diffutils... [ 10s] [8/37] preinstalling grep... [ 10s] [9/37] preinstalling libattr... [ 10s] [10/37] preinstalling libbz2... [ 10s] [11/37] preinstalling libcap... [ 10s] [12/37] preinstalling libfreebl3... [ 10s] [13/37] preinstalling libgcc... [ 10s] [14/37] preinstalling liblua... [ 10s] [15/37] preinstalling liblzma... [ 10s] [16/37] preinstalling libpopt... [ 10s] [17/37] preinstalling libreadline... [ 10s] [18/37] preinstalling libsmack... [ 10s] [19/37] preinstalling libsqlite... [ 10s] [20/37] preinstalling libxcrypt... [ 10s] [21/37] preinstalling libxml2... [ 10s] [22/37] preinstalling libzstd1... [ 10s] [23/37] preinstalling nspr... [ 10s] [24/37] preinstalling sed... [ 10s] [25/37] preinstalling zlib... [ 10s] [26/37] preinstalling coreutils... [ 10s] [27/37] preinstalling libacl... [ 10s] [28/37] preinstalling libelf... [ 10s] [29/37] preinstalling smack... [ 10s] [30/37] preinstalling bzip2... [ 10s] [31/37] preinstalling libmagic... [ 10s] [32/37] preinstalling util-linux... [ 10s] [33/37] preinstalling tar... [ 10s] [34/37] preinstalling util-linux-su... [ 10s] [35/37] preinstalling nss... [ 10s] [36/37] preinstalling libsoftokn3... [ 10s] [37/37] preinstalling rpm... [ 11s] running setup postinstall script [ 11s] chroot: failed to run command '': No such file or directory [ 11s] initializing rpm db... [ 11s] reordering...cycle: glibc-devel -> libxcrypt-devel [ 11s] breaking dependency libxcrypt-devel -> glibc-devel [ 11s] cycle: clang -> llvm [ 11s] breaking dependency llvm -> clang [ 11s] cycle: libsoftokn3 -> nss [ 11s] breaking dependency nss -> libsoftokn3 [ 11s] done [ 11s] querying package ids... [ 11s] [1/116] cumulate libmagic-data-5.45-1.7 [ 11s] [2/116] cumulate setup-0.9-1.1 [ 11s] [3/116] cumulate filesystem-3.1-1.1 [ 11s] [4/116] cumulate glibc-2.40-1.6 [ 11s] [5/116] cumulate bash-3.2.57-1.1 [ 11s] [6/116] cumulate cpio-2.8-1.1 [ 11s] [7/116] cumulate diffutils-3.10-1.1 [ 11s] [8/116] cumulate findutils-4.3.8-1.6 [ 11s] [9/116] cumulate gdbm-1.8.3-1.7 [ 11s] [10/116] cumulate hostname-3.23-1.1 [ 11s] [11/116] cumulate libatomic-14.2.0-1.6 [ 11s] [12/116] cumulate libattr-2.5.1-1.7 [ 11s] [13/116] cumulate libblkid-2.39.3-1.5 [ 11s] [14/116] cumulate libbz2-1.0.8-1.7 [ 11s] [15/116] cumulate libcap-2.73-1.7 [ 11s] [16/116] cumulate libexpat-2.6.2-1.7 [ 11s] [17/116] cumulate libffi-3.4.7-1.7 [ 11s] [18/116] cumulate libfreebl3-3.109-1.7 [ 11s] [19/116] cumulate libgcc-14.2.0-1.6 [ 11s] [20/116] cumulate libgomp-14.2.0-1.6 [ 11s] [21/116] cumulate libitm-14.2.0-1.6 [ 11s] [22/116] cumulate libltdl-2.4.7-1.7 [ 11s] [23/116] cumulate liblua-5.1.5-1.5 [ 11s] [24/116] cumulate liblzma-5.6.3-1.6 [ 11s] [25/116] cumulate libopenssl3-3.0.16-1.7 [ 11s] [26/116] cumulate libpcre-8.45-1.5 [ 11s] [27/116] cumulate libpopt-1.16-1.5 [ 11s] [28/116] cumulate libpython3_131_0-3.13.1-1.6 [ 11s] [29/116] cumulate libquadmath-14.2.0-1.6 [ 11s] [30/116] cumulate libsmack-1.3.1-1.5 [ 11s] [31/116] cumulate libsmartcols-2.39.3-1.5 [ 11s] [32/116] cumulate libsqlite-3.50.2-1.6 [ 11s] [33/116] cumulate libuuid-2.39.3-1.5 [ 11s] [34/116] cumulate libxcrypt-4.4.36-1.7 [ 11s] [35/116] cumulate libxml2-2.13.5-1.6 [ 11s] [36/116] cumulate libzstd1-1.5.6-1.7 [ 11s] [37/116] cumulate m4-1.4.19-1.1 [ 11s] [38/116] cumulate net-tools-2.0_20121208git-1.5 [ 11s] [39/116] cumulate nspr-4.36-1.5 [ 11s] [40/116] cumulate patch-2.7.6-1.5 [ 11s] [41/116] cumulate pkg-config-0.29.2-1.6 [ 11s] [42/116] cumulate sed-4.1c-1.8 [ 11s] [43/116] cumulate update-alternatives-1.22.2-1.1 [ 11s] [44/116] cumulate which-2.17-1.1 [ 11s] [45/116] cumulate zlib-1.3.1-1.7 [ 11s] [46/116] cumulate build-compare-2023.06.18-1.1 [ 11s] [47/116] cumulate hal-rootstrap-checker-0.1.1-1.1 [ 11s] [48/116] cumulate binutils-libs-2.43-1.6 [ 11s] [49/116] cumulate coreutils-6.9-14.1 [ 11s] [50/116] cumulate cpp-14.2.0-1.6 [ 11s] [51/116] cumulate gawk-3.1.5-1.1 [ 11s] [52/116] cumulate gcc-c++-14.2.0-1.6 [ 11s] [53/116] cumulate grep-2.5.2-1.5 [ 11s] [54/116] cumulate libacl-2.3.2-1.6 [ 11s] [55/116] cumulate libelf-0.189-1.7 [ 11s] [56/116] cumulate libgfortran-14.2.0-1.6 [ 11s] [57/116] cumulate libmount-2.39.3-1.5 [ 11s] [58/116] cumulate libstdc++-14.2.0-1.6 [ 11s] [59/116] cumulate make-4.4.1-1.5 [ 11s] [60/116] cumulate nss-certs-3.109-1.7 [ 11s] [61/116] cumulate smack-1.3.1-1.5 [ 11s] [62/116] cumulate xz-devel-5.6.3-1.6 [ 11s] [63/116] cumulate bzip2-1.0.8-1.7 [ 11s] [64/116] cumulate libfdisk-2.39.3-1.5 [ 11s] [65/116] cumulate libmagic-5.45-1.7 [ 11s] [66/116] cumulate xz-5.6.3-1.6 [ 11s] [67/116] cumulate perl-5.38.0-1.6 [ 11s] [68/116] cumulate build-mkbaselibs-20120927-1.1 [ 11s] [69/116] cumulate libstdc++-devel-14.2.0-1.6 [ 11s] [70/116] cumulate linux-glibc-devel-6.6-1.7 [ 11s] [71/116] cumulate tar-1.17-1.1 [ 11s] [72/116] cumulate terminfo-base-full-6.4-1.7 [ 11s] [73/116] cumulate autoconf-2.71-1.7 [ 11s] [74/116] cumulate file-5.45-1.7 [ 11s] [75/116] cumulate glibc-locale-2.40-1.6 [ 11s] [76/116] cumulate gzip-1.3.12-1.5 [ 11s] [77/116] cumulate libcc1-14.2.0-1.6 [ 11s] [78/116] cumulate patchelf-0.16.1-1.5 [ 11s] [79/116] cumulate binutils-2.43-1.6 [ 11s] [80/116] cumulate libllvm-19.1.4-1.7 [ 11s] [81/116] cumulate pam-1.1.6-1.6 [ 11s] [82/116] cumulate tzdata-2024b-1.1 [ 11s] [83/116] cumulate libdw-0.189-1.7 [ 11s] [84/116] cumulate libarchive-3.8.1-1.7 [ 11s] [85/116] cumulate automake-1.16.5-1.6 [ 11s] [86/116] cumulate libasm-0.189-1.7 [ 11s] [87/116] cumulate libncurses5-6.4-1.7 [ 11s] [88/116] cumulate libncurses6-6.4-1.7 [ 11s] [89/116] cumulate build-20120927-1.1 [ 11s] [90/116] cumulate gcc-14.2.0-1.6 [ 11s] [91/116] cumulate libncurses-6.4-1.7 [ 11s] [92/116] cumulate less-668-1.1 [ 11s] [93/116] cumulate libreadline-5.2-1.6 [ 11s] [94/116] cumulate libtool-2.4.7-1.7 [ 11s] [95/116] cumulate ncurses-devel-6.4-1.7 [ 11s] [96/116] cumulate elfutils-0.189-1.7 [ 11s] [97/116] cumulate cmake-3.31.2-1.7 [ 11s] [98/116] cumulate readline-devel-5.2-1.6 [ 11s] [99/116] cumulate libxml2-tools-2.13.5-1.6 [ 11s] [100/116] cumulate python3-base-3.13.1-1.6 [ 11s] [101/116] cumulate util-linux-2.39.3-1.5 [ 11s] [102/116] cumulate python3-3.13.1-1.6 [ 11s] [103/116] cumulate util-linux-su-2.39.3-1.5 [ 11s] [104/116] cumulate python3-devel-3.13.1-1.6 [ 11s] [105/116] cumulate libxcrypt-devel-4.4.36-1.7 [ 11s] [106/116] cumulate nss-3.109-1.7 [ 11s] [107/116] cumulate llvm-19.1.4-1.7 [ 11s] [108/116] cumulate glibc-devel-2.40-1.6 [ 11s] [109/116] cumulate clang-19.1.4-1.7 [ 11s] [110/116] cumulate libsoftokn3-3.109-1.7 [ 11s] [111/116] cumulate llvm-devel-19.1.4-1.7 [ 11s] [112/116] cumulate rpm-4.14.1.1-1.6 [ 11s] [113/116] cumulate zlib-devel-1.3.1-1.7 [ 11s] [114/116] cumulate rpm-build-4.14.1.1-1.6 [ 11s] [115/116] cumulate binutils-devel-2.43-1.6 [ 11s] [116/116] cumulate libxml2-devel-2.13.5-1.6 [ 11s] now installing cumulated packages [ 12s] Preparing... ######################################## [ 12s] Updating / installing... [ 12s] setup-0.9-1.1 ######################################## [ 12s] filesystem-3.1-1.1 ######################################## [ 12s] glibc-2.40-1.6 ######################################## [ 12s] bash-3.2.57-1.1 ######################################## [ 12s] zlib-1.3.1-1.7 ######################################## [ 13s] coreutils-6.9-14.1 ######################################## [ 13s] libgcc-14.2.0-1.6 ######################################## [ 13s] libstdc++-14.2.0-1.6 ######################################## [ 13s] libbz2-1.0.8-1.7 ######################################## [ 14s] liblzma-5.6.3-1.6 ######################################## [ 14s] pkg-config-0.29.2-1.6 ######################################## [ 14s] libelf-0.189-1.7 ######################################## [ 14s] libdw-0.189-1.7 ######################################## [ 14s] libxcrypt-4.4.36-1.7 ######################################## [ 16s] libllvm-19.1.4-1.7 ######################################## [ 16s] libblkid-2.39.3-1.5 ######################################## [ 16s] libopenssl3-3.0.16-1.7 ######################################## [ 16s] libxml2-2.13.5-1.6 ######################################## [ 16s] nspr-4.36-1.5 ######################################## [ 17s] llvm-19.1.4-1.7 ######################################## [ 20s] clang-19.1.4-1.7 ######################################## [ 20s] pam-1.1.6-1.6 ######################################## [ 21s] terminfo-base-full-6.4-1.7 ######################################## [ 21s] libncurses6-6.4-1.7 ######################################## [ 21s] libreadline-5.2-1.6 ######################################## [ 21s] gdbm-1.8.3-1.7 ######################################## [ 24s] perl-5.38.0-1.6 ######################################## [ 24s] libexpat-2.6.2-1.7 ######################################## [ 24s] libfreebl3-3.109-1.7 ######################################## [ 25s] libpopt-1.16-1.5 ######################################## [ 25s] libpython3_131_0-3.13.1-1.6 ######################################## [ 26s] libsqlite-3.50.2-1.6 ######################################## [ 26s] libuuid-2.39.3-1.5 ######################################## [ 26s] libfdisk-2.39.3-1.5 ######################################## [ 27s] build-mkbaselibs-20120927-1.1 ######################################## [ 27s] libxml2-tools-2.13.5-1.6 ######################################## [ 27s] libncurses5-6.4-1.7 ######################################## [ 27s] ncurses-devel-6.4-1.7 ######################################## [ 27s] readline-devel-5.2-1.6 ######################################## [ 28s] nss-certs-3.109-1.7 ######################################## [ 28s] libsoftokn3-3.109-1.7 ######################################## [ 28s] nss-3.109-1.7 ######################################## [ 28s] libmount-2.39.3-1.5 ######################################## [ 29s] libasm-0.189-1.7 ######################################## [ 29s] xz-devel-5.6.3-1.6 ######################################## [ 29s] xz-5.6.3-1.6 ######################################## [ 29s] bzip2-1.0.8-1.7 ######################################## [ 29s] libcc1-14.2.0-1.6 ######################################## [ 29s] libgfortran-14.2.0-1.6 ######################################## [ 31s] linux-glibc-devel-6.6-1.7 ######################################## [ 31s] libxcrypt-devel-4.4.36-1.7 ######################################## [ 31s] glibc-devel-2.40-1.6 ######################################## [ 31s] zlib-devel-1.3.1-1.7 ######################################## [ 31s] gzip-1.3.12-1.5 ######################################## [ 31s] binutils-libs-2.43-1.6 ######################################## [ 32s] binutils-2.43-1.6 ######################################## [ 32s] make-4.4.1-1.5 ######################################## [ 32s] findutils-4.3.8-1.6 ######################################## [ 32s] libatomic-14.2.0-1.6 ######################################## [ 33s] libattr-2.5.1-1.7 ######################################## [ 33s] libacl-2.3.2-1.6 ######################################## [ 33s] tar-1.17-1.1 ######################################## [ 33s] libarchive-3.8.1-1.7 ######################################## [ 34s] libcap-2.73-1.7 ######################################## [ 34s] libffi-3.4.7-1.7 ######################################## [ 37s] python3-base-3.13.1-1.6 ######################################## [ 37s] libgomp-14.2.0-1.6 ######################################## [ 37s] libitm-14.2.0-1.6 ######################################## [ 37s] libltdl-2.4.7-1.7 ######################################## [ 38s] liblua-5.1.5-1.5 ######################################## [ 38s] libpcre-8.45-1.5 ######################################## [ 38s] libquadmath-14.2.0-1.6 ######################################## [ 39s] libsmack-1.3.1-1.5 ######################################## [ 39s] libsmartcols-2.39.3-1.5 ######################################## [ 39s] libzstd1-1.5.6-1.7 ######################################## [ 39s] m4-1.4.19-1.1 ######################################## [ 39s] autoconf-2.71-1.7 ######################################## [ 40s] automake-1.16.5-1.6 ######################################## [ 40s] patch-2.7.6-1.5 ######################################## [ 40s] sed-4.1c-1.8 ######################################## [ 42s] util-linux-2.39.3-1.5 ######################################## [ 42s] libmagic-data-5.45-1.7 ######################################## [ 42s] libmagic-5.45-1.7 ######################################## [ 43s] rpm-4.14.1.1-1.6 ######################################## [ 43s] rpm-build-4.14.1.1-1.6 ######################################## [ 43s] file-5.45-1.7 ######################################## [ 43s] util-linux-su-2.39.3-1.5 ######################################## [ 43s] libtool-2.4.7-1.7 ######################################## [ 43s] smack-1.3.1-1.5 ######################################## [ 46s] gcc-14.2.0-1.6 ######################################## [ 46s] grep-2.5.2-1.5 ######################################## [ 46s] python3-3.13.1-1.6 ######################################## [ 46s] python3-devel-3.13.1-1.6 ######################################## [ 48s] cmake-3.31.2-1.7 ######################################## [ 48s] build-20120927-1.1 ######################################## [ 48s] binutils-devel-2.43-1.6 ######################################## [ 48s] libxml2-devel-2.13.5-1.6 ######################################## [ 48s] elfutils-0.189-1.7 ######################################## [ 48s] libncurses-6.4-1.7 ######################################## [ 48s] less-668-1.1 ######################################## [ 49s] llvm-devel-19.1.4-1.7 ######################################## [ 49s] libstdc++-devel-14.2.0-1.6 ######################################## [ 49s] patchelf-0.16.1-1.5 ######################################## [ 49s] glibc-locale-2.40-1.6 ######################################## [ 50s] tzdata-2024b-1.1 ######################################## [ 51s] cpp-14.2.0-1.6 ######################################## [ 54s] gcc-c++-14.2.0-1.6 ######################################## [ 54s] build-compare-2023.06.18-1.1 ######################################## [ 54s] hal-rootstrap-checker-0.1.1-1.1 ######################################## [ 54s] gawk-3.1.5-1.1 ######################################## [ 54s] cpio-2.8-1.1 ######################################## [ 54s] diffutils-3.10-1.1 ######################################## [ 54s] hostname-3.23-1.1 ######################################## [ 54s] net-tools-2.0_20121208git-1.5 ######################################## [ 54s] update-alternatives-1.22.2-1.1 ######################################## [ 54s] which-2.17-1.1 ######################################## [ 54s] now finalizing build dir... [ 66s] ----------------------------------------------------------------- [ 66s] I have the following modifications for llvm.spec: [ 66s] 22c22 [ 66s] < Release: 1 [ 66s] --- [ 66s] > Release: 1.1 [ 66s] ----------------------------------------------------------------- [ 66s] ----- building llvm.spec (user abuild) [ 66s] ----------------------------------------------------------------- [ 66s] ----------------------------------------------------------------- [ 66s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://127.0.0.1/Tizen-Base-Toolchain/standard/6f42bbb4d69da5073bb99004d74f4035-llvm' /home/abuild/rpmbuild/SOURCES/llvm.spec [ 66s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0FmTaR [ 66s] + umask 022 [ 66s] + cd /home/abuild/rpmbuild/BUILD [ 66s] + cd /home/abuild/rpmbuild/BUILD [ 66s] + rm -rf llvm-21.1.1 [ 66s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/llvm-21.1.1.tar.gz [ 66s] + /bin/tar -xof - [ 160s] + STATUS=0 [ 160s] + '[' 0 -ne 0 ']' [ 160s] + cd llvm-21.1.1 [ 160s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 161s] + echo 'Patch #0 (0001-Add-support-for-Tizen-toolchain-vendor.patch):' [ 161s] Patch #0 (0001-Add-support-for-Tizen-toolchain-vendor.patch): [ 161s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 161s] patching file clang/include/clang/Config/config.h.cmake [ 161s] patching file clang/lib/Driver/Driver.cpp [ 161s] patching file clang/lib/Driver/ToolChains/Linux.cpp [ 161s] patching file llvm/include/llvm/TargetParser/Triple.h [ 161s] patching file llvm/lib/TargetParser/Triple.cpp [ 161s] + echo 'Patch #1 (0002-Link-libclang_rt.asan.so-against-libatomic-when-nece.patch):' [ 161s] Patch #1 (0002-Link-libclang_rt.asan.so-against-libatomic-when-nece.patch): [ 161s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 161s] patching file compiler-rt/lib/asan/CMakeLists.txt [ 161s] + echo 'Patch #2 (0003-clang-add-support-for-LLVM-gold-plugin-in-case-of-ac.patch):' [ 161s] Patch #2 (0003-clang-add-support-for-LLVM-gold-plugin-in-case-of-ac.patch): [ 161s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 161s] patching file clang/include/clang/Driver/Driver.h [ 161s] patching file clang/lib/Driver/Driver.cpp [ 161s] patching file clang/lib/Driver/ToolChains/CommonArgs.cpp [ 161s] + echo 'Patch #3 (0004-Fix-armv7l-build-when-compiler-is-clang.patch):' [ 161s] Patch #3 (0004-Fix-armv7l-build-when-compiler-is-clang.patch): [ 161s] + /bin/patch --no-backup-if-mismatch -p1 --fuzz=2 [ 161s] patching file compiler-rt/cmake/base-config-ix.cmake [ 161s] + exit 0 [ 161s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VKaaJ8 [ 161s] + umask 022 [ 161s] + cd /home/abuild/rpmbuild/BUILD [ 161s] + CFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g -Wformat-security' [ 161s] + export CFLAGS [ 161s] + CXXFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g -Wformat-security' [ 161s] + export CXXFLAGS [ 161s] + FFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g ' [ 161s] + export FFLAGS [ 161s] + FCFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g ' [ 161s] + export FCFLAGS [ 161s] + LDFLAGS=-Wl,-z,relro,--as-needed [ 161s] + export LDFLAGS [ 161s] + cd llvm-21.1.1 [ 161s] + ref=/usr/lib/rpm [ 161s] + mints=0 [ 161s] + case $(uname -m) in [ 161s] ++ uname -m [ 161s] + for s in guess sub [ 161s] ++ find -maxdepth 8 -name config.guess [ 161s] + for c in '$(find -maxdepth 8 -name "config.$s")' [ 161s] + grep -q config-patches@ ./llvm/cmake/config.guess [ 161s] ++ sed -n '/^timestamp=/{s///;s/[-'\''"]//g;p;q;}' ./llvm/cmake/config.guess [ 161s] ++ tr -d $'\r' [ 161s] + timestamp=20240607 [ 161s] + test -n 20240607 [ 161s] + test 20240607 -ge 0 [ 161s] + for s in guess sub [ 161s] ++ find -maxdepth 8 -name config.sub [ 162s] + export AR=llvm-ar RANLIB=llvm-ranlib [ 162s] + AR=llvm-ar [ 162s] + RANLIB=llvm-ranlib [ 162s] + export CC=x86_64-tizen-linux-gnu-clang CXX=x86_64-tizen-linux-gnu-clang++ [ 162s] + CC=x86_64-tizen-linux-gnu-clang [ 162s] + CXX=x86_64-tizen-linux-gnu-clang++ [ 162s] ++ echo -Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g -Wformat-security [ 162s] ++ sed -e 's*\(^\|[[:space:]]\)-g\([[:digit:]]\+\|gdb\|dwarf-[[:digit:]]\)\?* *g' [ 162s] + RELCFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security' [ 162s] + export 'CFLAGS=-Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security' [ 162s] + CFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security' [ 162s] ++ echo -Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g -Wformat-security [ 162s] ++ sed -e 's*\(^\|[[:space:]]\)-g\([[:digit:]]\+\|gdb\|dwarf-[[:digit:]]\)\?* *g' [ 162s] + RELCXXFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security' [ 162s] + export 'CXXFLAGS=-Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security' [ 162s] + CXXFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security' [ 162s] ++ echo -Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g [ 162s] ++ sed -e 's*\(^\|[[:space:]]\)-g\([[:digit:]]\+\|gdb\)|dwarf-[[:digit:]]\\?* *g' [ 162s] + RELFFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g' [ 162s] + export 'FFLAGS=-Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g' [ 162s] + FFLAGS='-Os -fstack-protector -momit-leaf-frame-pointer -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -g' [ 162s] + cp /home/abuild/rpmbuild/SOURCES/llvm.manifest . [ 162s] + mkdir -p build [ 162s] + cd build [ 162s] ++ echo lib64 [ 162s] ++ sed s/lib//g [ 162s] + cmake -DCMAKE_C_COMPILER=x86_64-tizen-linux-gnu-clang -DCMAKE_CXX_COMPILER=x86_64-tizen-linux-gnu-clang++ -DLLVM_HOST_TRIPLE=x86_64-tizen-linux-gnu '-DCMAKE_ASM_FLAGS=-Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security' -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=No '-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;BPF;RISCV' -DLLVM_BUILD_LLVM_DYLIB=1 '-DLLVM_ENABLE_PROJECTS=clang;lldb;clang-tools-extra;compiler-rt' -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_BUILD_TESTS=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_ENABLE_DOXYGEN=OFF -DLLVM_BUILD_DOCS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_LIBDIR_SUFFIX=64 -DLLVM_BINUTILS_INCDIR=/usr/include ../llvm [ 162s] -- The C compiler identification is Clang 19.1.4 [ 162s] -- The CXX compiler identification is Clang 19.1.4 [ 162s] -- The ASM compiler identification is Clang with GNU-like command-line [ 162s] -- Found assembler: /bin/x86_64-tizen-linux-gnu-clang [ 162s] -- Detecting C compiler ABI info [ 162s] -- Detecting C compiler ABI info - failed [ 162s] -- Check for working C compiler: /bin/x86_64-tizen-linux-gnu-clang [ 162s] -- Check for working C compiler: /bin/x86_64-tizen-linux-gnu-clang - broken [ 162s] CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message): [ 162s] The C compiler [ 162s] [ 162s] "/bin/x86_64-tizen-linux-gnu-clang" [ 162s] [ 162s] is not able to compile a simple test program. [ 162s] [ 162s] It fails with the following output: [ 162s] [ 162s] Change Dir: '/home/abuild/rpmbuild/BUILD/llvm-21.1.1/build/CMakeFiles/CMakeScratch/TryCompile-Attu75' [ 162s] [ 162s] Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /bin/gmake -f Makefile cmTC_7a3ec/fast [ 162s] /bin/gmake -f CMakeFiles/cmTC_7a3ec.dir/build.make CMakeFiles/cmTC_7a3ec.dir/build [ 162s] gmake[1]: Entering directory '/home/abuild/rpmbuild/BUILD/llvm-21.1.1/build/CMakeFiles/CMakeScratch/TryCompile-Attu75' [ 162s] Building C object CMakeFiles/cmTC_7a3ec.dir/testCCompiler.c.o [ 162s] /bin/x86_64-tizen-linux-gnu-clang -Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security -MD -MT CMakeFiles/cmTC_7a3ec.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_7a3ec.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_7a3ec.dir/testCCompiler.c.o -c /home/abuild/rpmbuild/BUILD/llvm-21.1.1/build/CMakeFiles/CMakeScratch/TryCompile-Attu75/testCCompiler.c [ 162s] x86_64-tizen-linux-gnu-clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] [ 162s] Linking C executable cmTC_7a3ec [ 162s] /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7a3ec.dir/link.txt --verbose=1 [ 162s] x86_64-tizen-linux-gnu-clang: error: invalid linker name in argument '-fuse-ld=lld' [ 162s] /bin/x86_64-tizen-linux-gnu-clang -Os -fstack-protector -momit-leaf-frame-pointer -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fmessage-length=0 -frecord-gcc-switches -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fuse-ld=lld -Wformat-security -Wl,-z,relro,--as-needed CMakeFiles/cmTC_7a3ec.dir/testCCompiler.c.o -o cmTC_7a3ec [ 162s] gmake[1]: *** [CMakeFiles/cmTC_7a3ec.dir/build.make:103: cmTC_7a3ec] Error 1 [ 162s] gmake[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/llvm-21.1.1/build/CMakeFiles/CMakeScratch/TryCompile-Attu75' [ 162s] gmake: *** [Makefile:133: cmTC_7a3ec/fast] Error 2 [ 162s] [ 162s] [ 162s] [ 162s] [ 162s] [ 162s] CMake will not be able to correctly generate this project. [ 162s] Call Stack (most recent call first): [ 162s] CMakeLists.txt:46 (project) [ 162s] [ 162s] [ 162s] -- Configuring incomplete, errors occurred! [ 162s] error: Bad exit status from /var/tmp/rpm-tmp.VKaaJ8 (%build) [ 162s] [ 162s] [ 162s] RPM build errors: [ 162s] Bad exit status from /var/tmp/rpm-tmp.VKaaJ8 (%build) [ 162s] [ 162s] 1473df5a608f failed "build llvm.spec" at Thu Sep 18 19:12:21 UTC 2025. [ 162s]