ck-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ) works... (cached) yes checking whether the C++ compiler (/usr/bin/g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether /usr/bin/g++ -std=gnu++17 accepts -g... (cached) yes checking for ranlib... ranlib checking for /usr/bin/gcc... /usr/bin/gcc -std=gnu99 checking for strip... strip checking for sb-conf... no checking for ve... no checking for X... no checking for --noexecstack option to as... yes checking for -z noexecstack option to ld... yes checking for -z text option to ld... yes checking for -z relro option to ld... yes checking for -z nocopyreloc option to ld... yes checking for -Bsymbolic-functions option to ld... yes checking for --build-id=sha1 option to ld... yes checking whether the linker supports Identical Code Folding... no checking whether removing dead symbols breaks debugging... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking whether 64-bits std::atomic requires -latomic... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether /usr/bin/gcc -std=gnu99 accepts -pthread... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for gmtime_r... yes checking for localtime_r... yes checking for pthread_getname_np... yes checking for pthread_get_name_np... no checking for clock_gettime(CLOCK_MONOTONIC)... checking for sin in -lm... yes checking for res_ninit()... yes checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking whether va_list can be copied by value... yes checking for __thread keyword for TLS variables... yes checking for localeconv... yes checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for -pipe support... yes checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking for posix_fadvise... yes checking for posix_fallocate... yes checking for malloc.h... yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes checking whether malloc_usable_size definition can use const argument... no checking for valloc in malloc.h... yes checking for valloc in unistd.h... no checking for _aligned_malloc in malloc.h... no updating cache ./config.cache creating ./config.data Creating config.status RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.5xtQFb (%build) Bad exit status from /var/tmp/rpm-tmp.5xtQFb (%build) 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: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mozjs78.spec