You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/03/01 22:34:26 UTC

[jira] Commented: (STDCXX-158) [XLC++ 8.0/Linux] unsats on most specializations of standard templates

    [ http://issues.apache.org/jira/browse/STDCXX-158?page=comments#action_12368368 ] 

Martin Sebor commented on STDCXX-158:
-------------------------------------

This is actually caused by our screwed up set up (forcing people to invoke xlC using xlC -F $(CONFIGFILE) which I didn't do when creating BUILDDIR and ended up with uisng -qtempinc instead of -qtemplateregistry). Still, the library should build even in -qtempinc mode...

> [XLC++ 8.0/Linux] unsats on most specializations of standard templates
> ----------------------------------------------------------------------
>
>          Key: STDCXX-158
>          URL: http://issues.apache.org/jira/browse/STDCXX-158
>      Project: C++ Standard Library
>         Type: Bug
>   Components: Build
>     Versions: 4.1.3
>  Environment:  $ uname -sr && xlC -qversion
> Linux 2.6.5-7.191-pseries64
> IBM XL C/C++ Advanced Edition V8.0 for Linux
> Version: 08.00.0000.0000
>     Reporter: Martin Sebor
>     Assignee: Martin Sebor
>     Priority: Blocker
>      Fix For: 4.1.4

>
> Most (all?) programs fail to link with IBM XLC++ 8.0 on Linux due to unsats like those below:
> make: Entering directory `/build/sebor/xlc-8.0-11s/examples'
> xlC -F /package/1/ppc64/compilers/ibm/va80/vac.cfg accum.o -o accum -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG   -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/build/sebor/xlc-8.0-11s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include  -qtempinc=accum.ti -L/build/sebor/xlc-8.0-11s/lib -lstd11s   -lm
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(iostream.o)(.text+0x378): In function `std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::basic_filebuf(int, wchar_t*, int)':
> /build/sebor/dev/stdlib/include/fstream:129: undefined reference to `std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::basic_streambuf(__rw::__rw_openmode)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(iostream.o)(.text+0x40c):/build/sebor/dev/stdlib/include/fstream:131: undefined reference to `std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::_C_open(int, void*, wchar_t*, int)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(iostream.o)(.text+0x764): In function `std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(int, char*, int)':
> /build/sebor/dev/stdlib/include/fstream:129: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::basic_streambuf(__rw::__rw_openmode)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(iostream.o)(.text+0x7f8):/build/sebor/dev/stdlib/include/fstream:131: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::_C_open(int, void*, char*, int)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(locale_core.o)(.text+0x210): In function `__rw::__rw_pod_array<char, 256u>::assign(char const*, unsigned int)':
> /build/sebor/dev/stdlib/src/podarray.h:151: undefined reference to `__rw::__rw_pod_array<char, 256u>::append(char const*, unsigned int)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(locale_core.o)(.text+0x404): In function `__rw::__rw_pod_array<char, 256u>::append(char const*)':
> /build/sebor/dev/stdlib/src/podarray.h:141: undefined reference to `__rw::__rw_pod_array<char, 256u>::append(char const*, unsigned int)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(locale_core.o)(.text+0x734): In function `std::locale::_C_get_std_facet(__rw::__rw_facet::_C_facet_type, __rw::__rw_facet* (*)(unsigned int, char const*)) const':
> /build/sebor/dev/stdlib/src/locale_core.cpp:118: undefined reference to `__rw::__rw_pod_array<char, 256u>::append(char const*, unsigned int)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(locale_core.o)(.text+0x82c):/build/sebor/dev/stdlib/src/locale_core.cpp:143: undefined reference to `__rw::__rw_pod_array<char, 256u>::append(char const*, unsigned int)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(facet.o)(.text+0xbf0): In function `__rw::__rw_pod_array<char, 256u>::append(char const*)':
> /build/sebor/dev/stdlib/src/podarray.h:141: undefined reference to `__rw::__rw_pod_array<char, 256u>::append(char const*, unsigned int)'
> /build/sebor/xlc-8.0-11s/lib/libstd11s.a(facet.o)(.text+0xc54):/build/sebor/dev/stdlib/src/podarray.h:151: more undefined references to `__rw::__rw_pod_array<char, 256u>::append(char const*, unsigned int)' follow
> accum.ti/_ioinsert.o(.text+0x9ee): In function `__rw::__rw_facet const* __rw::__rw_get_facet<std::ctype<char> >(std::locale const&, std::ctype<char> const*)':
> : undefined reference to `__rw::__rw_ct_ctype(unsigned int, char const*)'
> accum.ti/_ioinsert.o(.text+0x9f2): In function `__rw::__rw_facet const* __rw::__rw_get_facet<std::ctype<char> >(std::locale const&, std::ctype<char> const*)':
> : undefined reference to `__rw::__rw_ct_ctype(unsigned int, char const*)'
> accum.ti/_ioinsert.o(.text+0xd76): In function `__rw::__rw_facet const* __rw::__rw_get_facet<std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > > >(std::locale const&, std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > > const*)':
> : undefined reference to `__rw::__rw_ct_num_put(unsigned int, char const*)'
> accum.ti/_ioinsert.o(.text+0xd7a): In function `__rw::__rw_facet const* __rw::__rw_get_facet<std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > > >(std::locale const&, std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > > const*)':
> : undefined reference to `__rw::__rw_ct_num_put(unsigned int, char const*)'
> make: *** [accum] Error 1
> make: Leaving directory `/build/sebor/xlc-8.0-11s/examples'

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira