Re: Possible miscompilation issue with floating point operations

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On 2016-02-11 10:47, Sébastien Villemot wrote:
> 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?).

The kernel has been fixed in the last jessie point released, and it has
been deployed on the build daemons. Don't hesitate to contact me if a
package should be requeued.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                 http://www.aurel32.net
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.