[patch] : Add move symantics to more of libstdc++

Paolo Carlini pcarlini@suse.de
Thu May 19 15:30:00 GMT 2005


chris jefferson wrote:

> Only for the so_7 branch of libstdc++.

By the way, I suppose you are actually able to build (at least ;) the
whole v7 library with -D_GLIBCXX_DEBUG?!? I'm having troubles, with or
without your last patch, in code unrelated with the recent work. Maybe
can have to do with the binutils 2.16 that I have now installed?!?
Anyone can reproduce the below?

Humpf!

Paolo.

//////////////

.libs/list.o: In function `__gnu_norm::_List_node_base::reverse()':
../../../../libstdcxx_so_7-branch/gcc/libstdc++-v3/src/list.cc:93:
multiple definition of `__gnu_norm::_List_node_base::reverse()'
.libs/debug_list.o:../../../../libstdcxx_so_7-branch/gcc/libstdc++-v3/src/list.cc:93:
first defined here
.libs/list.o: In function
`__gnu_norm::_List_node_base::_M_transfer(__gnu_norm::_List_node_base*,
__gnu_norm::_List_node_base*)':
list.cc:(.text._ZN10__gnu_norm15_List_node_base11_M_transferEPS0_S1_+0x0):
multiple definition of
`__gnu_norm::_List_node_base::_M_transfer(__gnu_norm::_List_node_base*,
__gnu_norm::_List_node_base*)'
.libs/debug_list.o:debug_list.cc:(.text._ZN10__gnu_norm15_List_node_base11_M_transferEPS0_S1_+0x0):
first defined here
.libs/list.o: In function
`__gnu_norm::_List_node_base::_M_hook(__gnu_norm::_List_node_base*)':
list.cc:(.text._ZN10__gnu_norm15_List_node_base7_M_hookEPS0_+0x0):
multiple definition of
`__gnu_norm::_List_node_base::_M_hook(__gnu_norm::_List_node_base*)'
.libs/debug_list.o:debug_list.cc:(.text._ZN10__gnu_norm15_List_node_base7_M_hookEPS0_+0x0):
first defined here
.libs/list.o: In function `__gnu_norm::_List_node_base::_M_unhook()':
list.cc:(.text._ZN10__gnu_norm15_List_node_base9_M_unhookEv+0x0):
multiple definition of `__gnu_norm::_List_node_base::_M_unhook()'
.libs/debug_list.o:debug_list.cc:(.text._ZN10__gnu_norm15_List_node_base9_M_unhookEv+0x0):
first defined here
.libs/list.o: In function
`__gnu_norm::_List_node_base::swap(__gnu_norm::_List_node_base&,
__gnu_norm::_List_node_base&)':
list.cc:(.text._ZN10__gnu_norm15_List_node_base4swapERS0_S1_+0x0):
multiple definition of
`__gnu_norm::_List_node_base::swap(__gnu_norm::_List_node_base&,
__gnu_norm::_List_node_base&)'
.libs/debug_list.o:debug_list.cc:(.text._ZN10__gnu_norm15_List_node_base4swapERS0_S1_+0x0):
first defined here
collect2: ld returned 1 exit status
make[2]: *** [libstdc++.la] Error 1
make[2]: Leaving directory
`/home/paolo/Gcc/cvs-dirs/libstdcxx_so_7-branch-build/i686-pc-linux-gnu/libstdc++-v3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/paolo/Gcc/cvs-dirs/libstdcxx_so_7-branch-build/i686-pc-linux-gnu/libstdc++-v3'



More information about the Libstdc++ mailing list