V3 vs. AIX
David Edelsohn
dje@watson.ibm.com
Tue May 22 20:09:00 GMT 2001
More info. Getting verbose output from the AIX linker shows that
the duplicates are between locale-inst.cc and the testcase.
XTY_CM means a symbol defined as COMMON (.comm). Looking at the
assembly language, locale-inst.cc is defining num_get<...>::id and
num_put<...>::id as DATA and the testcase is declaring them as COMMON.
This is fine, but apparently the linker is complaining that the COMMON
symbol is declared to require more alignment than the DATA symbol being
used to resolve it.
David
ld: 0711-228 WARNING: Duplicate symbols were found while resolving symbols.
The following duplicates were found:
Symbol Source-File(Object) OR Import-File{Shared-object}
------------------------- -------------------------------------------------
_ZNSt13_Format_cacheIcE11_S_pword_ixE /usr/gnu/src/gcc-3.0/libstdc++-v3/src/locale-inst.cc(/gcc-3.0/powerpc-ibm-aix4.3.3.0/powerpc/libstdc++-v3/src/.libs/libstdc++.a[libstdc++.so.3.o])
** Duplicate ** /usr/gnu/src/gcc-3.0/libstdc++-v3/testsuite/27_io/streambuf.cc(/tmp/ccDmIdlV.o)
ld: 0711-341 WARNING: Replaced XTY_CM symbol _ZNSt13_Format_cacheIcE11_S_pword_ixE requires an
alignment more strict than the alignment of the symbol that replaces it.
_ZNSt8numpunctIcE2idE /usr/gnu/src/gcc-3.0/libstdc++-v3/src/locale-inst.cc(/gcc-3.0/powerpc-ibm-aix4.3.3.0/powerpc/libstdc++-v3/src/.libs/libstdc++.a[libstdc++.so.3.o])
** Duplicate ** /usr/gnu/src/gcc-3.0/libstdc++-v3/testsuite/27_io/streambuf.cc(/tmp/ccDmIdlV.o)
ld: 0711-341 WARNING: Replaced XTY_CM symbol _ZNSt8numpunctIcE2idE requires an
alignment more strict than the alignment of the symbol that replaces it.
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE /usr/gnu/src/gcc-3.0/libstdc++-v3/src/locale-inst.cc(/gcc-3.0/powerpc-ibm-aix4.3.3.0/powerpc/libstdc++-v3/src/.libs/libstdc++.a[libstdc++.so.3.o])
** Duplicate ** /usr/gnu/src/gcc-3.0/libstdc++-v3/testsuite/27_io/streambuf.cc(/tmp/ccDmIdlV.o)
_ZNSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE /usr/gnu/src/gcc-3.0/libstdc++-v3/src/locale-inst.cc(/gcc-3.0/powerpc-ibm-aix4.3.3.0/powerpc/libstdc++-v3/src/.libs/libstdc++.a[libstdc++.so.3.o])
** Duplicate ** /usr/gnu/src/gcc-3.0/libstdc++-v3/testsuite/27_io/streambuf.cc(/tmp/ccDmIdlV.o)
ld: 0711-341 WARNING: Replaced XTY_CM symbol _ZNSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE requires an
alignment more strict than the alignment of the symbol that replaces it.
_ZNSs20_S_empty_rep_storageE /usr/gnu/src/gcc-3.0/libstdc++-v3/src/string-inst.cc(/gcc-3.0/powerpc-ibm-aix4.3.3.0/powerpc/libstdc++-v3/src/.libs/libstdc++.a[libstdc++.so.3.o])
** Duplicate ** /usr/gnu/src/gcc-3.0/libstdc++-v3/testsuite/27_io/streambuf.cc(/tmp/ccDmIdlV.o)
More information about the Libstdc++
mailing list