Re: Possible miscompilation issue with floating point operations
On 11 February 2016 at 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?).
Big thank you to both of you (and the mips porters) to keep this moving
forward.
Much appreciated.
Dirk
| --
| .''`. Sébastien Villemot
| : :' : Debian Developer
| `. `' http://sebastien.villemot.name
| `- GPG Key: 4096R/381A7594
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org
Reply to: