Re: [swift-dev] Swift build on ppc64le platform

2017-09-06 Thread John McCall via swift-dev
> On Sep 6, 2017, at 3:28 AM, Meghali Dhoble <dhob...@us.ibm.com> wrote:
> Thanks John, for the response.
> We have a patch added already for ppc64 support at llvm, however still the 
> failures seen,
> 
Did you change Clang?

John.
> I will try to opt for 2nd option and see if that helps.
> 
> Thanks,
> Meghali
> 
> John McCall ---08/28/2017 09:59:28 PM---> On Aug 28, 2017, at 
> 9:08 AM, Meghali Dhoble via swift-dev <swift-dev@swift.org> wrote: > Hi,
> 
> From: John McCall <rjmcc...@apple.com>
> To: Meghali Dhoble <dhob...@us.ibm.com>
> Cc: swift-dev <swift-dev@swift.org>, Graydon Hoare <gho...@apple.com>
> Date: 08/28/2017 09:59 PM
> Subject: Re: [swift-dev] Swift build on ppc64le platform
> Sent by: rjmcc...@apple.com
> 
> 
> 
> On Aug 28, 2017, at 9:08 AM, Meghali Dhoble via swift-dev 
> <swift-dev@swift.org <mailto:swift-dev@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.
> 
> John.
> 

___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


Re: [swift-dev] Swift build on ppc64le platform

2017-09-06 Thread Meghali Dhoble via swift-dev

Thanks John, for the response.
We have a patch added already for ppc64 support at llvm, however still the
failures seen,
I will try to opt for 2nd  option and see if that helps.

 Thanks,
Meghali



From:   John McCall <rjmcc...@apple.com>
To: Meghali Dhoble <dhob...@us.ibm.com>
Cc: swift-dev <swift-dev@swift.org>, Graydon Hoare
<gho...@apple.com>
Date:   08/28/2017 09:59 PM
Subject:    Re: [swift-dev] Swift build on ppc64le platform
Sent by:rjmcc...@apple.com



  On Aug 28, 2017, at 9:08 AM, Meghali Dhoble via swift-dev <
  swift-dev@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.

John.
___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


Re: [swift-dev] Swift build on ppc64le platform

2017-08-28 Thread John McCall via swift-dev
> On Aug 28, 2017, at 9:08 AM, Meghali Dhoble via swift-dev 
>  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.

John.
___
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev