This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47814] [4.6 Regression] Bootstrap fails on mingw32 by undefined reference to 'lexer_line'
- From: "daniel.f.starke at freenet dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Feb 2011 12:31:55 +0000
- Subject: [Bug target/47814] [4.6 Regression] Bootstrap fails on mingw32 by undefined reference to 'lexer_line'
- Auto-submitted: auto-generated
- References: <bug-47814-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47814
--- Comment #2 from Daniel Starke <daniel.f.starke at freenet dot de> 2011-02-23 12:31:52 UTC ---
(In reply to comment #1)
> lexer_line as well as the other problematic symbols are defined in
> gengtype-lex.c:
> nm build/gengtype-lex.o | egrep 'yybegin|yyend|lexer_line'
> 0000000000000030 B lexer_line
> 0000000000002e38 T yybegin
> 0000000000002e9d T yyend
> which is generated from gengtype-lex.l. Are you sure you don't have buggy or
> not installed flex?
Sorry, it seems that my msys environment was broken for flex which made flex
crash. This did not cause the make process to terminate, hence the failure
occured not until linking. It seems flex wasn't used by gcc 4.5.2 for this
configuration.