Switch SPARC GNU coreutils+bash from 32 to 64bit[PSARC/2008/351SelfReview]

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Wed Jun 11 03:28:50 PDT 2008


Roland Mainz <roland.mainz at nrubsig.org> wrote:

> [1]=(SPARC is actually a good choice since it enforces the natural
> alignment of datatypes which is needed for some ports (but not all, e.g.
> AMD64 doesn't require this))

My experience from making OpeenSolaris software 64 bit clean (sh, sccs*, diff)
did not show up any such problem. The typical bugs in the software I fixed 
have been: 

-	missing function prototypes

-	bad/missing pointer casts (e.g. ececl*())

-	pointer/int assignements

-	unintialized variables (this also hit's 32 bit!!!!)

-	use of int where long or explicit (*int*_t) types would bee needed

-	incorrect printf() format strings

In general, the state of many userland programs is still how people would 
expect it 20 years ago.

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



More information about the opensolaris-arc mailing list