Description of problem: When compiling openCL-program with cl::program::build a wrong path is used to '/usr//usr/lib64/clc/polaris11-amdgcn-mesa-mesa3d.bc' The /usr part has been doubled I traced the error to the libMesaOpenCL.so.1.0.0 file by searching in the binary file. Version-Release number of selected component (if applicable): How reproducible: Each time Steps to Reproduce: 1. 2. 3.
Created attachment 12588 [details] The part where the wrong path is located in libMesaOpenCL.so.1.0.0
Created attachment 12589 [details] The cpp-file used to reproduce the error
And the error message from program.getBuildInfo<CL_PROGRAM_BUILD_LOG> is: Error building: fatal error: cannot open file '/usr//usr/lib64/clc/polaris11-amdgcn-mesa-mesa3d.bc': No such file or directory
This comes from broken libclc pkgconfig # cat /usr/lib64/pkgconfig/libclc.pc includedir=/usr/include libexecdir=/usr//usr/lib64/clc
Source RPM: std::cout << "hallo" << std::endl; => libclc
Assignee: bugsquad => thierry.vignaud
should be fixed with: libclc-12.0.0-0.rc4.1.mga9 mesa-21.0.2-1.mga9 (currently building)
Perfect. With mesa-21.0.2-1.mga9 and libclc-12.0.0-0.rc4.1.mga9 it works as expected. Good work!
Good. Closing then
Status: NEW => RESOLVEDResolution: (none) => FIXED