https://sourceware.org/bugzilla/show_bug.cgi?id=25064
--- Comment #2 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> --- (In reply to Alan Modra from comment #1) > You are somehow using an old version of a generated file, ld/ldlex.c. This > should be generated from ldlex.l if you have flex/bison installed, a > requirement for building from git sources. Hmm, it seems that having an old version of ld/ldlex.c in the source tree caused this issue. It's ignored by git due to the .gitignore in ld/. Should the default .gitignore have rules for generated files which shouldn't be in the source tree in the first place? I don't know how the file got there, but removing it fixed the build failure. Thanks. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils