[sword-devel] ppc64le build error

Greg Hellings greg.hellings at gmail.com
Wed Jul 17 07:52:08 MST 2019


I got an automated report this week that Sword 1.8.1 has begun failing to
build on ppc64le architecture with type redefinition errors. The errors are
reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1730318

To copy from that link, the relevant error is:

 /usr/include/asm-generic/int-l64.h:29:25: error: conflicting
declaration 'typedef long int __s64'
    29 | typedef __signed__ long __s64;
       |                         ^~~~~

 /usr/include/asm-generic/int-l64.h:30:23: error: conflicting
declaration 'typedef long unsigned int __u64'
    30 | typedef unsigned long __u64;
       |                       ^~~~~

I try to shy away from knowing too much about C's typing system. I can
easily locate the places in our code where we are defining those types
ourself. However, I don't want to mess up proper detection and
definition of them in a patch if I can help it.

--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190717/2e95a454/attachment-0001.html>


More information about the sword-devel mailing list