Bug 48205 - clocale ieee_1003.1-2001 broken
Summary: clocale ieee_1003.1-2001 broken
Status: RESOLVED DUPLICATE of bug 41495
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 4.5.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 17:35 UTC by Milan Jurik
Modified: 2011-03-19 21:56 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2011-03-19 18:56:29


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Jurik 2011-03-19 17:35:17 UTC
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
Comment 1 Jonathan Wakely 2011-03-19 18:56:29 UTC
Confirmed.  I have a patch fixing some of the problems.
See also http://gcc.gnu.org/ml/libstdc++/2010-12/msg00045.html and http://open-std.org/JTC1/SC22/WG21/docs/lwg-active.html#2028
Comment 2 Paolo Carlini 2011-03-19 21:56:49 UTC
Looks like a duplicate of 41495, the first error seems still the same.

*** This bug has been marked as a duplicate of bug 41495 ***