I think the main issue was the lack of -ffreestanding, which pulled in the host's stdint.h. After that things went rapidly downhill. llvm-svn: 172653
llvm-svn: 172650