Bug 207529 - PPC64 libm fenv.h incorrect for little endian
Summary: PPC64 libm fenv.h incorrect for little endian
Status: Closed DUPLICATE of bug 207526
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 19:52 UTC by David Edelsohn
Modified: 2016-02-26 19:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Edelsohn 2016-02-26 19:52:35 UTC
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.
Comment 1 David Edelsohn 2016-02-26 19:56:54 UTC

*** This bug has been marked as a duplicate of bug 207526 ***