[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible miscompilation issue with floating point operations



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
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: