This is the mail archive of the
mailing list for the binutils project.
Re: ld build configured with additional targets is broken
On 10/31/2016 10:48 AM, Nick Clifton wrote:
I found that suppressing the inclusion of elf.h was an effective workaround
for the problem. Ie:
+/* Prevent the inclusion of /usr/include/elf.h which contains
+ definitions that conflict with include/elf/mips.h. */
+#define _ELF_H 1
This is not a supported use of a glibc header. The _ELF_H symbol is
completely internal, and this can break at an time.
But more confusing is that why still get the AT_PLATFORM definition if
you do this.