Closed
Description
On Fedora 28 + gcc 8.2.1
CMakeFiles/sycl.dir/source/detail/device_info.cpp.o: In function cl::sycl::detail::get_native_vector_width(unsigned long)': device_info.cpp:(.text._ZN2cl4sycl6detail23get_native_vector_widthEm+0x3): undefined reference to
__cpu_model'
I can fix this by manually adding -lgcc to the end of the c++ linker line, but that probably means something has gone wrong elsewhere, just mentioning here in case anyone else hits it.