From owner-freebsd-ppc@freebsd.org Wed Mar 28 18:50:25 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69DC7F6FECD; Wed, 28 Mar 2018 18:50:25 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 071697D4DB; Wed, 28 Mar 2018 18:50:24 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from helicon.physics.ucla.edu (helicon.physics.ucla.edu [169.232.156.253]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id w2SIcGI2009644 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 28 Mar 2018 11:38:16 -0700 Subject: Re: From LLVM: I got a note that LLVM plans to remove PPC64's V1 abi support; I'm asked about what support there is for the PPC64 little-endian/V2 abi (see forwarded message) To: Sean Fertile , marklmi26-fbsd@yahoo.com Cc: chmeeedalf@gmail.com, emaste@freebsd.org, freebsd-current@freebsd.org, freebsd-ppc@freebsd.org References: From: Nathan Whitehorn Message-ID: Date: Wed, 28 Mar 2018 11:38:15 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Sonic-CAuth: UmFuZG9tSVaOZ1VFSR+F12WGETgJIfrnytFq9JEOX5+fRE5bgQ+oQz1bZxdf4LS1ZjiQ9OcTWvofueNtHzsgmx+Hgfxn9OHwZsY5gmD8ERY= X-Sonic-ID: C;viGwLbcy6BGjVFDNXaHR5A== M;7tj1Lbcy6BGjVFDNXaHR5A== X-Spam-Flag: No X-Sonic-Spam-Details: 0.3/5.0 by cerberusd Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 18:50:25 -0000 Is this big-endian support or V1 support being removed? We support the V2 ABI fully on FreeBSD, but not (yet) little-endian. Like on Linux, the default ABI on big-endian will likely remain V1 for the indefinite future, however, and it would be good if it were at least simple to re-add support at some later date. -Nathan On 03/28/18 11:22, Sean Fertile wrote: > Hi Mark, > Just so we are clear this is about V1 abi support in lld, not in llvm. > The compiler will still be able to produce valid code for big-endian > ppc64. > Regards > Sean > > ----- Original message ----- > From: Mark Millard > To: Nathan Whitehorn , Justin Hibbits > , Ed Maste > Cc: freebsd-ppc@freebsd.org, FreeBSD Current > , sfertile@ca.ibm.com > Subject: From LLVM: I got a note that LLVM plans to remove PPC64's > V1 abi support; I'm asked about what support there is for the > PPC64 little-endian/V2 abi (see forwarded message) > Date: Wed, Mar 28, 2018 1:23 PM > I'm not one of the better people to be responding to the the likes of > the below. So I've forwarded to some folks better able to comment, > and 2 freebsd lists so others can see the note as well. > > sfertile at ca.ibm.com likely does not monitor any FreeBSD lists. So > either direct sends or use of llvm's bug 31716 comments are probably > required for responses. > > Begin forwarded message: > > > From: bugzilla-daemon@llvm.org > > Subject: [Bug 31716] FreeBSD's 3.9.1 lld: Powerpc64: code in > .plt expects function descriptor layout but .got.plt space it uses > does not have such > > Date: March 28, 2018 at 10:00:01 AM PDT > > To: marklmi26-fbsd at yahoo.com > > > > sfertile@ca.ibm.com changed bug 31716 > > What Removed Added > > CC sfertile at ca.ibm.com > > > > Comment # 2 on bug 31716 from sfertile at ca.ibm.com > > Hi Mark, > > > > I'm one of a few people now actively working on adding support > for the PPC64 V2 > > abi.Our plan was to explicitly remove support for the V1 abi (at > least until > > someone makes a pointed effort to support it). I'm interested in > hearing what > > support FreeBSD has for ppc64 right now. Is there any support > for the > > little-endian/V2 abi? > > > > > > You are receiving this mail because: > > • You reported the bug. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > >