This showed up in mips and mips64 builds. A combination of templates and the error reporting were causing gcc to crash. This splits up the functionality in a way that now successfully compiles.