This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Results for g++ 3.1 application testing on i686-pc-linux-gnu


"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


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