Subject: Re: making firefox LP64 clean
To: None <port-sparc64@NetBSD.org>
From: Gert Doering <gert@greenie.muc.de>
List: port-sparc64
Date: 11/26/2004 22:29:33
In muc.lists.netbsd.port.sparc64 Christos Zoulas wrote:

>In article <20041125230049.1A50F2356B@thoreau.thistledown.com.au>,
>Simon Burge <simonb@wasabisystems.com> wrote:
>>
>>sparc64 is a good platform for making sure code is clean.  The
>>combination of big-endian and 64-bit seems to catch out a lot
>>of code written by people who assume we all live in intelland.

>What continent is that in?

I don't understand that comment?

The original poster (Simon) is dead right here - I've been working on
NetBSD/Sparc64 since about a year now, and many of the not-so-common
packets are in for a big surprise.  When I installed amanda (for example),
it took me about a day to track down all "int == size_t" assumptions,
which broke things like getpeername() in nasty ways.

The pkgsrc maintainers overall do an astonishing job, but much of the 
original code is just too centered to "all int data types (except char 
and short) are 32 bit" and "all CPUs use i386 byte ordering"...

gert
-- 
gert@greenie.muc.de   fax: +49-89-35655025   http://alpha.greenie.net/mgetty/

Getting talked about is one of the penalties for being pretty, while
being above suspicion is about the only compensation for being homely.
                                -- Kin Hubbard