Re: Possible miscompilation issue with floating point operations

Sébastien Villemot <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Organization Debian
Message-ID <[email protected]>
Le jeudi 11 février 2016 à 09:11 +0100, Aurelien Jarno a écrit :
> On 2016-02-10 14:14, Sébastien Villemot wrote:
> > [Please Cc me on replies, I'm not subscribed to the list]
> > 
> > Dear mips porters,
> > 
> > I attach a C source code that, when compiled with gcc-5, crashes with
> > "Illegal instruction" on mips, while it works correctly when compiled
> > with gcc-4.9 [tested on minkus.debian.org].
> > 
> > The problem looks like a miscompilation (the code only does some basic
> > floating-point operations), but it was pointed out by Julien Cristau
> > that it could also be a kernel issue (since floating point instructions
> > are emulated on Debian mips hardware).
> 
> This is actually a kernel issue, which has been fixed by this patch:
> 
> https://git.kernel.org/linus/e4553573b37c3f72533683cb5f3a1ad300b18d37
> 
> We are working on getting the fix deployed on the build daemons.

Great, thanks for your feedback and for your work on this.

If possible, please keep me (and Dirk in cc) informed about the
resolution of this issue (or is there a bug open?).

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://sebastien.villemot.name
  `-      GPG Key: 4096R/381A7594
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.