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: 0x2aaae63e90: ch = store<(store 4 into %ir.mask_store20.sub58, align 16), trunc to i32> 0x2aaae5ad28, 0x2aaae77cc0, FrameIndex:i64<4>, undef:i64 0x2aaae77cc0: i64 = sub Constant:i64<0>, 0x2aaae69a28 0x2aaae5ab88: i64 = Constant<0> 0x2aaae69a28: i64 = and 0x2aaae6a110, Constant:i64<1> 0x2aaae6a110: i64,ch = load<(load 4 from %fixed-stack.3, align 8), zext from i32> 0x2aaad7d528, FrameIndex:i64<-2>, undef:i64 0x2aaae5a5d8: i64 = FrameIndex<-2> 0x2aaae5a508: i64 = undef 0x2aaae5ac58: i64 = Constant<1> 0x2aaae5aa50: i64 = FrameIndex<4> 0x2aaae5a508: 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.64 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.85 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.53 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.10 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.29 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.33 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.RDpWnu (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RDpWnu (%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