Messages in this thread | | | From | Ashutosh Dixit <> | Subject | Re: [PATCH] Documentation/mic/mpssd: fix compile error on BE platforms | Date | Thu, 04 Dec 2014 13:33:10 -0800 |
| |
On Thu, Dec 04 2014 at 08:01:15 AM, Dan Streetman <ddstreet@ieee.org> wrote: > Change any use of htole* macro in static context to instead manually check > for endianness and use __bswap_constant_* macro instead. > > The current glibc definitions of the htole* macros don't allow their use > in a static context; on big endian systems the build fails with:
Instead of building Documentation/mic/mpssd for all architectures, I have submitted a patch which would build it only for x86_64 since that is the only place where it will ever be used. This would resolve this and future builds breaks and also make this patch unnecessary. The maintainers can decide to accept either or these patches, or even both.
| |