From owner-freebsd-ppc@freebsd.org Thu May 4 19:46:05 2017 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DB6ED5D36F for ; Thu, 4 May 2017 19:46:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-77.reflexion.net [208.70.210.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD222970 for ; Thu, 4 May 2017 19:46:04 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20629 invoked from network); 4 May 2017 19:40:33 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 4 May 2017 19:40:33 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.0) with SMTP; Thu, 04 May 2017 15:39:23 -0400 (EDT) Received: (qmail 26729 invoked from network); 4 May 2017 19:39:23 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 May 2017 19:39:23 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id F13DDEC7C39; Thu, 4 May 2017 12:39:22 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: llvm FreeBSD powerpc ABI target bug fix: Re: [Bug 26519] Clang 4.0.0's "Target: powerpc-unknown-freebsd11.0" code generation is violating the SVR4 ABI (SEGV can result) Date: Thu, 4 May 2017 12:39:22 -0700 References: To: Dimitry Andric , FreeBSD Toolchain , FreeBSD PowerPC ML In-Reply-To: Message-Id: <0103401A-CEEA-4992-A45E-E60EA151119B@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2017 19:46:05 -0000 I just got a report of a fix for the FreeBSD powerpc ABI's code generation in llvm. It should fix a stack handling related problem that currently makes clang (through 4) largely useless for TARGET_ARCH=3Dpowerpc . On 2017-May-4, at 12:26 PM, bugzilla-daemon@llvm.org wrote: > Comment # 19 on bug 26519 from Krzysztof Parzyszek > Committed a fix in r302183. >=20 > You are receiving this mail because: > =E2=80=A2 You reported the bug. This would also apply to: powerpc-unknown-freebsd12.0 not just 11.0 Hopefully it is an easy merge into clang 4. =3D=3D=3D Mark Millard markmi at dsl-only.net