[Bug 217845] Replace SOFTFLOAT tests with __mips_soft_float, which gcc/clang define for us.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 16 15:08:06 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217845
Bug ID: 217845
Summary: Replace SOFTFLOAT tests with __mips_soft_float, which
gcc/clang define for us.
Product: Base System
Version: CURRENT
Hardware: mips
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: dnelson_1901 at yahoo.com
Created attachment 180878
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180878&action=edit
Replace SOFTFLOAT tests with __mips_soft_float, which gcc/clang define for us.
Replace SOFTFLOAT tests with __mips_soft_float, which gcc/clang define for us.
base r308130 (review D8376) extended softfloat/hardfloat support, but used a
macro that never actually gets set except in libc and msun's Makefile.inc. So
libc and libm got built correctly, but any program including fenv.h itself
assumed it was on a hardfloat systen and emitted inline fpu instructions for
fedisableexcept() and friends.
Using __mips_soft_float is better, since it's a compiler-internal macro that is
always set correctly for the target.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list