Subject: Re: Regress test of divrem fails
To: None <current-users@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: current-users
Date: 12/18/2003 21:55:27
Here are some more informations:

- It is only test 6 which fails.

Here are the first 10 lines from the correct checksum for test 6:

32         3d38509b /         746b9fbe =>                0
32         3d38509b /         746b9fbe =>         3d38509b
32u        b9221258 /         f055617b =>                0
32u        b9221258 /         f055617b =>         b9221258
32 ffffffffc2c7af64 /         746b9fbe =>                0
32 ffffffffc2c7af64 /         746b9fbe => ffffffffc2c7af64
32         3d38509b / ffffffff8b946042 =>                0
32         3d38509b / ffffffff8b946042 =>         3d38509b
32 ffffffffc2c7af64 / ffffffff8b946042 =>                0
32 ffffffffc2c7af64 / ffffffff8b946042 => ffffffffc2c7af64

And here are the 10 first lines from the wrong chesum:

32         643c9869 /         66334873 =>                0
32         643c9869 /         66334873 =>         643c9869
32u        cfc7ddd0 /         d1be8dda =>                0
32u        cfc7ddd0 /         d1be8dda =>         cfc7ddd0
32 ffffffff9bc36796 /         66334873 =>                0
32 ffffffff9bc36796 /         66334873 => ffffffff9bc36796
32         643c9869 / ffffffff99ccb78d =>                0
32         643c9869 / ffffffff99ccb78d =>         643c9869
32 ffffffff9bc36796 / ffffffff99ccb78d =>                0
32 ffffffff9bc36796 / ffffffff99ccb78d => ffffffff9bc36796

Now i did build static versions of the test programm and run it on the
other comp and now the failure mode moved.

So, it seems it is the gcc on the newer system who produce a broken programm.

Bernd

On Thu, Dec 18, 2003 at 08:54:58PM +0100, Bernd Ernesti wrote:
> Hi,
> 
> I was doing a make regress and it failed in src/regress/lib/libc/divrem.
> 
> The md5 output was 3f181846a7fd931b9aeafeac6b32d24c instead of the expected
> ffc1f640297c048e4a9ee02c89bd328a.
> 
> Then I did run the same test on a slighty older -current system from Nov 1st
> and that had the correct checksum.
> 
> Both systems are i386, but the good checksum come from a PIII 600MHz (current
> from Nov 1st) one and the bad checksum was from XP+2600 system (current from today).
> 
> Is there anyone else who gets an error while doing a make regress for that test?
> 
> Bernd
>