OK, I will put post some log file tomorrow.
However, I am surprised that you can do cross compile on your host machine for 
ARM pocl. When I was trying to do the cross compile on the ubuntnu 12.04 X86 
machine for ARM, during the configuration, it always say "libtool dl library 
cannot found", I installed it for X86, pocl was built correctly on X86.
Could u share the configuration option for the ARM cross build?

my configuration command is 
./configuration --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf

Should I set up LLVM_CONFIG, LLVM_LD, LLVM_AS etc during configuration?


 
Regards,
Yi


________________________________
 From: Pekka Jääskeläinen <[email protected]>
To: [email protected] 
Sent: Wednesday, October 3, 2012 4:48 AM
Subject: Re: [pocl-devel] build pocl-0.6 on ARM board
 
On 10/02/2012 08:31 PM, Yi Ge wrote:
> I have trouble to build pocl-0.6 on the ARM ubuntnu 12.04 target board
> (target board is ARM board), I did the native build, it always tell me
> command "cru" cannot be found.

Can you post some of the compilation log? Where does it fail? In
the kernel built-in library compilation process perhaps? In that
case it might be something related to llvm-ar as it's used to
create the bitcode archive of the kernel builtins.

Check lib/kernel/Makefile.am and the target-specific subdirs that
are used to override some of the built-ins with manually target-optimized
ones. Perhaps the fallback of using the generic kernel library does not
work for your env correctly and the 'arm' subdir doesn't work either.

> Anybody can post the process to build pocl in the ARM platform?

Refreshing the ARM support is what I need to do at some point
as soon as I find time. It would be great to get a buildbot
for an ARM environment.

It's not so easy for me as my only ARM test device is currently my
Nokia N9 smart phone which I carry with me, that is, I have no special
ARM development board yet here.

Your environment sounds nicer to work in as it seems you can
compile everyting natively. It's possible you need to tweak
the build files to detect this type of setup correctly and
use the correct kernel build libs etc. Ubuntu 12.04 should not
be a problem so my guess is it's something to do with the kernel
built-in library build process for your target.

Last year when I tested and made the ARM Cortex A8 support to work,
I used the scratchbox cross compilation environment to build the binaries
(Clang, LLVM, pocl) which I scp'd to the N9 for real testing.
It didn't work perfectly but most of the (small) test suite back then
worked and, e.g., the vector data types used the NEON SIMD
ISE, if I remember correctly.

In case you cannot figure out, perhaps you could arrange me
an ssh access to this board. I can then fix the build remotely
as soon as I find some pocl time.

-- 
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
------------------------------------------------------------------------------
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

Reply via email to