[swift-dev] Swift build on ppc64le platform

John McCall rjmccall at apple.com
Mon Aug 28 11:29:07 CDT 2017

> On Aug 28, 2017, at 9:08 AM, Meghali Dhoble via swift-dev <swift-dev at swift.org> wrote:
> Hi, 
> I have been working towards getting the swift source code built on my power (ppc64le) platform on Ubuntu16.04 OS. 
> I am observing build issues and looking for some help here. Please redirect me if this is not the right place for these questions.
> I would like to understand the pre-requisites and the hardware configurations required to build this language. 
> The error I am getting look like memory issues as the process is being killed abruptly. I am attaching the log herewith for reference. 
I don't see anything like that in the log.  It looks like an ordinary compiler error relating to our custom calling convention.

You need to either
1. implement swiftcc in LLVM's ppc64 backend and then teach Clang that it's legal there or
2. configure Swift to not try to use it.

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170828/1a681d30/attachment.html>

More information about the swift-dev mailing list