On 15/10/12 22:37, ext Yi Ge wrote: > Anybody built pocl ARM > version successfully? Could u share the environment details and build > process?
Don't know if our problems here are related, but I failed to get pocl compiled on ARM too. My setup is a pandaboard, I tried with ubuntu 12.04 and 11.04. On the 12.04 clang-3.1 was not able to build binaries at all, even when used outside of pocl as a plain C compiler. It tried to link in some crt.o files that didn't seem to exists on unbuntu 12.04-arm. This could be due to the 12.04 being an upgraded distro, not a fresh install (i.e. some glitch in apt, or in me using it). This file in clang: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?view=markup shows there are a some platform-specifics needed :) I tried on ubuntu 11.04 too, with more success - clang was able to compile 'hello_world.c', at least. But with pocl, I noticed that the clang-binary does not like what the ./configure of pocl sets as host/target triple. clang wanted to change this (armv7-....) into armv4...., and thus use an ABI with soft-floats. And such a library was not found on the platform (not found by pocl/clang, at least). Both cases used a natively built LLVM+Clang 3.1. I had no problems building it with the standard "./configure" on either distro (well, except that on the 12.04 clang didn't work). As toolchain I used what gcc the ubuntu had as default. kalle -- But beware the debugger. Dark side of the source it is. If once you start down the dark path, forever will it dominate your destiny. Consume you it will. ------------------------------------------------------------------------------ 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
