Also takes ages to compile because of the gigantic switch stmt. Trying to reproduce with a cross compiler from x86_64. Did you try using g++-4.9 from the gcc49-c++ package?