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-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.

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.