Subject: "To crash or not to crash", or "netbsd or solaris"
To: None <port-sparc64@netbsd.org>
From: Martin Weber <Ephaeton@gmx.net>
List: port-sparc64
Date: 09/14/2003 13:12:45
Hullo.

I have a question regarding pkgsrc on sparc64 - I have an Ultra 2
Creator which runs fine now (even the ffb framebuffer is working
now (thanks Andrey!) - although slow), but I'm wondering how you
people install pkgsrc stuff. About everything I try to install just
fails with errors stinking very much like problems on 64 bit (type
wider due to prototype, casting to/from pointer/integer w/ different
size etc.). The few things which compile cleanly just crash :)

An example here is tgif. I've built tgif on "my" 2x400 sunos 5.7
ultra 2 (well, not mine, it's not used by my coworkers because it's
"too slow" - damn decadent engineers :) and it ``just works'' fine.
On the other hand when I try to build tgif on netbsd, it ``just
segvs''. Ahum.

Can anyone here share some enlightenment on me how that is supposed
to happen ? It's the same architecture after all, and I can't
imagine netbsd is that crappy :) Or is stuff on the sunos machine
really 32bit whereas I'm using 64bit really ? I think I remember
some hint in some FAQ (can't find it right now) how to run 32bit
userland on sparc64 (I just wondered, why would I want to ?) - is
that the "solution" ?

Well, thanks in advance,

-Martin