<html><body><p><font size="2">Thanks John, for the response.</font><br><font size="2">We have a patch added already for ppc64 support at llvm, however still the failures seen,</font><br><font size="2">I will try to opt for 2nd  option and see if that helps.</font><br><br><font size="2"> Thanks,</font><br><font size="2">Meghali</font><br><br><img width="16" height="16" src="cid:1__=8FBB0B00DFBB4A788f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for John McCall ---08/28/2017 09:59:28 PM---&gt; On Aug 28, 2017, at 9:08 AM, Meghali Dhoble via swift-dev &lt;"><font size="2" color="#424282">John McCall ---08/28/2017 09:59:28 PM---&gt; On Aug 28, 2017, at 9:08 AM, Meghali Dhoble via swift-dev &lt;swift-dev@swift.org&gt; wrote: &gt; Hi,</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">John McCall &lt;rjmccall@apple.com&gt;</font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">Meghali Dhoble &lt;dhoblem@us.ibm.com&gt;</font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">swift-dev &lt;swift-dev@swift.org&gt;, Graydon Hoare &lt;ghoare@apple.com&gt;</font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">08/28/2017 09:59 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [swift-dev] Swift build on ppc64le platform</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">rjmccall@apple.com</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br>
<ul><ul>On Aug 28, 2017, at 9:08 AM, Meghali Dhoble via swift-dev &lt;<a href="mailto:swift-dev@swift.org"><u><font color="#0000FF">swift-dev@swift.org</font></u></a>&gt; wrote:
<p><font size="2">Hi, <br>I have been working towards getting the swift source code built on my power (ppc64le) platform on Ubuntu16.04 OS. <br>I am observing build issues and looking for some help here. Please redirect me if this is not the right place for these questions.</font><br><font size="2"><br>I would like to understand the pre-requisites and the hardware configurations required to build this language. <br>The error I am getting look like memory issues as the process is being killed abruptly. I am attaching the log herewith for reference. </font></ul></ul>I don't see anything like that in the log.  It looks like an ordinary compiler error relating to our custom calling convention.<br><br>You need to either<br>1. implement swiftcc in LLVM's ppc64 backend and then teach Clang that it's legal there or<br>2. configure Swift to not try to use it.<br><br>In the short term, I suspect that (2) is the right approach.  Graydon was at least thinking about doing some work recently that would be aimed at making it easier to do this kind of configuration; CC'ing him explicitly to see if there's been progress there.<br><br>John.<br><BR>
</body></html>