This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: GCC 4.x Solaris locale support...


No, --enable-clocale=ieee_1003.1-2001 failed on Solaris 8, and on
Solaris 10:

sunhost1> uname -a
SunOS sunhost1 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V240

I get the following errors:

/home/tscheres/gcc-build/./gcc/xgcc -shared-libgcc
-B/home/tscheres/gcc-build/./gcc -nostdinc++
-L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src
-L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include -x
c++-header -g -O2
-I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sp
arc-sun-solaris2.10
-I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include
-I/home/tscheres/gcc-4.4.1/libstdc++-v3/libsupc++ -O0 -g
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h -o
sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/ios_base.h:43,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios:
43,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr
eam:40,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr
eam:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp
lex:47,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not declared
in this scope
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets.h:2599,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/basic_ios.h:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios:
45,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr
eam:40,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr
eam:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp
lex:47,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/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':
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets.tcc:1006: error: '__convert_from_v' is not a member of
'std'
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.h:1911,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/loca
le:43,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:78:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.tcc: In member function 'virtual _OutIter
std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&,
_CharT, long double) const':
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.tcc:579: error: '__convert_from_v' is not a member
of 'std'
make[2]: *** [sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch] Error 1
make[2]: Leaving directory
`/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include'
make[2]: Entering directory
`/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3'
/mu/dev/make/3.80/bin/make "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/sfw/bin/gcc"
"CC_FOR_TARGET=/home/tscheres/gcc-build/./gcc/xgcc
-B/home/tscheres/gcc-build/./gcc/
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include" "CFLAGS=-g
-O2  " "CXXFLAGS=-g -O2  " "CFLAGS_FOR_BUILD=-g -O2"
"CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/home/tscheres/gcc-4.4.1/install-sh
-c" "INSTALL_DATA=/home/tscheres/gcc-4.4.1/install-sh -c -m 644"
"INSTALL_PROGRAM=/home/tscheres/gcc-4.4.1/install-sh -c"
"INSTALL_SCRIPT=/home/tscheres/gcc-4.4.1/install-sh -c" "LDFLAGS="
"LIBCFLAGS=-g -O2  " "LIBCFLAGS_FOR_TARGET=-g -O2"
"MAKE=/mu/dev/make/3.80/bin/make"
"MAKEINFO=/home/tscheres/gcc-4.4.1/missing makeinfo --split-size=5000000
--split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/bash" "RUNTESTFLAGS="
"exec_prefix=/mu/dev/gcc/4.4.1-sunos510"
"infodir=/mu/dev/gcc/4.4.1-sunos510/info"
"libdir=/mu/dev/gcc/4.4.1-sunos510/lib"
"includedir=/mu/dev/gcc/4.4.1-sunos510/include"
"prefix=/mu/dev/gcc/4.4.1-sunos510"
"tooldir=/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10"
"gxx_include_dir=/mu/dev/gcc/4.4.1-sunos510/include/c++/4.4.1" "AR=ar"
"AS=/home/tscheres/gcc-build/./gcc/as"
"LD=/home/tscheres/gcc-build/./gcc/collect-ld" "RANLIB=ranlib"
"NM=/home/tscheres/gcc-build/./gcc/nm" "NM_FOR_BUILD="
"NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" all-recursive
make[3]: Entering directory
`/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3'
Making all in include
make[4]: Entering directory
`/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include'
mkdir -p ./sparc-sun-solaris2.10/bits/stdc++.h.gch
mkdir -p ./sparc-sun-solaris2.10/bits/stdc++.h.gch
/home/tscheres/gcc-build/./gcc/xgcc -shared-libgcc
-B/home/tscheres/gcc-build/./gcc -nostdinc++
-L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src
-L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include -x
c++-header -g -O2
-I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sp
arc-sun-solaris2.10
-I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include
-I/home/tscheres/gcc-4.4.1/libstdc++-v3/libsupc++ -O0 -g
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h -o
sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch
/home/tscheres/gcc-build/./gcc/xgcc -shared-libgcc
-B/home/tscheres/gcc-build/./gcc -nostdinc++
-L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src
-L/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/bin/
-B/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/lib/ -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/include -isystem
/mu/dev/gcc/4.4.1-sunos510/sparc-sun-solaris2.10/sys-include -x
c++-header -g -O2
-I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sp
arc-sun-solaris2.10
-I/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include
-I/home/tscheres/gcc-4.4.1/libstdc++-v3/libsupc++ -O2 -g
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h -o
sparc-sun-solaris2.10/bits/stdc++.h.gch/O2g.gch
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/ios_base.h:43,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios:
43,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr
eam:40,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr
eam:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp
lex:47,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not declared
in this scope
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/ios_base.h:43,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios:
43,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr
eam:40,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr
eam:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp
lex:47,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_classes.h:302: error: '_GLIBCXX_NUM_CATEGORIES' was not declared
in this scope
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets.h:2599,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/basic_ios.h:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios:
45,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr
eam:40,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr
eam:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp
lex:47,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/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':
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets.tcc:1006: error: '__convert_from_v' is not a member of
'std'
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets.h:2599,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/basic_ios.h:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/ios:
45,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/istr
eam:40,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/sstr
eam:39,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/comp
lex:47,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:65:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/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':
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets.tcc:1006: error: '__convert_from_v' is not a member of
'std'
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.h:1911,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/loca
le:43,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:78:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.tcc: In member function 'virtual _OutIter
std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&,
_CharT, long double) const':
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.tcc:579: error: '__convert_from_v' is not a member
of 'std'
In file included from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.h:1911,
                 from
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/loca
le:43,
                 from
/home/tscheres/gcc-4.4.1/libstdc++-v3/include/precompiled/stdc++.h:78:
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.tcc: In member function 'virtual _OutIter
std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool, std::ios_base&,
_CharT, long double) const':
/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include/bits
/locale_facets_nonio.tcc:579: error: '__convert_from_v' is not a member
of 'std'
make[4]: *** [sparc-sun-solaris2.10/bits/stdc++.h.gch/O0g.gch] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [sparc-sun-solaris2.10/bits/stdc++.h.gch/O2g.gch] Error 1
make[4]: Leaving directory
`/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3/include'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/tscheres/gcc-build/sparc-sun-solaris2.10/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/tscheres/gcc-build'
make: *** [all] Error 2
sunhost1> 

Any thoughts?

Thanks...

Todd 

Speech recognition in use.  It makes mistakes.  I correct the ones I
notice... 

-----Original Message-----
From: Loren James Rittle [mailto:rittle@latour.labs.mot.com] 
Sent: Thursday, September 24, 2009 5:10 PM
To: libstdc++@gcc.gnu.org
Cc: tscheresky
Subject: Re: GCC 4.x Solaris locale support...

Hello Todd,

My best advice: A motivated user or maintainer of *-*-solaris8 will
have to investigate this issue.  I have not attempted such a build
since ~2003 but you could use an explicit configuration override:

--enable-clocale=ieee_1003.1-2001 (which may or may not compile on
*-*-solaris8; please report back if this works for you)

If that doesn't work, there is also: --enable-clocale=darwin which
assumes a ~BSD libc and which is the default on both freebsd and
darwin (and which may or may not compile on *-*-solaris8; and may or
may not be useful if it does compile)

Regards,
Loren


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]