[sword-devel] PPE64LE revisited

Greg Hellings greg.hellings at gmail.com
Tue May 26 13:12:17 EDT 2020


I just wanted to point, again, to the build issues I've been having with
Sword on PPC64LE architecture (e.g. the IBM POWER architecture, which is a
supported platform for Fedora). The issue arises from mismatches in the
definitions of 64-bit integers.

Diagnosing this might be tough on x86_64 hardware, so I've created a
Vagrant box (at last - I've been struggling with this for months now) that
you can run on a host that has qemu installed and is using the libvirt
Vagrant driver. This is the default for Fedora/CentOS/RHEL systems.

It should be as simple, now, to get a POWER8 VM architecture running on the
above systems as:

1) dnf install vagrant qemu-system-ppc64
2) cat < EOF > Vagrantfile
Vagrant.configure('2') do |config|
  config.vm.box = 'greg-hellings/fedora-32-ppc64le'
  config.vm.provider :libvirt do |lv, override|
    lv.memory = '4096M'
    lv.cpus = 4
  end
end
EOF
3) vagrant up
4) vagrant ssh

Hopefully this helps you, Troy, in developing a patch that allows Sword to
build on the ppc64le architecture. I'm currently building with a sizeable
patch from Jaak that switches from __u64 to std::uint64_t throughout the
engine so that we can still have Fedora packages. But it would be nice to
see this addressed in mainline.

--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200526/11bb0686/attachment.html>


More information about the sword-devel mailing list