I tried to get it working on OSX, I was able to compile it after some changes but I get "segmentation fault" when compiling the kernel... It does work when I choose my SB CPU as device though
Oh my, this could be an OpenCL implementation bug. Which type of card is this? Doesn't Apple have their own implementation, or how does that work on OS X?
You could grab the openclcc standalone compiler from
http://code.google.com/p/openclcc/ and use it to test-compile the kernel. At the very least, this program might not segfault, which would confirm that oclvanitygen is doing something wrong. You could also run oclvanitygen under gdb and collect a stack trace, which could be helpful either way.
There will definitely need to be a Makefile.OSX in the near future, or maybe cmake.
Ok, openclcc was supernasty to build on OSX, with no support or instructions avaliable. At last I got it to build, and ran into this failure when trying to compile calc_addrs.cl
File: calc_addrs.cl
- Checking... Error
---------------
OpenCLcc output
---------------
OpenCL Error: -43
The card I am using is an ATI radeon 6490M.
Btw, I have a Makefile.osx together with some #ifdef in oclvanitygen.c, I will push it as soon everything is working.