This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
RE: gcc-3.4.0: mt_allocator crashes due to alignment problems on SPARC targets when sizeof(type) <= 2
- From: "Subrata Basak" <subrata-basak at mediaring dot com>
- To: "'Paolo Carlini'" <pcarlini at suse dot de>,"'Brad Spencer'" <spencer at infointeractive dot com>
- Cc: <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 5 May 2004 09:27:11 +0800
- Subject: RE: gcc-3.4.0: mt_allocator crashes due to alignment problems on SPARC targets when sizeof(type) <= 2
Hi
I would like to remove my email ID: subrata-basak@mediaring.com
from the list and I already sent email two times to this email ID :
libstdc++-unsubscribe@gcc.gnu.org
But, I am still receiving lots of email and I want to discontinue!
Please help me to remove my email from the list.
With Regards
Subrata Basak
-----Original Message-----
From: libstdc++-owner@gcc.gnu.org [mailto:libstdc++-owner@gcc.gnu.org]On
Behalf Of Paolo Carlini
Sent: Wednesday, May 05, 2004 6:28 AM
To: Brad Spencer
Cc: libstdc++@gcc.gnu.org
Subject: Re: gcc-3.4.0: mt_allocator crashes due to alignment problems
on SPARC targets when sizeof(type) <= 2
Brad Spencer wrote:
>This'll teach me to not check the latest CVS before posting. It looks
>like Paolo's change in rev 1.22 may have addressed this by setting a
>minimum bin size (defaulted to 8). I see the thread about that
>mentioned alignment problems on ia64. Sorry for the duplicate issue.
>
>Can I just drop the latest version of mt_allocator.h into the
>gcc-3.4.0 source tree safely?
>
Yes, you can, to my best knowledge, but beware that you will not get for now
the perfect alignment anyway (see my previous message): honestly I don't
know
the details of Sparc, hopefully what you get now is already sufficient
to avoid
crashes (not the optimal performance, tough)
> Perhaps I should just use "pool"
>for now instead?
>
This is also an option: however, be warned that on 64-bit machines you
have to
set _S_align = 16.
Paolo.