http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54170
--- Comment #8 from bekenn at yopmail dot com 2012-08-06 08:11:38 UTC --- (In reply to comment #4) > If submitter can try current 4_7-branch or mainline, it would be easy for him > to double check. I installed mint in a virtual machine to test those, but I couldn't get either trunk or gcc-4_7 to build; I got these errors, which I haven't bothered to investigate: build/gengtype.o: In function `create_optional_field_': /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype.c:853: undefined reference to `lexer_line' build/gengtype.o: In function `adjust_field_rtx_def': /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype.c:989: undefined reference to `lexer_line' /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype.c:1045: undefined reference to `lexer_line' /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype.c:1055: undefined reference to `lexer_line' /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype.c:1121: undefined reference to `lexer_line' build/gengtype.o:/home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype.c:1160: more undefined references to `lexer_line' follow build/gengtype-parse.o: In function `token': /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:53: undefined reference to `yylex' build/gengtype-parse.o: In function `parse_error': /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:142: undefined reference to `lexer_line' /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:142: undefined reference to `lexer_line' build/gengtype-parse.o: In function `struct_field_seq': /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:692: undefined reference to `lexer_line' build/gengtype-parse.o: In function `type': /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:726: undefined reference to `lexer_line' /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:758: undefined reference to `lexer_line' build/gengtype-parse.o:/home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:758: more undefined references to `lexer_line' follow build/gengtype-parse.o: In function `parse_file': /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:951: undefined reference to `yybegin' /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:986: undefined reference to `lexer_toplevel_done' /home/bekenn/Projects/gcc-build/gcc/../../gcc-4_7/gcc/gengtype-parse.c:991: undefined reference to `yyend' collect2: ld returned 1 exit status