[DragonFlyBSD - Bug #1740] (Closed) Linux emulation: -ffast-math causes floating point exception
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Mon Jan 19 04:29:21 PST 2015
Issue #1740 has been updated by tuxillo.
Description updated
Category set to Kernel
Status changed from New to Closed
Assignee deleted (0)
Target version set to 4.2.x
Hi,
Only i386 has linux emulation and i386 is no longer supported since 3.8 so closing this one.
Cheers,
Antonio Huete
----------------------------------------
Bug #1740: Linux emulation: -ffast-math causes floating point exception
http://bugs.dragonflybsd.org/issues/1740#change-12520
* Author: Johannes.Hofmann
* Status: Closed
* Priority: Normal
* Assignee:
* Category: Kernel
* Target version: 4.2.x
----------------------------------------
Some Linux binaries compiled with -ffast-math crash with floating
point exception. There also is a warning in dmesg:
FXRSTR: illegal FP MXCSR 00009fc0 didinit = 0
This is a bit unfortunate as for some reason the procps package
(pkill, pgrep, uptime, etc) is compiled with the -ffast-math switch
and the utilities crash.
The following mini-program shows the crash when compiled with
-ffast-math (as Linux binary):
#include <stdio.h>
int main(int argc, char **argv) {
double d;
scanf("%lf", &d);
printf("%f\n", d);
}
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list