[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] c++ crash with lzma-utils (constructors problem?)
On Thu, 2008-04-24 at 23:43 +0200, Vincent Rivière wrote:
> Hello, Alan !
Hello again !
> > I'm getting a startup crash (Bus Error) with constructors when using a
> > c++ program called lzma-utils.
> >
> > I remember there being some problems with this in early GCC patches.
> >
> > Can you try and see if you can see the same problem ?
> >
> > http://tukaani.org/lzma/
>
> Sure, I will look at it !
Excellent - thanks!
> There is still problems with GCC 4 and C++.
> One of them was the ScummVM "duplicate thunk" problem.
> I found a workaround for that, but unfortunately it made appear the
> "cout bug".
> And recently I found a crash with some CppUnit tests, probably related
> to exception handling... I didn't have the courage to investigate...
>
> The big problem is that MiNT uses the a.out file format for .o files,
> which is used fewer and fewer... So when there is a bug in GCC related
> to the a.out file format, we are nearly the only ones affected, so it is
> very hard to get some help from the GCC team for fixing it :-(
>
> I gave up for some time the research for the "cout" bug, because it is
> extremely difficult to track down.
>
> However, I hope the problem with lzma is more simple !
> I will try to compile it when I have some time.
Great.
Alan.