https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306

--- Comment #9 from Zdenek Sojka <zsojka at seznam dot cz> ---
(In reply to Andrew Pinski from comment #8)
> (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.

$ ls -latR /usr/include/CL
/usr/include/CL:
total 28
drwxr-xr-x 1 root root 15388 Nov 17 08:32 ..
drwxr-xr-x 1 root root   114 Jan 23  2017 .
lrwxrwxrwx 1 root root    43 Jan 23  2017 cl.hpp ->
../../lib64/OpenCL/global/include/CL/cl.hpp
lrwxrwxrwx 1 root root    41 Jan 23  2017 cl.h ->
../../lib64/OpenCL/global/include/CL/cl.h
lrwxrwxrwx 1 root root    50 Jan 23  2017 cl_platform.h ->
../../lib64/OpenCL/global/include/CL/cl_platform.h
lrwxrwxrwx 1 root root    45 Jan 23  2017 opencl.h ->
../../lib64/OpenCL/global/include/CL/opencl.h
lrwxrwxrwx 1 root root    45 Jan 23  2017 cl_ext.h ->
../../lib64/OpenCL/global/include/CL/cl_ext.h
lrwxrwxrwx 1 root root    48 Jan 23  2017 cl_gl_ext.h ->
../../lib64/OpenCL/global/include/CL/cl_gl_ext.h
lrwxrwxrwx 1 root root    44 Jan 23  2017 cl_gl.h ->
../../lib64/OpenCL/global/include/CL/cl_gl.h

thank you for pointing that out; these are broken symlinks (maybe there was a
package providing these, which was removed later)

Reply via email to