On Wed, May 09, 2012 at 10:46:33PM +0200, Chris Harding wrote:
> Cheers! Turns out if I switch to using the older LLVM-GCC compiler in Xcode I 
> can leave the call to__clear_cache in the orc library and it doesn't complain.
> 
> If I try and run the code in testsuite/encode.c (on the phone) I get errors 
> at the end of orc_memcpy when calling func = c->exec. Occasionally it will 
> get as far as pushing one or two frames before this occurs. Any ideas?

No clue.  If you run with 'ORC_CODE=backup' or 'ORC_CODE=emulate' in the
environment, it will run a lot slower, but tends to be more debuggable.
If it works with either of those, that is a strong indication of bad
code generation on Arm/Neon, which is unlikely, but happens.

> Also, is there an easy way to force the program to run in a single thread for 
> the time being, to aid debugging?

SCHRO_THREADS=1, or better, configure and compile with --with-thread=none.



David


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Schrodinger-devel mailing list
Schrodinger-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to