Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2017 15:08:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217845] Replace SOFTFLOAT tests with __mips_soft_float, which gcc/clang define for us.
Message-ID:  <bug-217845-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217845

            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@FreeBSD.org
          Reporter: dnelson_1901@yahoo.com

Created attachment 180878
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180878&action=
=3Dedit
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 tha=
t is
always set correctly for the target.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217845-8>