bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/25064] FTB "ld/ldlang.h:299:3: error: unknown type name ‘ctf_arc


From: jozef.l at mittosystems dot com
Subject: [Bug ld/25064] FTB "ld/ldlang.h:299:3: error: unknown type name ‘ctf_archive_t’"
Date: Sat, 05 Oct 2019 10:05:03 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]