[Pkg-pascal-devel] Bug#826300: Share knowledge on fpc and powerpc issue

peter green plugwash at p10link.net
Sat Sep 3 09:08:08 UTC 2016


On 03/09/16 03:36, peter green wrote:
> On 02/09/16 23:05, Abou Al Montacir wrote:
>> 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 at ha
>> -    lwz     1, ___fpc_ret at 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 at h  <mailto:operatingsystem_result at h>
> 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.
>
> 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).
This build succeeded, so I have uploaded it.

Can someone tell me what git workflow is being used so I can also push 
this to the git repo on alioth?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160903/0cad71ec/attachment.html>


More information about the Pkg-pascal-devel mailing list