[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

aspell on PowerPC (Was: Release-critical Bugreport for February 18, 2000

On Monday 21 February 2000, at 16 h 10, the keyboard of Sudhakar 
Chandrasekharan <thaths@netscape.com> wrote:

> > Package: aspell (debian/main)
> > Maintainer: Sudhakar Chandrasekharan <thaths@netscape.com>
> >   58358  aspell: uses all available memory (physical and swap) then dies

This is a huge (upstream) bug in aspell. The compiler, on the PowerPC (where 
chars are unsigned) tell you so:

aspell.cc:611: warning: comparison is always true due to limited range of data 

The code is:

    char c;
    while ((c = FILE.get()) != EOF) {

while get returns an int, to be able to check EOF (-1). This code is 
responsible for 50 % of porting problems to the PowerPC.

> I have absolutely no way of debudding this or fixing this. 

Yes: be sure aspell uses "char" sensibly.

> I don't even
> know who (or what, if it is a build daemon) compiles the package for other
> platforms.  

Typically a build daemon. You can always ask on the debian-powerpc list.

> My suggestion: Remove the powerpc package for release.

This may be too harsh. 

Reply to: