https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Zdenek Sojka from comment #6) > With 04c5a91d068c4ca2f09c2bc206fce00db9d1790b reverted, the output is: > > $ grep -C5 'Cannot access ' gcccompile-REVERT.log > Applying io_quotes_use to xorg/xorgVersion.h > Applying io_quotes_use to xorg/xf86Module.h > Applying strict_ansi_only to xorg/compiler.h > Fixed: xorg/compiler.h > Quoted includes in xorg/compiler.h > Cannot access CL/cl_ext.h from /usr/include > error 2 (No such file or directory) > Cannot access CL/cl_gl_ext.h from /usr/include > error 2 (No such file or directory) > Cannot access CL/cl_gl.h from /usr/include > error 2 (No such file or directory) > Cannot access CL/cl.h from /usr/include > error 2 (No such file or directory) > Cannot access CL/cl_platform.h from /usr/include > error 2 (No such file or directory) > Cannot access CL/opencl.h from /usr/include > error 2 (No such file or directory) can you do: ls -latR /usr/include/CL ? Because I think your filesystem is corrupted. There are no references to CL or cl_ext.h in fixincludes at all.