[openbeos] Re: a new release of gcc-2.95.3 is available

On 2004-10-25 at 23:58:04 [+0200], Stephan Assmus wrote:
> 
[ problem in Wonderbrush with gcc-2.95.3-beos-041025 ]:
> 
> loading symbols
> segment violation occurred
> __class_type_info::dcast(type_info const &, int, void *, type_info
> const *, void *) const:
> dcast__C17__class_type_infoRC9type_infoiPvPC9type_infoT3:
> +00a9  ec074515:   *      1042bf0f    movsx   0x00000010(%edx), %eax
> WonderBrush:sc
>    frame         retaddr
> fcffbd68   ec074d78  __dynamic_cast + 0000004c
> fcffbd98   ec97a176  #File liblayout.so text + 0002c176
> fcffbdec   800976e2  MainWindow::_ToolSetupView(void) + 00000122
> fcffc01c   800871fc  MainWindow::MainWindow(BRect) + 00005dec
> fcffc314   8009c684  WonderBrushApp::WonderBrushApp(void) + 00000074
> fcffc374   8008121b  main + 00000627
> fcffc514   800763e5  _start + 00000061
> WonderBrush:

I believe this, as well as the Deskbar-crash (that Ingo has reported on the 
Opentracker-list) are due to my over-ambitious shrinking of the special 
fix_bdirectwin_typeinfo.o object file (see my last post).

The Deskbar-crash goes away if you replace that file with this one:

        http://dl.hirschkaefer.de/gcc/fix_bdirectwin_typeinfo.o

Just copy this to

        /boot/develop/tools/gnupro/lib/gcc-lib/i586-pc-beos/2.95.3-beos-041025/

and relink the application. Afterwards, things should work out much better.

Please tell me if you still have problems.

cheers,
        Oliver

Other related posts: