From owner-freebsd-ppc@freebsd.org Wed Sep 7 22:58:48 2016 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 2CB7ABD0D3C for ; Wed, 7 Sep 2016 22:58:48 +0000 (UTC) (envelope-from kristof@swissmail.org) Received: from smtp.swissmail.org (smtpout.swissmail.org [212.25.22.149]) (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 DDEB697F for ; Wed, 7 Sep 2016 22:58:46 +0000 (UTC) (envelope-from kristof@swissmail.org) Received: from vm-mailout2.vm.swissmail.org (vm-mailout2.vm.swissmail.org [212.25.22.135]) by smtp.swissmail.org (Postfix) with ESMTPS id 41FC580FE3; Thu, 8 Sep 2016 00:45:21 +0200 (CEST) Received: from vm-pemfos1.intra.swissmail.org (unknown [192.168.173.54]) by vm-mailout2.vm.swissmail.org (Postfix) with ESMTP id C8AF79FFE9; Thu, 8 Sep 2016 00:50:28 +0200 (CEST) Received: from vm-pemfos1.intra.swissmail.org (localhost [127.0.0.1]) by localhost (Postfix-local-10025) with ESMTP id B7F434A002; Thu, 8 Sep 2016 00:50:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by localhost (PEmFoS/1619.9454.a1); Thu, 8 Sep 2016 00:50:28 +0200 (CEST) X-Pemfos-Policyd: accepted (gFI3YHhND5pdUidUT1G/vGs+0O4gMA4yQAonJVksTWA6X3p1JkdiJCs6cS8OBU49) Subject: Re: From llvm: Fwd: [Bug 26519] Clang 3.8.0's "Target: powerpc-unknown-freebsd11.0" code generation is violating the SVR4 ABI (SEGV can result) [fixed in llvm -r280705] To: freebsd-ppc@freebsd.org References: <08136189-299F-4BD6-9E49-8D39A8913D62@dsl-only.net> <0E2783E3-277F-47F1-B696-46FCFF0DB0F1@dsl-only.net> From: Krzysztof Parzyszek Message-ID: Date: Wed, 7 Sep 2016 17:50:17 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <0E2783E3-277F-47F1-B696-46FCFF0DB0F1@dsl-only.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.99.2 at vm-mailout2 X-Virus-Status: Clean 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: Wed, 07 Sep 2016 22:58:48 -0000 What are the requirements for soft-float, i.e. what conditions exactly does the generated code need to meet? Is the purpose of it to eliminate the use of floating point registers? Is there a library that implements the floating point operations? If not, that is going to be the main obstacle. -Krzysztof On 9/6/2016 8:04 AM, Mark Millard wrote: > llvm's bugzilla reports that the stack-handling SVR4 ABI violation for TARGET_ARCH=powerpc has been fixed r280705 (likely on trunk)! See below. > > This still leaves some problems in the C++ Itanium ABI exception handling support for both powerpc64 and powerpc. Also powerpc64 does not have softfloat available --which blocks libstand from building. Overall the META llvm bug 25780 still lists 3 "depends on" defects pending. One has a partial fix out for review. > > > > Begin forwarded message: > >> From: bugzilla-daemon at llvm.org >> Subject: [Bug 26519] Clang 3.8.0's "Target: powerpc-unknown-freebsd11.0" code generation is violating the SVR4 ABI (SEGV can result) >> Date: September 6, 2016 at 5:31:17 AM PDT >> To: >> >> Krzysztof Parzyszek changed bug 26519 >> What Removed Added >> Status NEW RESOLVED >> Resolution --- FIXED >> >> Comment # 6 on bug 26519 from Krzysztof Parzyszek >> Committed in r280705. >> >> You are receiving this mail because: >> • You reported the bug. > > Begin forwarded message: > >> From: bugzilla-daemon at llvm.org >> Subject: [Bug 25780] [META] Using Clang as the FreeBSD/ppc system compiler >> Date: September 6, 2016 at 5:31:20 AM PDT >> To: >> >> Bug 25780 depends on bug 26519, which changed state. >> What Removed Added >> Status NEW RESOLVED >> Resolution --- FIXED >> >> You are receiving this mail because: >> • You are on the CC list for the bug. > > === > Mark Millard > markmi at dsl-only.net > > On 2016-Sep-1, at 8:08 AM, Mark Millard wrote: > > https://reviews.llvm.org/D24093 is a code review for llvm potentially fixing the violation of the TARGET_ARCH=powerpc SVR4 ABI stack handling rules, no longer requiring a "red-zone" on the stack. See below for more information. > > === > Mark Millard > markmi at dsl-only.net > > Begin forwarded message: > > From: bugzilla-daemon at llvm.org > Subject: [Bug 26519] Clang 3.8.0's "Target: powerpc-unknown-freebsd11.0" code generation is violating the SVR4 ABI (SEGV can result) > Date: September 1, 2016 at 7:22:49 AM PDT > To: > > > Comment # 5 on bug 26519 from Krzysztof Parzyszek > Patch for review: https://reviews.llvm.org/D24093 > > You are receiving this mail because: > • You reported the bug. > > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >