On 2011/12/06 12:41, Sebastian Reitenbach wrote: > I also found why llvm did not compiled for me with cmake (I reported that > before when you sent the rc2 I think): > In my /etc/mk.conf I had defined: > DEBUG=-g -O0
-O0 - this could very well explain why it was so slow ... personally I would usually set this on the command line if I need it ('make package DEBUG="-g -O0"'). Still, this should work, I'll see if I can work out what's going on. (Looks like there are some -lpthread I need to change to -pthread too).