Re: [Bug binutils/13591] New: gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
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' Hi, the conflict is due to this line in obj-coff.h: #define OBJ_SYMFIELD_TYPE unsigned long #define sy_obj sy_flags Tristan. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
http://sourceware.org/bugzilla/show_bug.cgi?id=13591 --- Comment #1 from gingold at adacore dot com 2012-01-12 08:23:25 UTC --- 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' Hi, the conflict is due to this line in obj-coff.h: #define OBJ_SYMFIELD_TYPEunsigned long #define sy_objsy_flags Tristan. -- 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/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
http://sourceware.org/bugzilla/show_bug.cgi?id=13591 --- Comment #2 from niXman 2012-01-12 08:27:25 UTC --- Hi, I got it. I am wondering whether this bug is fixed, and if so, when? niXman. -- 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
Re: [Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
On Jan 12, 2012, at 9:27 AM, i.nixman at gmail dot com wrote: > http://sourceware.org/bugzilla/show_bug.cgi?id=13591 > > --- Comment #2 from niXman 2012-01-12 08:27:25 > UTC --- > Hi, > > I got it. > I am wondering whether this bug is fixed, and if so, when? I am testing a patch. Stay tune! Tristan. > > niXman. > > -- > 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
[Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
http://sourceware.org/bugzilla/show_bug.cgi?id=13591 --- Comment #3 from gingold at adacore dot com 2012-01-12 08:32:30 UTC --- On Jan 12, 2012, at 9:27 AM, i.nixman at gmail dot com wrote: > http://sourceware.org/bugzilla/show_bug.cgi?id=13591 > > --- Comment #2 from niXman 2012-01-12 08:27:25 > UTC --- > Hi, > > I got it. > I am wondering whether this bug is fixed, and if so, when? I am testing a patch. Stay tune! Tristan. > > niXman. > > -- > 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 -- 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/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
http://sourceware.org/bugzilla/show_bug.cgi?id=13591 --- Comment #5 from niXman 2012-01-12 08:40:04 UTC --- Thank you! Regards. -- 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/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
http://sourceware.org/bugzilla/show_bug.cgi?id=13591 --- Comment #4 from gingold at adacore dot com 2012-01-12 08:36:43 UTC --- Hi, this patch should fix this issue. Thank you for the report, Tristan. 2012-01-12 Tristan Gingold * 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 -- 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
Re: [Bug binutils/13591] New: gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
Hi, this patch should fix this issue. Thank you for the report, Tristan. 2012-01-12 Tristan Gingold * 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
[Bug binutils/13591] gas/struc-symbol.h:98:21: error: duplicate member 'sy_flags'
http://sourceware.org/bugzilla/show_bug.cgi?id=13591 --- Comment #6 from cvs-commit at gcc dot gnu.org 2012-01-12 08:53:37 UTC --- CVSROOT:/cvs/src Module name:src Changes by:ging...@sourceware.org2012-01-12 08:53:34 Modified files: gas: ChangeLog gas/config : obj-coff.h Log message: 2012-01-12 Tristan Gingold PR gas/13591 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4649&r2=1.4650 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/obj-coff.h.diff?cvsroot=src&r1=1.43&r2=1.44 -- 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 ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target)
http://sourceware.org/bugzilla/show_bug.cgi?id=13557 Dmitry Gorbachev changed: What|Removed |Added Summary|Slim LTO does not work for |Undef. ref. err. when |mingw32 target |linking with slim LTO obj. ||in static lib. (mingw32 ||target) --- Comment #1 from Dmitry Gorbachev 2012-01-12 10:35:25 UTC --- The testcase produces this error: libfoobar.a(foo.o):foo.c:(.text+0x7): undefined reference to `_bar' -- 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