If I remember correctly, Float80 is also unimplemented in 32-bit arm.  I would 
suggest adding a conditional compilation block to disable this code for 32-bit. 
 I'm not that familiar with gyb, however, so I don't know what that looks like.

Cheers,
- Will

> On Nov 27, 2017, at 1:08 AM, Ionel Lescai via swift-dev <swift-dev@swift.org> 
> wrote:
> 
> 
> Hello!
> 
> I'm trying to build Swift from source on a 32-bit Ubuntu virtual machine.
> I've done minor modifications, mostly to the build script (see 
> https://pastebin.com/rmWecTu7 <https://pastebin.com/rmWecTu7>)
> 
> I'm getting the following error, related to converting Float80 (see 
> https://pastebin.com/ue8MRquU <https://pastebin.com/ue8MRquU> for full output)
> 
> 1.    While running pass #147 SILFunctionTransform "SIL alloc_stack Hoisting" 
> on SILFunction "@_T0s7Float80V15_representationAB01_A14RepresentationVvg".
>  for getter for _representation at 
> /home/gigi/local/Source/apple/swift/stdlib/public/core/FloatingPointTypes.swift.gyb:342:16
> 2.    While converting type 'Float80' (declared at 
> [/home/gigi/local/Source/apple/swift/stdlib/public/core/FloatingPointTypes.swift.gyb:74:8
>  - line:3662:1] RangeText="struct Float80 {
> 
> Using ~/local/Source/apple/swift/utils/build-script --release to build.
> 
> Please advise.
> 
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to