[Botan-devel] Re: botan-devel Digest, Vol 30, Issue 6

Joel Low joel at joelsplace.sg
Wed Jun 20 05:04:54 EDT 2007


Same here, I think you've given me a fix as well.

Joel

> -----Original Message-----
> From: Erik Loman [mailto:erik at surfright.nl]
> Sent: 20 June 2007 4:55 PM
> To: 'Botan development list'
> Subject: RE: [Botan-devel] Re: botan-devel Digest, Vol 30, Issue 6
> 
> Isn't this the same problem you've fixed for me a while ago?
> 
> On Wed, Dec 20, 2006 at 04:01:59PM -0500, Jack Lloyd wrote:
> >
> > I've attached new versions of mem_pool.*; all that should be needed is
> > to copy them into include/ and src/ and rerun the configure script.
> > Downside is, it seems the easiest way to avoid the problem is to use a
> > linear search instead of lower_bound when searching through the blocks
> > during deallocation. On the validation suite (which is very allocation
> > heavy) that only slows things down by around 5%, so it shouldn't cause
> > any major problems.
> >
> > -Jack
> >
> 
> See attachments.
> 
> Regards,
> Erik
> 
> -----Original Message-----
> From: botan-devel-bounces at randombit.net
> [mailto:botan-devel-bounces at randombit.net] On Behalf Of Jack Lloyd
> Sent: dinsdag 19 juni 2007 19:54
> To: Botan development list
> Subject: Re: [Botan-devel] Re: botan-devel Digest, Vol 30, Issue 6
> 
> 
> OK, thanks. I'll try to fire up VMware tonight and take a further look
> into this. -Jack
> 
> On Tue, Jun 19, 2007 at 01:48:21PM -0400, John Proffer wrote:
> > Didn't work - i applied your patch and recompiled with nmake, and got
> > the following errors:
> >
> > C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\xutility(267) :
> > error C2679: binary '<' : no operator found which takes a right-hand
> > operand of
> > type 'Botan::Pooling_Allocator::Memory_Block' (or there is no acceptable
> > conversion)
> 
> >
> >        could be 'built-in C++ operator<(void *, void
> > *)'
> 
> >
> >        while trying to match the argument list '(void *const ,
> > Botan::Pooling_Allocator::Memory_Block)'
> 
> >
> >        C:\Program Files\Microsoft Visual Studio
> > 8\VC\INCLUDE\algorithm(2268) : see reference to function template
> > instantiation 'bool std::_Debug_lt<
> > Botan::Pooling_Allocator::Memory_Block,_Ty>(_Ty1 &,const _Ty2 &,const
> > wchar_t *,unsigned int)' being
> > compiled
> >
> > with
> 
> >
> >
> > [
> 
> >
> >            _Ty=void
> > *,
> 
> >
> >
> > _Ty1=Botan::Pooling_Allocator::Memory_Block,
> 
> >
> >            _Ty2=void
> > *
> 
> >
> >
> > ]
> 
> >
> >        C:\Program Files\Microsoft Visual Studio
> > 8\VC\INCLUDE\algorithm(2280) : see reference to function template
> > instantiation '_FwdIt std::_Lower_b
> > ound<std::_Vector_iterator<_Ty,_Alloc>,void,__w64
> > int>(_FwdIt,_FwdIt,void &,_Diff *)' being
> > compiled
> >
> > with
> 
> >
> >
> > [
> 
> >
> >
> >
> _FwdIt=std::_Vector_iterator<Botan::Pooling_Allocator::Memory_Block,std::a
> ll
> ocator<Botan::Pooling_Allocator::Memory_Block>>,
> >
> >
> > _Ty=Botan::Pooling_Allocator::Memory_Block,
> 
> >
> >
> > _Alloc=std::allocator<Botan::Pooling_Allocator::Memory_Block>,
> 
> >
> >            _Diff=__w64
> > int
> 
> >
> >
> > ]
> 
> >
> >        src\mem_pool.cpp(263) : see reference to function template
> > instantiation '_FwdIt
> > std::lower_bound<std::_Vector_iterator<_Ty,_Alloc>,void*>(_Fw
> > dIt,_FwdIt,void &)' being
> > compiled
> 
> >
> >
> > with
> 
> >
> >
> > [
> 
> >
> >
> >
> _FwdIt=std::_Vector_iterator<Botan::Pooling_Allocator::Memory_Block,std::a
> ll
> ocator<Botan::Pooling_Allocator::Memory_Block>>,
> >
> >
> > _Ty=Botan::Pooling_Allocator::Memory_Block,
> 
> >
> >
> > _Alloc=std::allocator<Botan::Pooling_Allocator::Memory_Block>
> 
> >
> >
> > ]
> 
> >
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> > 8\VC\BIN\cl.EXE"' : return code
> > '0x2'
> > Stop.
> 
> >
> >
> 
> >
> 
> > begin:vcard
> > fn:Johnathan Proffer
> > n:Proffer;Johnathan
> > org:Visual Language Interpreting;Information Technology
> > adr;dom:STE B1;;1330 New Hampshire Ave. NW;Washington;DC;20036
> > email;internet:jproffer at vli-dc.com
> > tel;work:202.464.6800
> > tel;fax:202.464.6810
> > note;quoted-printable:AIM: jprofferVLI=0D=0A=
> > 	VP: proffer.vli-dc.com
> > x-mozilla-html:TRUE
> > url:https://www.aboutvli.com
> > version:2.1
> > end:vcard
> >
> 
> > _______________________________________________
> > botan-devel mailing list
> > botan-devel at randombit.net
> > http://www.randombit.net/mailman/listinfo/botan-devel
> 
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://www.randombit.net/mailman/listinfo/botan-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mem_pool_fix.patch
Type: application/octet-stream
Size: 2421 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20070620/6894ceed/attachment.obj>


More information about the botan-devel mailing list