[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug binutils/13591] New: gas/struc-symbol.h:98:21: error: duplicate
From: |
Tristan Gingold |
Subject: |
Re: [Bug binutils/13591] New: gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags' |
Date: |
Thu, 12 Jan 2012 09:36:24 +0100 |
Hi,
this patch should fix this issue.
Thank you for the report,
Tristan.
2012-01-12 Tristan Gingold <address@hidden>
* config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index fb9c6be..ff5548e 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -181,7 +181,7 @@
#endif
#define OBJ_SYMFIELD_TYPE unsigned long
-#define sy_obj sy_flags
+#define sy_obj sy_obj_flags
/* We can't use the predefined section symbols in bfd/section.c, as
COFF symbols have extra fields. See bfd/libcoff.h:coff_symbol_type. */
On Jan 12, 2012, at 3:32 AM, i.nixman at gmail dot com wrote:
> http://sourceware.org/bugzilla/show_bug.cgi?id=13591
>
> Bug #: 13591
> Summary: gas/struc-symbol.h:98:21: error: duplicate member
> 'sy_flags'
> Product: binutils
> Version: unspecified
> Status: NEW
> Severity: normal
> Priority: P2
> Component: binutils
> AssignedTo: address@hidden
> ReportedBy: address@hidden
> Classification: Unclassified
>
>
> I try to build the CVS version of sources using MinGW and get the following
> error:
>
> gcc -DHAVE_CONFIG_H -I. -I../../../src/binutils-2.22/gas -I.
> -I../../../src/binutils-2.22/gas -I../bfd
> -I../../../src/binutils-2.22/gas/config
> -I../../../src/binutils-2.22/gas/../include
> -I../../../src/binutils-2.22/gas/..
> -I../../../src/binutils-2.22/gas/../bfd
> -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wshadow -Wno-format -Werror -pipe -O3 -mtune=core2
> -fomit-frame-pointer -momit-leaf-frame-pointer -I/usr/local/include
> -D__USE_MINGW_ACCESS -MT flonum-copy.o -MD -MP -MF .deps/flonum-copy.Tpo -c -o
> flonum-copy.o ../../../src/binutils-2.22/gas/flonum-copy.c
> In file included from ../../../src/binutils-2.22/gas/ehopt.c:25:0:
> ../../../src/binutils-2.22/gas/struc-symbol.h:98:21: error: duplicate member
> 'sy_flags'
>
> --
> Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
> _______________________________________________
> bug-binutils mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-binutils
- [Bug binutils/13591] New: gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', i.nixman at gmail dot com, 2012/01/11
- Re: [Bug binutils/13591] New: gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', Tristan Gingold, 2012/01/12
- [Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', gingold at adacore dot com, 2012/01/12
- [Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', i.nixman at gmail dot com, 2012/01/12
- [Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', gingold at adacore dot com, 2012/01/12
- [Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', i.nixman at gmail dot com, 2012/01/12
- [Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', gingold at adacore dot com, 2012/01/12
- Re: [Bug binutils/13591] New: gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags',
Tristan Gingold <=
- [Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags', cvs-commit at gcc dot gnu.org, 2012/01/12