From llvm: Fwd: [Bug 26970] clang 3.8.0 for powerpc64 vs. FreeBSD buildworld: error: invalid float ABI 'soft float is not supported for ppc64' [llvm r283060/r283061 are a fix]
markmi at dsl-only.net
Sun Oct 2 03:17:16 UTC 2016
llvm's bugzilla reports that as of llvm's -r283060/-r283061 TARGET_ARCH=powerpc64 (in FreeBSD terms) has soft-float available in clang (probably this is on/from trunk). See the forward below.
This was another of the items blocking use of clang 3.8.0 for buildworld and the like for powerpc64.
This is another fix by Hal Finkel, one of the two people that have recently been working on things that block clang's use as the system compiler for TARGET_ARCH=powerpc64 and TARGET_ARCH=powerpc for FreeBSD.
[Note: Lots of the fixes made so far would be required for clang's that are from ports and target powerpc64 and/or powerpc as well, especially for powerpc since clang produces code that has (SVR4) ABI violations for stack handling. (so-called "red-zone" on stack for signal handling required to protect that stack --but the ABI says such should not be required and the standard kernel does not provide such.)]
With the prior llvm -r282174 completing the SVR4 stack handling ABI fixes for TARGE_ARCH=powerpc plus the work before that I expect this leaves only some of the C++ exception handling defects from what I'd submitted as bugzilla reports to llvm, for powerpc64 and for powerpc.
If projects/clang390-import also picks up these latest fixes ( -r282174 , -r283060 , -r283061 ) some interesting powerpc64 and powerpc experiments should be possible. (But it will be around a couple of weeks before I've got access to the powerpc64 and powerpc machines again.)
markmi at dsl-only.net
Begin forwarded message:
> From: bugzilla-daemon[ at ]llvm.org
> Subject: [Bug 26970] clang 3.8.0 for powerpc64 vs. FreeBSD buildworld: error: invalid float ABI 'soft float is not supported for ppc64'
> Date: October 1, 2016 at 7:12:07 PM PDT
> To: <markmi[ at ]dsl-only.net>
> Hal Finkel changed bug 26970
> What Removed Added
> Status NEW RESOLVED
> Resolution --- FIXED
> Comment # 1 on bug 26970 from Hal Finkel
> r283060/r283061 enables soft-float for PPC64.
> You are receiving this mail because:
> • You reported the bug.
More information about the freebsd-ports