|
Boost Users : |
From: Bjoern Rasmussen (bjoern_rasmussen_at_[hidden])
Date: 2004-12-18 08:16:47
Hello Andreas
Unfortunately I haven't figured out what causes this, so right now I'm just
using the -O0 option for my release version.
Do you have a simple code example which provokes this error? Then I can try
to test it on previous versions of g++
Kinds regards
Bjoern D. Rasmussen
>From: akabel_at_[hidden]
>To: "Bear" <bjoern_rasmussen_at_[hidden]>
>Subject: Re: Trouble using shared_ptr with g++ -O0 and -O2 options
>Date: Fri, 17 Dec 2004 12:06:37 -0800
>
>
>Bear wrote:
> > Hello there
> >
> > I'm getting a SIGSEGV when using the boost::shared_ptr in my program
>and
> > compiling with the g++ -O2 option, whereas if I'm using the g++ -O0
>option
> > my programs works the way it should. My program is multi-threaded but
>to the
> > best of my knowledge it is mutex'ed correctly.
>
>I have a very similar problem in a (single-threaded) program. I tried
>several compilers; Intel icc v8.0 behaves correctly, even for high
>optimization level,
>gcc 3.4 and gcc 3.3 dump core at -O2 and behave correctly at -O0. Did
>you find
>out what causes this?
>
>Thanks,
>
> Andreas
>
_________________________________________________________________
Del din verden med MSN Spaces http://spaces.msn.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net