This is the mail archive of the libstdc++@sources.redhat.com 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]

Solaris patches and results




I'm about to get very busy for ten days or so.  Here is the progress I've
made so far on Solaris, as another data point.

Three files are attached.  The first is a patch that will allow a build on
Solaris if --disable-wchar is given.  If any of our libio changes are going
to be going back into glibc (I hope not), then they'll definitely need
fixing.  Parts will need fixing in any case.

The second file are the testsuite build errors during "make check-install".
Obviously none of the unicode tests passed with --disable-wchar, but at least
they mostly compiled.  The __P is not guarded on Solaris, but not
impossible to work around.  I don't have any thoughts on the iconv stuff yet.

The third file -- and this is the real hacky part -- is a trivial patch to
allow a /usr/include/sys/cdefs.h from a RedHat 6.2 system to be put into
$srcdir/libio/sys on Solaris.  Note that the file still has to be hand-copied
into an installation directory, if you go that far in testing.  Eventually
maybe we won't need this at all.


More on the patch:

The diff is against current CVS, right after Benjamin's reversions were
checked in.  "egcs" is CVS, "egcsworking" is CVS plus all of my crap.

In the --disable-char case, things like mbstate_t/__mbstate_t have
workarounds or dummies.  (Some were already in place.)  There are some
functions that don't have much meaning in a narrow-char-only environment, so
they have truly stub implementations (probably broken).  These things get
used in other places, so we can't just not compile them.  One in particular
(_IO_fwide) doesn't really need to be there, but gets referenced, so all the
shared-library tests fail at loadtime if it isn't.

Some of the patch disables thread-related stuff if one of the
--enable-threads hasn't been requested.

Some of the patch was fixing typos and stuff that doesn't affect building,
but got backed out in the reversion, so they showed up in the diff.  Trim as
you like.

After applying all those patches, and regenerating, and configuring with
--disable-char, you should be getting testsuite results similar to those
below.  Unless I horked something again.  :-)

Phil


host: SunOS 5.8 Generic_108528-02 sun4u
compiler: gcc version 2.96 20000823 (experimental)
compiler flags: -g  -DDEBUG_ASSERT -ffunction-sections -fdata-sections -Wl,--gc-sections
date: 20000823
pass/fail results:  79/85

p == pass/fail execution test
ctime == time to compile and link
etime == time for executable to run
text == size of the executable text section
data == size of the executable data section
total == size of the executable

(First static, then shared.)
p ctime	etime	text	data	total	name	
+ 1	0.007	191017	3104		17_intro/header_ciso646.cc
+ 1	0.037	2512	32		17_intro/header_ciso646.cc

+ 5	0.006	29306	772		17_intro/header_fstream.cc
+ 5	0.035	2370	52		17_intro/header_fstream.cc

+ 3	0.006	29306	772		17_intro/header_iomanip.cc
+ 4	0.035	1950	36		17_intro/header_iomanip.cc

+ 3	0.006	29306	772		17_intro/header_ios.cc
+ 3	0.035	1950	36		17_intro/header_ios.cc

+ 0	0.006	29306	772		17_intro/header_iosfwd.cc
+ 0	0.035	1586	28		17_intro/header_iosfwd.cc

- 5	0.048	452955	5664		17_intro/header_iostream.cc
+ 4	0.035	2289	44		17_intro/header_iostream.cc

+ 3	0.006	29306	772		17_intro/header_istream.cc
+ 3	0.035	1950	36		17_intro/header_istream.cc

+ 3	0.006	29306	772		17_intro/header_ostream.cc
+ 3	0.036	1950	36		17_intro/header_ostream.cc

+ 3	0.006	29306	772		17_intro/header_sstream.cc
+ 4	0.036	1950	36		17_intro/header_sstream.cc

+ 3	0.006	29306	772		17_intro/header_streambuf.cc
+ 3	0.035	1950	36		17_intro/header_streambuf.cc

- 12	0.041	453307	5664		17_intro/headers.cc
+ 11	0.035	3249	60		17_intro/headers.cc

+ 2	0.007	213481	3824		18_support/numeric_limits.cc
+ 1	0.036	3555	32		18_support/numeric_limits.cc

+ 2	0.007	223253	3856		20_util/auto_ptr.cc
+ 2	0.035	12973	56		20_util/auto_ptr.cc

- 7	0.043	247153	3952		21_strings/append.cc
+ 6	0.039	64612	168		21_strings/append.cc

+ 7	0.007	245241	3968		21_strings/capacity.cc
+ 7	0.038	59149	136		21_strings/capacity.cc

+ 4	0.007	221677	3952		21_strings/char_traits.cc
+ 4	0.036	16694	116		21_strings/char_traits.cc

+ 5	0.007	225581	3952		21_strings/compare.cc
+ 4	0.035	24262	116		21_strings/compare.cc

- 5	0.033	233601	3952		21_strings/ctor_copy_dtor.cc
+ 5	1181.255	51466	184		21_strings/ctor_copy_dtor.cc

- 6	0.057	222197	3952		21_strings/element_access.cc
+ 4	0.359	19246	168		21_strings/element_access.cc

+ 4	0.007	247717	3952		21_strings/find.cc
+ 4	0.045	22766	112		21_strings/find.cc

- 6	0.040	236573	3952		21_strings/insert.cc
+ 6	76.832	56527	184		21_strings/insert.cc

- 14	0.053	448023	5664		21_strings/inserters_extractors.cc
- 10	0.496	62828	448		21_strings/inserters_extractors.cc

+ 6	0.007	231485	3952		21_strings/invariants.cc
+ 6	0.037	34405	112		21_strings/invariants.cc

+ 6	0.007	241541	3952		21_strings/nonmember.cc
+ 6	0.037	51515	116		21_strings/nonmember.cc

+ 5	0.008	222761	3952		21_strings/operations.cc
+ 4	0.036	21043	112		21_strings/operations.cc

+ 7	0.007	234921	3952		21_strings/replace.cc
+ 6	0.045	43356	116		21_strings/replace.cc

+ 5	0.007	222877	3952		21_strings/rfind.cc
+ 5	0.035	17955	116		21_strings/rfind.cc

- 5	0.034	226845	3952		21_strings/substr.cc
+ 4	0.040	34189	168		21_strings/substr.cc

- 7	0.048	454519	5648		22_locale/codecvt_char_char.cc
- 4	0.000	6794	56		22_locale/codecvt_char_char.cc

- 5	0.000	0	0	0	22_locale/codecvt_unicode_char.cc
- 5	0.000	0	0	0	22_locale/codecvt_unicode_char.cc

- 6	0.000	0	0	0	22_locale/codecvt_unicode_wchar_t.cc
- 6	0.000	0	0	0	22_locale/codecvt_unicode_wchar_t.cc

- 7	0.000	0	0	0	22_locale/codecvt_wchar_t_char.cc
- 5	0.000	0	0	0	22_locale/codecvt_wchar_t_char.cc

- 7	0.043	454099	5728		22_locale/ctype.cc
+ 5	0.040	4554	144		22_locale/ctype.cc

- 7	0.041	455731	5664		22_locale/ctype_char_members.cc
+ 5	0.035	7655	80		22_locale/ctype_char_members.cc

- 8	0.047	459715	5680		23_containers/bitset_ctor.cc
+ 7	0.043	37169	200		23_containers/bitset_ctor.cc

- 12	1.254	474987	8752		23_containers/bitset_shift.cc
+ 10	1.120	39243	3272		23_containers/bitset_shift.cc

- 11	0.047	462187	5664		23_containers/multiset.cc
+ 6	0.000	14529	260		23_containers/multiset.cc

+ 4	0.011	222945	3840		23_containers/vector_capacity.cc
+ 3	0.038	14323	96		23_containers/vector_capacity.cc

- 10	0.031	491295	5664		23_containers/vector_ctor.cc
+ 9	0.037	42779	96		23_containers/vector_ctor.cc

+ 6	0.007	232745	3840		23_containers/vector_modifiers.cc
+ 6	0.037	24177	100		23_containers/vector_modifiers.cc

- 8	0.051	457923	5664		24_iterators/istreambuf_iterator.cc
- 7	0.129	36568	208		24_iterators/istreambuf_iterator.cc

+ 10	0.007	250577	3952		24_iterators/iterator.cc
+ 12	0.038	58511	116		24_iterators/iterator.cc

+ 3	0.006	192197	3104		25_algorithms/lower_bound.cc
+ 3	0.036	3730	32		25_algorithms/lower_bound.cc

+ 2	0.006	191013	3104		25_algorithms/min_max.cc
+ 2	0.041	2832	32		25_algorithms/min_max.cc

- 10	0.032	457639	5664		26_numerics/binary_closure.cc
+ 9	0.000	8621	196		26_numerics/binary_closure.cc

+ 2	0.006	29878	772		26_numerics/buggy_complex.cc
+ 0	0.052	2303	28		26_numerics/buggy_complex.cc

+ 1	0.006	220685	3104		26_numerics/c_math.cc
+ 1	0.064	2424	28		26_numerics/c_math.cc

- 10	0.046	471539	5664		26_numerics/complex_inserters_extractors.cc
- 9	0.126	41207	216		26_numerics/complex_inserters_extractors.cc

+ 5	0.007	214013	3840		26_numerics/valarray.cc
+ 6	0.431	3685	28		26_numerics/valarray.cc

- 10	0.055	469851	6112		27_io/filebuf.cc
- 9	0.128	45953	680		27_io/filebuf.cc

- 10	0.047	454019	5664		27_io/filebuf_members.cc
- 7	0.134	22469	192		27_io/filebuf_members.cc

+ 4	0.006	193081	3104		27_io/fpos.cc
+ 4	0.039	5282	32		27_io/fpos.cc

- 10	0.042	454319	5664		27_io/ifstream_members.cc
- 7	0.000	22810	192		27_io/ifstream_members.cc

- 8	0.045	454439	5680		27_io/ios_base_callbacks.cc
- 6	0.137	32327	192		27_io/ios_base_callbacks.cc

- 7	0.045	454183	5664		27_io/ios_base_members_static.cc
- 5	0.138	26954	328		27_io/ios_base_members_static.cc

- 9	0.033	455907	5664		27_io/ios_ctor.cc
- 6	0.139	30510	176		27_io/ios_ctor.cc

- 11	0.037	442335	5712		27_io/ios_manip_basefield.cc
- 8	0.136	43992	432		27_io/ios_manip_basefield.cc

- 11	0.139	458071	5728		27_io/ios_manip_fmtflags.cc
- 8	0.133	46900	456		27_io/ios_manip_fmtflags.cc

- 6	0.044	455311	5664		27_io/ios_members.cc
+ 5	0.039	21003	176		27_io/ios_members.cc

+ 4	0.006	29306	772		27_io/istream.cc
+ 4	0.039	1950	36		27_io/istream.cc

- 12	0.059	474935	6832		27_io/istream_extractor_arith.cc
- 10	0.123	62671	1472		27_io/istream_extractor_arith.cc

- 9	0.046	460823	5664		27_io/istream_extractor_char.cc
- 8	0.133	39248	216		27_io/istream_extractor_char.cc

- 11	0.048	459875	5664		27_io/istream_extractor_other.cc
- 9	0.118	44338	216		27_io/istream_extractor_other.cc

- 10	0.046	440723	5664		27_io/istream_manip.cc
- 7	0.133	33720	208		27_io/istream_manip.cc

- 12	0.036	464263	5664		27_io/istream_seeks.cc
- 10	0.123	52022	248		27_io/istream_seeks.cc

- 8	0.049	454227	5664		27_io/istream_sentry.cc
- 6	0.130	28845	192		27_io/istream_sentry.cc

- 11	0.045	454095	5664		27_io/istream_unformatted.cc
- 10	0.130	54461	216		27_io/istream_unformatted.cc

- 8	0.043	454471	5664		27_io/istringstream_members.cc
- 6	0.132	39418	232		27_io/istringstream_members.cc

- 13	0.043	453907	5664		27_io/narrow_stream_objects.cc
+ 12	0.000	5552	640		27_io/narrow_stream_objects.cc

- 10	0.046	454351	5664		27_io/ofstream_members.cc
- 8	0.000	22826	192		27_io/ofstream_members.cc

+ 4	0.006	29306	772		27_io/ostream.cc
+ 4	0.038	1950	36		27_io/ostream.cc

- 12	0.072	453303	7328		27_io/ostream_inserter_arith.cc
- 11	0.116	56719	1912		27_io/ostream_inserter_arith.cc

- 13	0.479	448511	5664		27_io/ostream_inserter_char.cc
- 11	0.133	57981	248		27_io/ostream_inserter_char.cc

- 11	0.033	456783	5664		27_io/ostream_inserter_other.cc
- 11	0.133	38581	264		27_io/ostream_inserter_other.cc

- 13	0.043	457179	5664		27_io/ostream_manip.cc
- 8	0.129	43248	208		27_io/ostream_manip.cc

- 16	0.041	454647	5664		27_io/ostream_seeks.cc
- 13	0.292	35819	248		27_io/ostream_seeks.cc

- 10	0.046	454183	5664		27_io/ostream_unformatted.cc
- 12	0.132	29402	208		27_io/ostream_unformatted.cc

- 13	0.067	460795	5696		27_io/streambuf.cc
- 11	0.182	39012	208		27_io/streambuf.cc

- 17	0.032	471335	5952		27_io/stringbuf.cc
- 14	0.123	55864	440		27_io/stringbuf.cc

- 17	0.044	458887	5696		27_io/stringstream.cc
- 14	0.133	49202	272		27_io/stringstream.cc

- 25	0.041	453339	5664		27_io/wide_stream_objects.cc
+ 13	0.035	3281	60		27_io/wide_stream_objects.cc

- 14	0.214	453307	5664		ext/headers.cc
- 20	0.214	0	0	0	ext/headers.cc

solaris_no_wchar.patch.gz

In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/17_intro/headers.cc:55:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/17_intro/headers.cc:55:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h: In member function `std::codecvt_base::result 
std::codecvt<_InternT, _ExternT, std::__enc_traits>::do_out (std::__enc_traits &, const _InternT *, const 
_InternT *, const _InternT *&, _ExternT *, _ExternT *, _ExternT *&) const [with _InternT = int_type, _ExternT = 
ext_type]':
/stuff/pme/Ebuild/include/g++-v3/bits/string.tcc:54:   instantiated from here
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: `iconv' undeclared (first use this function)
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: (Each undeclared identifier is reported only once for each 
function it appears in.)
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h: In member function `std::codecvt_base::result 
std::codecvt<_InternT, _ExternT, std::__enc_traits>::do_out (std::__enc_traits &, const _InternT *, const 
_InternT *, const _InternT *&, _ExternT *, _ExternT *, _ExternT *&) const [with _InternT = int_type, _ExternT = 
ext_type]':
/stuff/pme/Ebuild/include/g++-v3/bits/string.tcc:54:   instantiated from here
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: `iconv' undeclared (first use this function)
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: (Each undeclared identifier is reported only once for each 
function it appears in.)
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h: In member function `std::codecvt_base::result 
std::codecvt<_InternT, _ExternT, std::__enc_traits>::do_out (std::__enc_traits &, const _InternT *, const 
_InternT *, const _InternT *&, _ExternT *, _ExternT *, _ExternT *&) const [with _InternT = int_type, _ExternT = 
ext_type]':
/stuff/pme/Ebuild/include/g++-v3/bits/string.tcc:54:   instantiated from here
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: `iconv' undeclared (first use this function)
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: (Each undeclared identifier is reported only once for each 
function it appears in.)
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h: In member function `std::codecvt_base::result 
std::codecvt<_InternT, _ExternT, std::__enc_traits>::do_out (std::__enc_traits &, const _InternT *, const 
_InternT *, const _InternT *&, _ExternT *, _ExternT *, _ExternT *&) const [with _InternT = int_type, _ExternT = 
ext_type]':
/stuff/pme/Ebuild/include/g++-v3/bits/string.tcc:54:   instantiated from here
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: `iconv' undeclared (first use this function)
/stuff/pme/Ebuild/include/g++-v3/bits/codecvt.h:382: (Each undeclared identifier is reported only once for each 
function it appears in.)
/tmp/pedwards/ccoqbisu.o: In function `std::locale::_Impl::_M_remove_reference(void)':
/stuff/pme/Ebuild/include/g++-v3/bits/localefwd.h:350: undefined reference to `std::codecvt<wchar_t, char, mbstate_t> const & std::use_facet<std::codecvt<wchar_t, char, mbstate_t> >(std::locale const &)'
collect2: ld returned 1 exit status
/tmp/pedwards/ccSrebkk.o: In function `std::locale::_Impl::_M_remove_reference(void)':
/stuff/pme/Ebuild/include/g++-v3/bits/localefwd.h:350: undefined reference to `std::codecvt<wchar_t, char, mbstate_t> const & std::use_facet<std::codecvt<wchar_t, char, mbstate_t> >(std::locale const &)'
collect2: ld returned 1 exit status
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:8:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/26_numerics/binary_closure.cc:8:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/cmath:2,
                 from ../../../unified/libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc:28:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/cmath:2,
                 from ../../../unified/libstdc++-v3/testsuite/26_numerics/complex_inserters_extractors.cc:28:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/27_io/narrow_stream_objects.cc:51:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/27_io/narrow_stream_objects.cc:51:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/27_io/wide_stream_objects.cc:51:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
In file included from /usr/include/math.h:10,
                 from /stuff/pme/Ebuild/lib/gcc-lib/sparc-sun-solaris2.8/2.96/include/math.h:5,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_cmath.h:39,
                 from /stuff/pme/Ebuild/include/g++-v3/bits/std_valarray.h:37,
                 from /stuff/pme/Ebuild/include/g++-v3/valarray:2,
                 from ../../../unified/libstdc++-v3/testsuite/27_io/wide_stream_objects.cc:51:
/usr/include/iso/math_iso.h:15:12: warning: "__P" redefined
/stuff/pme/Ebuild/include/g++-v3/sys/cdefs.h:43:1: warning: this is the location of the previous definition
g++: Internal error: Segmentation Fault (program cc1plus)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
g++: Internal error: Segmentation Fault (program cc1plus)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
*** /usr/include/sys/cdefs.h	Tue Feb 29 16:58:17 2000
--- cdefs.h	Wed Aug 23 19:51:47 2000
***************
*** 19,27 ****
--- 19,29 ----
  #ifndef	_SYS_CDEFS_H
  #define	_SYS_CDEFS_H	1
  
+ #if 0
  /* We are almost always included from features.h. */
  #ifndef _FEATURES_H
  #include <features.h>
+ #endif
  #endif
  
  /* Some user header file might have defined this before.  */

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