[Bug 218644] fix build lang/beignet with llvm 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 1 00:35:34 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218644

--- Comment #5 from Eric Camachat <eric at camachat.org> ---
(In reply to Eric Camachat from comment #2)
D11377 has the same hang:
% clinfo
Number of platforms                               1
  Platform Name                                   Intel Gen OCL Driver
  Platform Vendor                                 Intel
  Platform Version                                OpenCL 2.0 beignet 1.4
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics
cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer
cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator
cl_intel_subgroups cl_intel_subgroups_short cl_intel_media_block_io
cl_intel_planar_yuv cl_khr_gl_sharing
  Platform Extensions function suffix             Intel

^C
$ truss clinfo
...
mmap(0x0,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34508562432
(0x808dee000)
fstatat(AT_FDCWD,"/usr/local/lib/beignet/include",{ mode=drwxr-xr-x
,inode=213101,size=31,blksize=4096 },0x0) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/lib/beignet/include/ocl_types.h",{ mode=-rw-r--r--
,inode=205780,size=4523,blksize=4608 },0x0) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/lib/beignet/include/ocl_defines.h",{
mode=-rw-r--r-- ,inode=205763,size=6593,blksize=6656 },0x0) = 0 (0x0)
openat(AT_FDCWD,"/usr/local/lib/beignet/include/ocl_types.h",O_RDONLY,00) = 5
(0x5)
fstatat(AT_FDCWD,"/usr",{ mode=drwxr-xr-x ,inode=9,size=17,blksize=4096
},AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local",{ mode=drwxr-xr-x ,inode=159,size=18,blksize=4096
},AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/lib",{ mode=drwxr-xr-x
,inode=16470,size=578,blksize=16384 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/lib/beignet",{ mode=drwxr-xr-x
,inode=213095,size=10,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/lib/beignet/include",{ mode=drwxr-xr-x
,inode=213101,size=31,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/lib/beignet/include/ocl_types.h",{ mode=-rw-r--r--
,inode=205780,size=4523,blksize=4608 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
pread(5,"/*\n * Copyright \M-B\M-) 2012 -"...,4523,0x0) = 4523 (0x11ab)
sigprocmask(SIG_SETMASK,{
SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2
},{ }) = 0 (0x0)
close(5)                                         = 0 (0x0)
sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list