http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48205

           Summary: clocale ieee_1003.1-2001 broken
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: milan.ju...@xylab.cz


Build 4.5.2 with --enable-clocale=ieee_1003.1-2001 on Solaris 11 Express x86
fails:

/usr/bin/ksh ../libtool --tag CXX   --mode=compile
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/./gcc/xgcc
-shared-libgcc
-B/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/./gcc
-nostdinc++
-L/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/src
-L/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/src/.libs
-B/usr/gcc/4.5/i386-pc-solaris2.11/bin/ -B/usr/gcc/4.5/i386-pc-solaris2.11/lib/
-isystem /usr/gcc/4.5/i386-pc-solaris2.11/include -isystem
/usr/gcc/4.5/i386-pc-solaris2.11/sys-include    
-I/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/i386-pc-solaris2.11
-I/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include
-I/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc-4.5.2/libstdc++-v3/libsupc++
-I/usr/gnu/include -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual  -fdiagnostics-show-location=once  -ffunction-sections
-fdata-sections  -g -O2 -c -o codecvt.lo
../../../../gcc-4.5.2/libstdc++-v3/src/codecvt.cc
libtool: compile: 
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/./gcc/xgcc
-shared-libgcc
-B/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/./gcc
-nostdinc++
-L/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/src
-L/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/src/.libs
-B/usr/gcc/4.5/i386-pc-solaris2.11/bin/ -B/usr/gcc/4.5/i386-pc-solaris2.11/lib/
-isystem /usr/gcc/4.5/i386-pc-solaris2.11/include -isystem
/usr/gcc/4.5/i386-pc-solaris2.11/sys-include
-I/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/i386-pc-solaris2.11
-I/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include
-I/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc-4.5.2/libstdc++-v3/libsupc++
-I/usr/gnu/include -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -g -O2 -c ../../../../gcc-4.5.2/libstdc++-v3/src/codecvt.cc 
-fPIC -DPIC -o .libs/codecvt.o
In file included from
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/locale:41:0,
                 from ../../../../gcc-4.5.2/libstdc++-v3/src/codecvt.cc:25:
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/bits/locale_classes.h:303:37:
error: ‘_GLIBCXX_NUM_CATEGORIES’ was not declared in this scope
In file included from
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/bits/locale_facets.h:2601:0,
                 from
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/locale:42,
                 from ../../../../gcc-4.5.2/libstdc++-v3/src/codecvt.cc:25:
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/bits/locale_facets.tcc:
In member function ‘_OutIter std::num_put<_CharT,
_OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT)
const’:
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/bits/locale_facets.tcc:1021:10:
error: ‘__convert_from_v’ is not a member of ‘std’
In file included from
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/bits/locale_facets_nonio.h:1930:0,
                 from
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/locale:43,
                 from ../../../../gcc-4.5.2/libstdc++-v3/src/codecvt.cc:25:
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/bits/locale_facets_nonio.tcc:
In member function ‘virtual _OutIter std::money_put<_CharT,
_OutIter>::do_put(iter_type, bool, std::ios_base&, char_type, long double)
const’:
/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/include/bits/locale_facets_nonio.tcc:594:19:
error: ‘__convert_from_v’ is not a member of ‘std’
gmake[4]: *** [codecvt.lo] Error 1
gmake[4]: Leaving directory
`/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc/i386-pc-solaris2.11/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory
`/export/home/sfebuild/packages/BUILD/SFEgccruntime-4.5.2/gcc'
gmake: *** [all] Error 2


There is missing definition __convert_from_v in
libstdc++-v3/config/locale/ieee_1003.1-2001/c_locale.h

Reply via email to