or this target (ignoring processor) WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch. LLVM ERROR: Cannot select: 0x2aaae634c0: ch = store<(store 4 into %ir.mask_store20.sub58, align 16), trunc to i32> 0x2aaae5a5c8, 0x2aaae77390, FrameIndex:i64<4>, undef:i64 0x2aaae77390: i64 = sub Constant:i64<0>, 0x2aaae690f8 0x2aaae5a428: i64 = Constant<0> 0x2aaae690f8: i64 = and 0x2aaae697e0, Constant:i64<1> 0x2aaae697e0: i64,ch = load<(load 4 from %fixed-stack.3, align 8), zext from i32> 0x2aaad7d358, FrameIndex:i64<-2>, undef:i64 0x2aaae59e78: i64 = FrameIndex<-2> 0x2aaae59da8: i64 = undef 0x2aaae5a4f8: i64 = Constant<1> 0x2aaae5a2f0: i64 = FrameIndex<4> 0x2aaae59da8: i64 = undef In function: fs131_variant0_partial ------- 11/17 glx_public_api OK 2.71 s --- command --- /builddir/build/BUILD/libepoxy-1.5.4/riscv64-redhat-linux-gnu/test/glx_public_api ------- 12/17 glx_public_api_core OK 2.88 s --- command --- /builddir/build/BUILD/libepoxy-1.5.4/riscv64-redhat-linux-gnu/test/glx_public_api_core ------- 13/17 glx_glxgetprocaddress_nocontext OK 1.91 s --- command --- /builddir/build/BUILD/libepoxy-1.5.4/riscv64-redhat-linux-gnu/test/glx_glxgetprocaddress_nocontext ------- 14/17 glx_has_extension_nocontext OK 1.64 s --- command --- /builddir/build/BUILD/libepoxy-1.5.4/riscv64-redhat-linux-gnu/test/glx_has_extension_nocontext ------- 15/17 glx_shared_znow OK 2.22 s --- command --- /builddir/build/BUILD/libepoxy-1.5.4/riscv64-redhat-linux-gnu/test/glx_shared_znow ------- 16/17 glx_alias_prefer_same_name FAIL 0.36 s (exit status 1) --- command --- /builddir/build/BUILD/libepoxy-1.5.4/riscv64-redhat-linux-gnu/test/glx_alias_prefer_same_name --- stderr --- Internal error: Failed to find real dlsym This may be a simple matter of fips not knowing about the version of GLIBC that your program is using. Current known versions are: GLIBC_2.17 GLIBC_2.4 GLIBC_2.3 GLIBC_2.2.5 GLIBC_2.2 GLIBC_2.0 FBSD_1.0 You can inspect your version by first finding libdl.so.2: ldd | grep libdl.so And then inspecting the version attached to the dlsym symbol: readelf -s /path/to/libdl.so.2 | grep dlsym And finally, adding the version to dlwrap.c:dlwrap_real_dlsym. ------- 17/17 glx_gles2 FAIL 0.23 s (exit status 1) --- command --- /builddir/build/BUILD/libepoxy-1.5.4/riscv64-redhat-linux-gnu/test/glx_gles2 --- stderr --- Internal error: Failed to find real dlsym This may be a simple matter of fips not knowing about the version of GLIBC that your program is using. Current known versions are: GLIBC_2.17 GLIBC_2.4 GLIBC_2.3 GLIBC_2.2.5 GLIBC_2.2 GLIBC_2.0 FBSD_1.0 You can inspect your version by first finding libdl.so.2: ldd | grep libdl.so And then inspecting the version attached to the dlsym symbol: readelf -s /path/to/libdl.so.2 | grep dlsym And finally, adding the version to dlwrap.c:dlwrap_real_dlsym. ------- Ok: 14 Expected Fail: 0 Fail: 3 Unexpected Pass: 0 Skipped: 0 Timeout: 0 RPM build errors: + exit 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.SjrrvW (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.SjrrvW (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/libepoxy.spec