Hi, Vincent, Pekka,
$ ldd /usr/lib/libpocl.so.1.2.0
linux-vdso.so.1 => (0x00007fff8d235000)
libhwloc.so.5 => /usr/lib/libhwloc.so.5 (0x00007ffb6c99a000)
libnuma.so.1 => /usr/lib/libnuma.so.1 (0x00007ffb6c791000)
libOpenCL.so.1 => /usr/lib/libOpenCL.so.1 (0x00007ffb6c577000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007ffb6c227000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007ffb6c01d000)
libz.so.1 => /lib/libz.so.1 (0x00007ffb6be05000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007ffb6bbe8000)
libffi.so.5 => /usr/lib/libffi.so.5 (0x00007ffb6b9e0000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00007ffb6b79c000)
librt.so.1 => /lib/librt.so.1 (0x00007ffb6b594000)
libdl.so.2 => /lib/libdl.so.2 (0x00007ffb6b390000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ffb6b07b000)
libm.so.6 => /lib/libm.so.6 (0x00007ffb6adf8000)
libLLVM-3.4.so => /usr/lib/libLLVM-3.4.so (0x00007ffb69034000)
libc.so.6 => /lib/libc.so.6 (0x00007ffb68cac000)
/lib64/ld-linux-x86-64.so.2 (0x00007ffb6d933000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007ffb68a95000)
This file has correct time (yesterday, 23:11).
I can recompile LLVM-3.4 and/or pocl-0.9. Maybe, I should remove LLVM-3.3 and
compile clang-3.4 before this...
With the best wishes,
Oleg.
Четверг, 27 февраля 2014, 22:07 +01:00 от Vincent Danjean <[email protected]>:
>On 27/02/2014 20:26, Anti_Tenzor wrote:
>> Hi, Vincent,
>>
>> I set OCL_ICD_DEBUG=15 and I hope following messages will bring some light
>> to the situation:
>>
>> ocl-icd(ocl_icd_loader.c:469): __initClIcd: Only loading
>> '/etc/OpenCL/vendors/pocl.icd' as an ICD
>> ocl-icd(ocl_icd_loader.c:210): _open_driver: Considering file
>> '/etc/OpenCL/vendors/pocl.icd'
>> ocl-icd(ocl_icd_loader.c:184): _load_icd: Loading ICD
>> '/usr/lib/libpocl.so.1.2.0'
>> ocl-icd(ocl_icd_loader.c:191): _load_icd: error while dlopening the IDL:
>> '/usr/lib/libpocl.so.1.2.0: undefined symbol: _ZN4llvm3sys13PathSeparatorE',
>> => skipping ICD
>
>The pocl shared lib is not linked correctly (or some dependencies
>are not in the LIBRARY_PATH).
>=> the ocl-icd installation is correct and working.
>The fix must be in pocl.
>
>What says "ldd /usr/lib/libpocl.so.1.2.0" ?
>Is /usr/lib/libpocl.so.1.2.0 the last version you compile of pocl ?
>(look at the date with "ls -l")
>
>According to the c++filt tools, _ZN4llvm3sys13PathSeparatorE is
>the llvm::sys::PathSeparator C++ symbol. So, I suspect that
>pocl is not linked correctly to an llvm library.
>
> Regards,
> Vincent
>
>> ocl-icd(ocl_icd_loader.c:242): _open_driver: return: 0/0x0
>> ocl-icd(ocl_icd_loader.c:694): clGetPlatformIDs: Entering
>> ocl-icd(ocl_icd_loader.c:703): clGetPlatformIDs: return:
>> -1001/0xfffffffffffffc17
>>
>> error: CL_PLATFORM_NOT_FOUND_KHR; handlesLength: 0
>>
>>
>> I have pocl-0.9 built from source tarball, modified ocl-icd you've sent me,
>> llvm-3.3 and 3.4 built from source tarball. clang-3.3 is present.
>> I observe these messages _after_ I recompiled pocl-0.9 with ocl-icd already
>> present.
>>
>> Should I call some more diagnostic commands to narrow search field?
>>
>> Thank you in advance,
>> Oleg.
>>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel