From owner-freebsd-ppc@freebsd.org Wed Sep 7 23:18:24 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 3DA47BD0362 for ; Wed, 7 Sep 2016 23:18:24 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB0F5662 for ; Wed, 7 Sep 2016 23:18:23 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it0-x22f.google.com with SMTP id e124so49989681ith.0 for ; Wed, 07 Sep 2016 16:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:message-id; bh=veBXe4FXKj4Jp0bp1TCgzLK/GVDv9ZGE9b53pFyGftg=; b=z/dAOzRtM4w8HMi/14wPQr7zIuk1PlfMPLHkJydyRxM+5jJhUgI0YkUXnAXd6KdRCo vqI5VaRFMnRCyvrBfRdCaDXjfpYqhoZJ866krGI22fVT7OMSCAB+AaOZRG/WouQ5wzsK xKHzMHAZnAvNzdARvRfFb9Epu152U/eK8ihq8D5jBFmTyw8i2MdqthVV8Sfp7vMovirg W0M/HuPNs61i72RZpSu5BSTd6I3ZNribTZc0vf2a4OGspVUG0G0Y3zC5LZJLim5H+qsS G0IOkaQMbBKA5FIW8xtYAB0ee4JesnWFjohZ1VVyKZw2MQVE+ahRUYBw1h/DhFx/NkQr Ygug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:from:date:to:message-id; bh=veBXe4FXKj4Jp0bp1TCgzLK/GVDv9ZGE9b53pFyGftg=; b=LwMmJA0STBVL2JGHpAc1OuIeBMjyNt+03IAJHKUqh/RPNuP1TKgJLCEaPsicu6GPJS VkSJUoDWo07S7zO1MkZKT/bUnPN9yjsKOILL9DOUx96GMAcxc2eAmEFkftesLCyNOCqD 9rjJnlea8akDyAhhwjXF0wW7aUWGt1p+733Po33K5nLLFqDUTNyEctqeIU/W0u3jaDuu yXvAMEIh8lnKJogK3dgsy9kp1iEOyWMt9PBfManhqogEO7lC4lYr9thL4TpizNc22sA4 Ud7Rbn3KuUAxPy/tt6nx78fO7R8d+7zhHxCksKqOccGLyD4dD4pFc6SJTFfZRvfBtK32 eu7g== X-Gm-Message-State: AE9vXwMyOZAb9SOlvVXj/lzEijjqDGm7c0oY2qPxq5RwGgoSLwbccHIpFUmp09EEoGoPNw== X-Received: by 10.36.92.20 with SMTP id q20mr10810730itb.10.1473290302636; Wed, 07 Sep 2016 16:18:22 -0700 (PDT) Received: from android-ba24ded86be1f1a5.knownspace (50-80-150-234.client.mchsi.com. [50.80.150.234]) by smtp.gmail.com with ESMTPSA id e8sm4587604itc.15.2016.09.07.16.18.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Sep 2016 16:18:21 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: References: <08136189-299F-4BD6-9E49-8D39A8913D62@dsl-only.net> <0E2783E3-277F-47F1-B696-46FCFF0DB0F1@dsl-only.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 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] From: Justin Hibbits Date: Wed, 07 Sep 2016 18:18:20 -0500 To: Krzysztof Parzyszek ,freebsd-ppc@freebsd.org Message-ID: <9CDB0CBC-0B7E-4746-B4BC-418C4DF5540A@gmail.com> 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 23:18:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On September 7, 2016 5:50:17 PM CDT, Krzysztof Parzyszek wrote: >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" >> > >_______________________________________________ >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" Soft float is required when building the kernel to prevent the compiler from using floating point optimizations. - - Justin - -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -----BEGIN PGP SIGNATURE----- Version: APG v1.1.1 iQJDBAEBCgAtBQJX0KA7JhxKdXN0aW4gSGliYml0cyA8Y2htZWVlZGFsZkBnbWFp bC5jb20+AAoJEMpa9wk3xc9DbNEP/j9vlkf4CKbKJe0tckSNntH7xEcCDziiM2M6 31iPRhy1HOXN8E0H3FoiCAod5ji4W98tdz3yzTOVlbsXbMJI4u/ArUR69Q6L9CGO +iQK2Y9ViAi9YpG+vbKiJPD0FpLXLm0Gh2QkJkkz22dB62ps/05WAI3KynZyQJQQ FTS4aLvubA3qS0GYTNTaqZE7Ei69fCuMd+LTVw4Jbln/sL/pXgTD0/2HdKc5rctP c21Yplv6s7oRNX8+U0j1qEGIvJTPl7r0O4Y36gO1fmYq7Wm10n2ANF/5fwKIsmeM aRsADYJvdEGCpCnd7wgsfLuPWqQ8VZspi8a+5EkbgrzMlcDRtgQ2R7Ba14MQ96vo UAWPLS3bOiTKNGEQJw042vLS4WFVnY6f7DBXkkRlmM0QPaTb72MGPovyMJvPuxUe YqrUhXlvZXAu8afQWYh8e5fDEGubRCT0cJGCc1QIthlWSebdOLE9j7pKjy8vlUqr p7Eri4hUft0s0yGIK1MFcbULXvYfZ3Sv6jYrWuvI9dH73jutyEbsb54orO+vWolj xSnCpZUHrEXDNdzS1uu1CahrHNWTlhga/8pXm8B8FWcq9ewIAKlzC0En7/xxmmFJ FSungWLZLtXzYpG3ZVD8WBR0tQBmeyTFXtDqLPyyuhQWRx3fCFd3tUhYXdgwFSVJ h9CxqDh+ =SBgN -----END PGP SIGNATURE-----