[Python-modules-team] Bug#756905: gfortran miscompilation on mips.

Julian Taylor jtaylor.debian at googlemail.com
Fri Aug 8 19:33:22 UTC 2014


On 07.08.2014 09:10, YunQiang Su wrote:
> On Sun, 03 Aug 2014 13:34:24 +0200 Matthias Klose <doko at debian.org> wrote:
>> Package: python-scipy
>> Version: 0.14.0-1
>> Severity: serious
>> Tags: sid jessie
>>
>> the package fails to build on mips, but did build before.
>> see
>> https://buildd.debian.org/status/fetch.php?pkg=python-scipy&arch=mips&ver=0.14.0-1&stamp=1406905822
> 
> Yes, I met the same problem on mips64el
> http://mips64el.debian.net/debian/buildlog/p/python-scipy_0.14.0-1/python-scipy_0.14.0-1_mips64el-20140716-1434.build
> 
>>
>> the autopkg tests fail, see
>> http://ci.debian.net/#package/python-scipy
>>
>> please fix these, or disable them.
>>
>>
> 

I'm blaming gfortran:

      program add
      implicit none
      real a,b,s
      read *, a
      print *, ' is ' , int(a)
      stop
      end


(sid_mips-dchroot)jtaylor at gabrielli:~$ ./a.out
-1e99
  is   2147483647

according to https://gcc.gnu.org/onlinedocs/gfortran/INT.html this
should be -2147483648



More information about the Python-modules-team mailing list