I was blocked by Issue 5570 (DMD64), here was the progress I made before giving up https://gist.github.com/1131642