On Mon, Jun 29, 2020 at 3:15 PM Niels Möller nisse@lysator.liu.se wrote:
I've committed a change based on this patch. I dropped big-endian ppc support for now (the "apt-get remove nettle-dev:$arch" failed because it's not an arch in official debian. Not sure if that was the only problem, but I wanted to get ppc64el working first, before investigating further). And I had to add a dpkg --add-architecture, since that was also missing in the build image.
Is nettle-dev:ppe64el installed in the image? If not installed, there is no point in removing it.
It would be great if you could prepare a merge request for the image repository. And any advice on what's needed for big-endian ppc, should it work fine to install the cross-compiler packages, despite it not being an official debian arch?
I have no experience modifying build images, I will open an issue in the image repository asking to add support for powerpc64. The cross-compiler packages are supported officially. libc6-ppc64-cross installs the same required files that are installed by libc6:ppc64 but without copying the LD shared library to the default directory so the patch exports QEMU_LD_PREFIX to point out to the LD location. So yes, it works fine since it behaves the same.
Thank you, Mamone