The "23_containers/bitset/input/1.cc" test case produces the following
linker errors if the debugging information is enabled (i.e. "-g" option is
used):
/tmp/ccNf4mZo.o:1.cc:(.lo.b._Z+0x0): multiple definition of `__eof'
/tmp/ccNf4mZo.o:1.cc:(.lo.b._Z+0x0): first defined here
/tmp/ccNf4mZo.o:1.cc:(.lo.b._Z+0x0): multiple definition of `__eof'
/tmp/ccNf4mZo.o:1.cc:(.lo.b._Z+0x0): first defined here
collect2: ld returned 1 exit status
The problem is in multiple definition of the "__eof" debugging symbol:
.def __eof; .val
_ZZStrsIcSt11char_traitsIcELm5EERSt13basic_istreamIT_T0_ES6_RSt6bitsetIXT1_EEE5_
_eof;
.scl 2; .type 04; .endef
...
.def __eof; .val
_ZZStrsIcSt11char_traitsIcELm0EERSt13basic_istreamIT_T0_ES6_RSt6bitsetIXT1_EEE5_
_eof;
.scl 2; .type 04; .endef
Original issue reported on code.google.com by nou...@gmail.com on 1 Jul 2009 at 12:45
Original issue reported on code.google.com by
nou...@gmail.com
on 1 Jul 2009 at 12:45