I\'m in the progress of writing a compiler for a subset of Java, using boost::spirit, for lexing and parsing. During compilation of the lexer/parser phase, the
boost::spirit
Try adding -Wa,-mbig-obj to your CXX_FLAGS. This will work with new enough gcc.
-Wa,-mbig-obj
CXX_FLAGS
gcc