Thanks.
I got pocl built correctly on my ARM board. The previous issue is that when I
crossed compile LLVM3.1, I used some toolchain, the binary cannot be invoked on
my ARM board, after changed to 4.6.4 linaro toolchain, it works.
But I can NOT run the examples, the issue is that inside clCreateKernel
function, it calls the lt_dlopen, but it didn't return any errors, but exit
inside the lt_dlopen, the descriptor_filename was verified correct. Because
there is no error reported, I was baffled by it. Is there any advice for it?
The same example can run well under X86
Regards,
Yi
________________________________
From: Pekka Jääskeläinen <[email protected]>
To: Yi Ge <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Thursday, October 4, 2012 3:41 AM
Subject: Re: [pocl-devel] build pocl-0.6 on ARM board
On 10/04/2012 12:19 AM, Yi Ge wrote:
> Could u share the configuration option for the ARM cross build?
I used the Scratchbox of which idea is to setup a native-looking environment
where projects can be built without needing to use the cross compilation
features of compilers/build scripts.
http://www.scratchbox.org/
It's more like a native emulation environment AFAIU, so no, I didn't use
cross compilation features of compilers to produce the binaries. And this was
last year so details have been forgotten. Possibly the configure check
for the libdl fails to look into your cross compilation environment
paths or similar.
Perhaps "bzr log | grep -B5 -A5 -i arm" in the branch helps to locate
the interesting revisions where I did some changes to get it running.
The installed LLVM should be detected automatically so no need to setup
anything if you have 'llvm-config' in PATH and the LLVM libs found by
the dynamic linker (e.g., via LD_LIBRARY_PATH).
-- Pekka
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel