The __fpscr union in lib/msun/powerpc/fenv.h has the wrong order when using little-endian mode on powerpc. As a result, most of the fenv.h functions are broken. See https://github.com/JuliaLang/openlibm/pull/121
*** Bug 207529 has been marked as a duplicate of this bug. ***
A commit references this bug: Author: nwhitehorn Date: Fri Feb 26 20:25:27 UTC 2016 New revision: 296111 URL: https://svnweb.freebsd.org/changeset/base/296111 Log: Make FPSCR definition endian clean. PR: 207526 Submitted by: Simon Byrne Obtained from: Julia MFC after: 1 month Changes: head/lib/msun/powerpc/fenv.h
Thanks for passing this back upstream! I've committed it as r296111. Please continue sending any changes if you run into further issues.