On Jan 2, 2014, at 4:45 , Gopal Rastogi <[email protected]> wrote:

> Hello everyone,
> 
> I have copied the pocl-0.8.tar.gz from 
> http://pocl.sourceforge.net/download.html site.
> I have two machines both having AMD CPU as host processors. In one of those 
> machines it worked fine but In another one, it fails to build with following 
> error:
> 
> make[4]: Entering directory 
> `/home/gopal/rcs_opencl/pocl_demo_02Jan_From_sourceNet/lib/kernel/x86_64'
> /usr/bin/clang -Xclang -ffake-address-space-map -emit-llvm  -ffp-contract=off 
>  -c -target x86_64-unknown-linux-gnu -o get_global_id.c.bc -x c 
> ./../get_global_id.c -include ../../../include/x86_64/types.h
> clang: error: no such file or directory: 'x86_64-unknown-linux-gnu'
> make[4]: *** [get_global_id.c.bc] Error 1
> make[4]: Leaving directory 
> `/home/gopal/rcs_opencl/pocl_demo_02Jan_From_sourceNet/lib/kernel/x86_64'
> 
> Can anyone help me out with this error?

Gopal

Pocl maps a machine's target triple (i.e. x86_64-unknown-linux-gnu) to a 
shorter string identifying the machine's architecture. In your case, this 
string should be x86-64 -- you can look for the respective directory with the 
same name in the subdirectory "lib/kernel". This mapping occurs in 
configure.ac. I assume that the case "x86_64-unknown-linux-gnu" is not handled 
correctly and simply needs to be added.

pocl-0.9 is about to be released. I recommend obtaining the release branch from 
the repository and giving it a try. One would hope that has fewer problems than 
pocl-0.8.

-erik

-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/

My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu/.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to