Helped mrhappypizza install smlnj. Something went wrong with macro expansion in the assembly files in the core runtime. Adding a couple mysterious #defines guided by educated guesses seemed to make everything work. I think this is only like the second or third time I've ever actually compiled smlnj from scratch. I usually just grab the debian package, but tom didn't have root on the relevant machine.