Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Sep 2016 18:18:20 -0500
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        Krzysztof Parzyszek <kristof@swissmail.org>,freebsd-ppc@freebsd.org
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]
Message-ID:  <9CDB0CBC-0B7E-4746-B4BC-418C4DF5540A@gmail.com>
In-Reply-To: <e6771fa1-6cc9-6bd9-48de-421c829c4e59@swissmail.org>
References:  <bug-26519-7604-VMzNnQls1g@http.llvm.org/bugs/> <08136189-299F-4BD6-9E49-8D39A8913D62@dsl-only.net> <0E2783E3-277F-47F1-B696-46FCFF0DB0F1@dsl-only.net> <e6771fa1-6cc9-6bd9-48de-421c829c4e59@swissmail.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On September 7, 2016 5:50:17 PM CDT, Krzysztof Parzyszek <kristof@swissmail.org> 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: <markmi at dsl-only.net>
>>>
>>> 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: <markmi at dsl-only.net>
>>>
>>> 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 <markmi at dsl-only.net>
>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: <markmi at dsl-only.net>
>>
>>
>> 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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9CDB0CBC-0B7E-4746-B4BC-418C4DF5540A>