Hello,

I am trying to install pocl in Odroid-XU4 board. But After the installation
when I am trying to run any opencl program I am getting segmentation fault.
I am sharing the gdb error message -

> Starting program: /usr/bin/clinfo
>
> Cannot parse expression `.L1207 4@r4'.
>
> warning: Probes-based dynamic linker interface failed.
>
> Reverting to original interface.
>
>
>> [Thread debugging using libthread_db enabled]
>
> Using host libthread_db library
>> "/lib/arm-linux-gnueabihf/libthread_db.so.1".
>
> Number of platforms                               1
>
>   Platform Name                                   Portable Computing
>> Language
>
>   Platform Vendor                                 The pocl project
>
>   Platform Version                                OpenCL 1.2 pocl 1.3-pre
>> RelWithDebInfo, LLVM 3.8.0, SLEEF, POCL_DEBUG, FP16
>
>   Platform Profile                                FULL_PROFILE
>
>   Platform Extensions                             cl_khr_icd
>
>   Platform Extensions function suffix             POCL
>
>
>> Program received signal SIGSEGV, Segmentation fault.
>
> 0xb55469f6 in std::error_category::equivalent(int, std::error_condition
>> const&) const () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
>
> (gdb) bt
>
> #0  0xb55469f6 in std::error_category::equivalent(int,
>> std::error_condition const&) const () from
>> /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
>
> #1  0xb5565d00 in std::error_code::default_error_condition() const ()
>
>    from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
>
> #2  0xb599c38a in pocl_mkdir_p (
>
>     path=path@entry=0xb6e8623c <cache_topdir>
>> "/home/odroid/.cache/pocl/kcache") at
>> /home/odroid/Tools/pocl-master/lib/llvmopencl/LLVMFileUtils.cc:144
>
> #3  0xb598a1ca in pocl_cache_init_topdir ()
>
>     at /home/odroid/Tools/pocl-master/lib/CL/pocl_cache.c:538
>
> #4  0xb598a998 in pocl_init_devices ()
>
>     at /home/odroid/Tools/pocl-master/lib/CL/devices/devices.c:466
>
> #5  0xb597740c in POclGetDeviceIDs (platform=0xb6e84c4c <_platforms>,
>
>     device_type=<optimized out>, num_entries=0, devices=0x0,
>
>     num_devices=0x423978)
>
>     at /home/odroid/Tools/pocl-master/lib/CL/clGetDeviceIDs.c:50
>
> #6  0x00407c78 in ?? ()
>
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
>
>
> I am stuck at this point for a long time. Do I need to initialize
something or build the pocl in a specific manner. It will be great help if
you can give some insights on it.

Thanks and regards,
Srijeeta
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to