b/kernel/host/generic-rv64/get_global_offset.c.bc -c /builddir/build/BUILD/pocl-4.0/lib/kernel/get_global_offset.c -I/builddir/build/BUILD/pocl-4.0/include -include /builddir/build/BUILD/pocl-4.0/include/_kernel_c.h In file included from :1: In file included from /builddir/build/BUILD/pocl-4.0/include/_kernel_c.h:34: In file included from /builddir/build/BUILD/pocl-4.0/include/pocl_types.h:102: In file included from /usr/lib64/clang/16/include/stdint.h:52: In file included from /usr/include/stdint.h:26: In file included from /usr/include/bits/libc-header-start.h:33: In file included from /usr/include/features.h:515: /usr/include/gnu/stubs.h:14:11: fatal error: 'gnu/stubs-lp64.h' file not found # include ^~~~~~~~~~~~~~~~~~ 1 error generated. [66/575] cd /builddir/build/BUILD/pocl-4.0/redhat-linux-build/lib/kernel/host && /usr/bin/clang --target=riscv64-redhat-linux-gnu -D_HAS_FLOAT16_TYPE -mcpu=generic-rv64 -emit-llvm -ffp-contract=off -DPRINTF_IMMEDIATE_FLUSH -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL3.0 -D__OPENCL_C_VERSION__=300 -DENABLE_SLEEF=1 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=300 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64=1 -Dcl_khr_byte_addressable_store=1 -Dcl_khr_global_int32_base_atomics=1 -Dcl_khr_global_int32_extended_atomics=1 -Dcl_khr_local_int32_base_atomics=1 -Dcl_khr_local_int32_extended_atomics=1 -Dcl_khr_3d_image_writes=1 -Dcl_khr_command_buffer=1 -Dcl_khr_subgroups=1 -Dcl_intel_unified_shared_memory=1 -Dcl_khr_subgroup_ballot=1 -Dcl_khr_subgroup_shuffle=1 -Dcl_intel_subgroups=1 -Dcl_intel_required_subgroup_size=1 -Dcl_khr_spir=1 -Dcl_khr_fp16=1 -Dcl_khr_fp64=1 -Dcl_khr_int64_base_atomics=1 -Dcl_khr_int64_extended_atomics=1 -D__opencl_c_3d_image_writes=1 -D__opencl_c_images=1 -D__opencl_c_atomic_order_acq_rel=1 -D__opencl_c_atomic_order_seq_cst=1 -D__opencl_c_atomic_scope_device=1 -D__opencl_c_program_scope_global_variables=1 -D__opencl_c_generic_address_space=1 -D__opencl_c_subgroups=1 -D__opencl_c_atomic_scope_all_devices=1 -D__opencl_c_read_write_images=1 -D__opencl_c_fp16=1 -D__opencl_c_fp64=1 -D__opencl_c_int64=1 -Xclang -cl-ext=-all,+cl_khr_byte_addressable_store,+cl_khr_global_int32_base_atomics,+cl_khr_global_int32_extended_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_local_int32_extended_atomics,+cl_khr_3d_image_writes,+cl_khr_command_buffer,+cl_khr_subgroups,+cl_intel_unified_shared_memory,+cl_khr_subgroup_ballot,+cl_khr_subgroup_shuffle,+cl_intel_subgroups,+cl_intel_required_subgroup_size,+cl_khr_spir,+cl_khr_fp16,+cl_khr_fp64,+cl_khr_int64_base_atomics,+cl_khr_int64_extended_atomics,+__opencl_c_3d_image_writes,+__opencl_c_images,+__opencl_c_atomic_order_acq_rel,+__opencl_c_atomic_order_seq_cst,+__opencl_c_atomic_scope_device,+__opencl_c_program_scope_global_variables,+__opencl_c_generic_address_space,+__opencl_c_subgroups,+__opencl_c_atomic_scope_all_devices,+__opencl_c_read_write_images,+__opencl_c_fp16,+__opencl_c_fp64,+__opencl_c_int64, -o /builddir/build/BUILD/pocl-4.0/redhat-linux-build/lib/kernel/host/generic-rv64/convert_type.cl.bc -c /builddir/build/BUILD/pocl-4.0/lib/kernel/convert_type.cl -include /builddir/build/BUILD/pocl-4.0/include/_kernel.h -include /builddir/build/BUILD/pocl-4.0/include/_enable_all_exts.h ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.wE5E20 (%build) Bad exit status from /var/tmp/rpm-tmp.wE5E20 (%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 600, 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/pocl.spec