<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 02/09/16 23:05, Abou Al Montacir wrote:<br>
<blockquote cite="mid:1472853954.3904.143.camel@sfr.fr" type="cite">
  <div>
  <div><span>
  <pre><pre><span
 style="color: rgb(139, 142, 143); font-family: monospace; white-space: normal; background-color: rgb(252, 252, 252);">Upstream suggests the following patch which may be temporary:</span></pre><pre><span
 style="font-family: monospace; white-space: normal;">diff --git a/rtl/linux/powerpc/cprt0.as b/rtl/linux/powerpc/cprt0.as</span>
<span style="font-family: monospace; white-space: normal;">index e237d8d..a5672e3 100644</span>
<span style="font-family: monospace; white-space: normal;">--- a/rtl/linux/powerpc/cprt0.as</span>
<span style="font-family: monospace; white-space: normal;">+++ b/rtl/linux/powerpc/cprt0.as</span>
<span style="font-family: monospace; white-space: normal;">@@ -88,12 +88,8 @@ main_stub:</span>
<span style="font-family: monospace; white-space: normal;">     .globl  _haltproc</span>
<span style="font-family: monospace; white-space: normal;">     .type   _haltproc, @function</span>
<span style="font-family: monospace; white-space: normal;"> _haltproc:</span>
<span style="font-family: monospace; white-space: normal;">-    lis     11, ___fpc_ret@ha</span>
<span style="font-family: monospace; white-space: normal;">-    lwz     1, ___fpc_ret@l(11)</span>
<span style="font-family: monospace; white-space: normal;">-    addi    1, 1, 16</span>
<span style="font-family: monospace; white-space: normal;">-    lwz     0, 0(1)</span>
<span style="font-family: monospace; white-space: normal;">-    mtlr    0</span>
<span style="font-family: monospace; white-space: normal;">-    blr</span>
<span style="font-family: monospace; white-space: normal;">+    bl     _exit</span>
<span style="font-family: monospace; white-space: normal;">+    b      _haltproc</span>

<span style="font-family: monospace; white-space: normal;"> #    li      0, 1       /* exit call */</span>
<span style="font-family: monospace; white-space: normal;"> #    lis     3, <a
 moz-do-not-send="true" href="mailto:operatingsystem_result@h">operatingsystem_result@h</a></span><font
 color="#8b8e8f" face="monospace"><span
 style="white-space: normal; background-color: rgb(252, 252, 252);">
</span></font></pre></pre>
  </span></div>
  </div>
</blockquote>
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.<br>
<br>
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.<br>
<br>
That build is currently ongoing. If it succeeds I intend to upload it
to Debian (as a "source all powerpc" upload).<br>
<br>
<br>
</body>
</html>