This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Results for g++ 3.1 application testing on i686-pc-linux-gnu
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: stephen dot webb at bregmasoft dot com
- Cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: 05 Mar 2002 21:30:45 +0100
- Subject: Re: Results for g++ 3.1 application testing on i686-pc-linux-gnu
- Organization: CodeSourcery, LLC
- References: <Pine.SOL.3.91.1020303235049.591A-100000@taarna.cygnus.com> <20020304135824823.AAA1048@ns2.goodmedia.com@there> <200203051947.UAA06990@mayo.cmla.ens-cachan.fr>
"Stephen M. Webb" <stephen.webb@bregmasoft.com> writes:
[...]
| bv.o: In function `std::_Bit_iterator_base::_M_bump_up()':
| bv.o(.gnu.linkonce.t._ZNSt18_Bit_iterator_base10_M_bump_upEv+0x8):
| undefined reference to `std::__WORD_BIT'
Sigh. The right fix is to replace the declaration
extern const int __WORD_BIT;
in bits/stl_bvector.h with
const int __WORD_BIT = int(CHAR_BIT*sizeof(unsigned int));
and ditch that line in src/stl-inst.cc.
Patch pre-approved.
Best,
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com