[sword-devel] PPE64LE revisited
Troy A. Griffitts
scribe at crosswire.org
Tue May 26 22:57:01 EDT 2020
Thanks, Greg. This is a great help. I'll have a look at it and let you know what I come up with.
Troy
On May 26, 2020 10:12:17 AM MST, Greg Hellings <greg.hellings at gmail.com> wrote:
>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
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200526/cc0d092b/attachment.html>
More information about the sword-devel
mailing list