GMP 4.2.4 probably miscompiled by GCC 4.3.2 (debian lenny) on mips64el with -mabi=64: t-divrem_1 and t-fat FAIL

Laurent GUERBY laurent at guerby.net
Sat Feb 28 22:02:51 CET 2009


On Sat, 2009-02-28 at 21:47 +0100, Torbjorn Granlund wrote:
> Laurent GUERBY <laurent at guerby.net> writes:
> 
>   On Sat, 2009-02-28 at 21:14 +0100, Torbjorn Granlund wrote:
>   > I am a little suspicious this is actually not gcc's fault, but a gmp
>   > bug.  Please try removing mpn/mips64/divrem_1.asm, rerun a clean
>   > configure, and see if that helps.
>   > 
>   > I think mpn/mips64/divrem_1.asm doesn't properly handle both the ABI
>   > n32 and 64.
>   
>   With the removal of this file all test PASS.
>   
> Thanks for reporting, thanks for following up!
> 
>   Let me know if you want me to try something else.
> 
> I'll make sure GMP 4.3 works for the platform, even with the pesky GCC
> 4.4.  (I intend to make the gcc compile farm machines run gmp
> automated builds.)

Great! I will probably create all accounts monday on gcc51
and send the announce (gcc52 the other mips64el machine of the farm has
only 32 bits compiler and libraries).

Sincerely,

Laurent




More information about the gmp-bugs mailing list