[Bug 207529] PPC64 libm fenv.h incorrect for little endian

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 26 19:52:35 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207529

            Bug ID: 207529
           Summary: PPC64 libm fenv.h incorrect for little endian
           Product: Ports & Packages
           Version: Latest
          Hardware: ppc
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dje.gcc at gmail.com

fenv.h contains

union __fpscr {
        double __d;
        struct {
                __uint32_t __junk;
                fenv_t __reg;
        } __bits;
};

which is not correct for little endian.  It needs to be adjusted for
endianness.

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


More information about the freebsd-ports-bugs mailing list