← Back to team overview

kicad-developers team mailing list archive

Re: Kicad support for Linux on PPC

 

Hi all,

Please find attached a last (I hope) patch for PPC64 compilation issues...

Regards,
Le 20/02/2019 à 16:00, Wayne Stambaugh a écrit :
> Hi Jean-Samuel,
> 
> I merged your patch into the dev branch.  Thank you for your
> contribution to KiCad.
> 
> Cheers,
> 
> Wayne
> 
> On 2/20/2019 8:18 AM, Jean-Samuel Reynaud wrote:
>> Dear All,
>>
>> Following this patch application, please find attached a small patch to
>> fix compilation issue on PPC64 (PPC32 was ok).
>>
>> Regards,
>>
>> Le 18/02/2019 à 14:40, Seth Hillbrand a écrit :
>>> Am 2019-02-11 10:39, schrieb Jean-Samuel Reynaud:
>>>> Dear all,
>>>>
>>>>  Please find attached a patch to adding missing support for Linux
>>>> platform on arch PPC and PPC64.
>>>>  It's proposed by an external user who need that...
>>>>
>>>>
>>>> Regards,
>>>
>>> This patch has been pushed to the KiCad source tree.  Thank you
>>> Jean-Samuel and Gianluca!
>>>
>>> -S
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

>From b4afe381e5bc5730bda1804cd1b0c0e8d0b52478 Mon Sep 17 00:00:00 2001
From: Jean-Samuel Reynaud <js.reynaud@xxxxxxxxx>
Date: Wed, 27 Feb 2019 13:41:02 +0100
Subject: [PATCH] Fix another compilation issue on PPC64
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------2.7.4"

This is a multi-part message in MIME format.
--------------2.7.4
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

---
 include/system/libcontext.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


--------------2.7.4
Content-Type: text/x-patch; name="0001-Fix-another-compilation-issue-on-PPC64.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-Fix-another-compilation-issue-on-PPC64.patch"

diff --git a/include/system/libcontext.h b/include/system/libcontext.h
index 2cd0482..8045fa2 100644
--- a/include/system/libcontext.h
+++ b/include/system/libcontext.h
@@ -46,8 +46,7 @@
         #ifdef _ARCH_PPC64
             #define LIBCONTEXT_PLATFORM_linux_ppc64
             #define LIBCONTEXT_CALL_CONVENTION
-        #endif
-        #ifdef _ARCH_PPC
+        #elif defined _ARCH_PPC
             #define LIBCONTEXT_PLATFORM_linux_ppc32
             #define LIBCONTEXT_CALL_CONVENTION
         #endif

--------------2.7.4--



Follow ups

References