LLVM code generator warning

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

LLVM code generator warning

Post by sje »

I tried some experimentation with using the LLVM code generator in place of the g++ 4.2 generator and encountered a problem that occurred at run time.

When running a test on ine #70, my program built with the LLVM back end generated a bus error. The error was repeatable; it happened every time the program passed the 40th iteration of looking at Fine #70. Apparently there is some stack length/space limitation in the LLVM code that is not present in the g++ code. These is also the possibility that the Clang compiler front end may have some responsibility, but I doubt that.