Kalle

   I got example2 working on the ARM board, For pthread.c file, I changed the 
line 
#define ALIGNMENT (max(ALIGNOF_FLOAT16, ALIGNOF_DOUBLE16)) to 
hardcoded  #define ALIGNMENT 64




 
Regards,
Yi


________________________________
 From: Kalle Raiskila <[email protected]>
To: Yi Ge <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Friday, November 16, 2012 2:36 AM
Subject: Re: [pocl-devel] build pocl-0.6 on ARM board
 
On 15/11/12 21:06, ext Yi Ge wrote:
> Kalle
> 
> Thanks, configuration is fine now, I can start to build it. However,
> in the tools/llvm-ld/Makefile, it has flags pocl_llvm_ld_LDFLAGS, it
> will point to -lLLVM3.1, I do really have LLVM3.1 library there, it
> says it cannot find it even though I already passed it through
> LDFLAGS through configuration, based on the LLVM library name, I
> changed it to -lLLVM, still cannot find it. What do u suggest to fix
> this issue?
> 

Sounds familiar. I guess you didn't build a shared-library version of LLVM? Do 
you have a file named lib/libLLVM-3.1.so where you installed LLVM?

If not, try adding --enable-shared to your LLVM configure options, rebuild LLVM 
and then rebuild pocl.

That we don't check for this is a bug in pocl, I added it to the bug list: 
https://bugs.launchpad.net/pocl/+bug/1079569

If this is not the issue, please post your config.log - that might help 
decipher the issue, thanks.

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.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to