Sorry, I forgot to add a few more caveats to the mips64el build:
You need the patch at the bottom of this email (hopefully Thunderbird won't mangle it).
Additionally, I ported gas-2.22 to the loongson, which is needed for the loongson build. I can send that separately, if such a port is desired.
Thanks. ~Brian $OpenBSD$ --- lib/Support/Memory.cpp.orig Fri May 25 21:49:01 2012 +++ lib/Support/Memory.cpp Fri May 25 21:50:12 2012 @@ -17,7 +17,7 @@ #include "llvm/Config/config.h" #if defined(__mips__) -#include <sys/cachectl.h> +#include <mips64/sysarch.h> #endif namespace llvm {