[haiku-development] Re: BeOS Apps Crashing on Haiku (Bug #889)

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 01 Jun 2007 15:53:59 +0200

On 2007-06-01 at 10:02:46 [+0200], Oliver Tappe <zooey@xxxxxxxxxxxxxxx> wrote:
> On 2007-06-01 at 07:44:08 [+0200], Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
> wrote:
> >
> > wrong. Do you have an example how to reproduce it?
> 
> Sure, just edit the compiler's specs file
> (.../tools/gnupro/lib/gcc-lib/i586-pc-beos/2.95.3-beos-060710/specs)
> and remove this from it:
> 
>     %{!no-beos-fixes: fix_bdirectwin_typeinfo.o%s}
> 
> If you then do a 'make clean && make' on GLTeapot and start it, you should 
> be
> able to observe the crash. At least it "worked" for me, when I tested it 
> just
> now...

Thanks. libGL.so is to blame. It contains a BDirectWindow type_info, but no 
type info function. So this is indeed the very same problem, and fixing gcc's 
type info function code should also make the fix_bdirectwin_typeinfo.o 
solution superfluous.

CU, Ingo

Other related posts: