Subject: Re: Mozilla...
To: Jonathan Eisch <jeisch@boku.net>
From: Tom Ivar Helbekkmo <tih@Norway.EU.net>
List: port-sparc
Date: 11/03/1999 07:49:26
Jonathan Eisch <jeisch@boku.net> writes:

> Anyone get the current pkgsrc mozilla to work under 1.4.1 NetBSD sparc? 
> I compiled it, and when I run mozilla, the computer sits there for a
> little while and then prints "Segmentation fault" to the console, and
> dies.  Anyone have any ideas?

For starters, Mozilla can't run without ELF.  That's needed to handle
the C++ code in there that demands automatic running of constructors
before main() is called, not just in the binary itself, but also in
dynamically loaded libraries.  So you first need to move to a -current
that does ELF, and then you can start debugging.  I've tried, but
while I'm very good at debugging C code, I get totally lost inside the
many levels of automatically generated functions and weird,
non-obvious control flow of C++.  ;-)

-tih
-- 
Popularity is the hallmark of mediocrity.  --Niles Crane, "Frasier"