This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/16445] New: gdb fails to build with: common.h:36:0: error: "ELFMAG0" redefined [-Werror]
- From: "burnus at gmx dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 14 Jan 2014 06:51:54 +0000
- Subject: [Bug build/16445] New: gdb fails to build with: common.h:36:0: error: "ELFMAG0" redefined [-Werror]
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16445
Bug ID: 16445
Summary: gdb fails to build with: common.h:36:0: error:
"ELFMAG0" redefined [-Werror]
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: burnus at gmx dot de
Created attachment 7355
--> https://sourceware.org/bugzilla/attachment.cgi?id=7355&action=edit
build failure
The gdb git-HEAD build fails here with GCC 4.9 as follows (see attachment for
the full failure):
In file included from ../../../gdb/gdbserver/linux-x86-low.c:29:0:
../../../gdb/gdbserver/../../include/elf/common.h:36:0: error: "ELFMAG0"
redefined [-Werror]
#define ELFMAG0 0x7F /* Magic number byte 0 */
^
In file included from ../../../gdb/gdbserver/gdb_proc_service.h:37:0,
from ../../../gdb/gdbserver/linux-low.h:23,
from ../../../gdb/gdbserver/linux-x86-low.c:25:
/usr/include/linux/elf.h:344:0: note: this is the location of the previous
definition
#define ELFMAG0 0x7f /* EI_MAG */
--
You are receiving this mail because:
You are on the CC list for the bug.