On 02/09/16 23:05, Abou Al Montacir wrote:
Apparent good news. With this patch and the hacks I previously mentioned for building in a jessie chroot I was able to get a successful build in a jessie chroot on the porterbox. I was then able to run the resulting fpcmkcfg-3.0.0 in the sid chroot on the porterbox.Upstream suggests the following patch which may be temporary: diff --git a/rtl/linux/powerpc/cprt0.as b/rtl/linux/powerpc/cprt0.as index e237d8d..a5672e3 100644 --- a/rtl/linux/powerpc/cprt0.as +++ b/rtl/linux/powerpc/cprt0.as @@ -88,12 +88,8 @@ main_stub: .globl _haltproc .type _haltproc, @function _haltproc: - lis 11, ___fpc_ret@ha - lwz 1, ___fpc_ret@l(11) - addi 1, 1, 16 - lwz 0, 0(1) - mtlr 0 - blr + bl _exit + b _haltproc# li 0, 1 /* exit call */ # lis 3,operatingsystem_result@h <mailto:operatingsystem_result@h>
I then installed the packages built in the jessie chroot on the porterbox into a sid chroot in qemu and attempted to build the packge with the patch above but without the jessie hacks.
That build is currently ongoing. If it succeeds I intend to upload it to Debian (as a "source all powerpc" upload).

