Not a llvm bug, but /home/abuild/rpmbuild/BUILD/pocl-1.2/build/config.h @@ -135,7 +135,7 @@ /* used in lib/CL/devices/basic */ #define OCL_KERNEL_TARGET "x86_64-unknown-linux-gnu" -#define OCL_KERNEL_TARGET_CPU "haswell" +#define OCL_KERNEL_TARGET_CPU "pentium2" being used in all 3 differing .o files: lib/CL/devices/basic/basic.c: dev->llvm_cpu = OCL_KERNEL_TARGET_CPU; lib/CL/pocl_llvm_utils.cc: OCL_KERNEL_TARGET_CPU " for -target-cpu\n"); lib/CL/pocl_llvm_utils.cc: r = llvm::StringRef(OCL_KERNEL_TARGET_CPU); lib/CL/pocl_llvm_build.cc: kernellib_fallback += OCL_KERNEL_TARGET_CPU;