Too many sections, assembler error, using boost::spirit
问题 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 compiler consumes 1.6GB of RAM ( g++ (GCC) 4.8.1 ), this is not an issue however, as there's plenty of memory on this machine. What is an issue however, is that when the compiler is done, and the assembler starts running ( GNU assembler (GNU Binutils) 2.23.52.20130604 ), it crashes with; as: build/src/ast_generate.o: too many sections