Hi, this patch should fix this issue.
Thank you for the report, Tristan. 2012-01-12 Tristan Gingold <ging...@adacore.com> * 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: unassig...@sourceware.org > ReportedBy: i.nix...@gmail.com > 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 > bug-binutils@gnu.org > https://lists.gnu.org/mailman/listinfo/bug-binutils _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils