# Swift 5.2.3 for Linux

**URL:** <https://forums.swift.org/t/swift-5-2-3-for-linux/35991>\
**Category:** Announcements\
**Created:** [April 29, 2020, 10:09pm UTC](https://forums.swift.org/t/swift-5-2-3-for-linux/35991 "2020-04-29T22:09:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![drexin](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/drexin/32/7573_2.png) [@drexin](https://forums.swift.org/u/drexin)\
**Post date:** [April 29, 2020, 10:09pm UTC](https://forums.swift.org/t/swift-5-2-3-for-linux/35991/1 "2020-04-29T22:09:54Z")

</div>

# Announcing Swift 5.2.3 for Linux

We are happy to announce the release of Swift 5.2.3 for Linux.  
On behalf of the Swift community, I'd like to thank the folks who made this release possible.  
New downloads are available on [swift.org](https://swift.org/download/#swift-523). Official Docker images will be available soon.

## Release Notes

### Swift

- [5.2][Property Wrappers] Improve error recovery in buildStorageReference. [[#30993](https://github.com/apple/swift/pull/30993)]
- [5.2] [Typechecker] Fix \_modify for wrapped properties with observers [[#30994](https://github.com/apple/swift/pull/30994)]
- AST: Fix accessibility checking in opaque type archetype substitution logic [5.2] [[#31058](https://github.com/apple/swift/pull/31058)]
- Sema: Force property wrappers in EmittedMembersRequest::evaluate() [5.2] [[#31059](https://github.com/apple/swift/pull/31059)]
- [5.2][CodeCompletion] Fix a crash in context type analysis for tuple expr [[#31079](https://github.com/apple/swift/pull/31079)]
- [5.2] Remove dependency on libatomic on Linux [[#31053](https://github.com/apple/swift/pull/31053)]
- [5.2] Fix linker flags for -static-executable [[#31244](https://github.com/apple/swift/pull/31244)]

### swift-corelibs-foundation

- [5.2] SR-11917: Using JSONEncoder's .outputFormatting = .sortedKeys has a memory leak on Linux [[#2692](https://github.com/apple/swift-corelibs-foundation/pull/2692)]
- [5.2] SR-11569: DateComponents.isValidDate() ignores timeZone [[#2627](https://github.com/apple/swift-corelibs-foundation/pull/2627)]
- [5.2] Backport: Don't try to follow relative links in \_\_CFTimeZoneCreateSystem [[#2738](https://github.com/apple/swift-corelibs-foundation/pull/2738)]
- Fix Process tests that fails when stdin is empty [[#2765](https://github.com/apple/swift-corelibs-foundation/pull/2765)]
- [5.2] Support Linux variants with older libcurl [[#2770](https://github.com/apple/swift-corelibs-foundation/pull/2770)]

### swift-package-manager

- Backport fedora support [[#2662](https://github.com/apple/swift-package-manager/pull/2662)]
- [5.2] [SR-12667] Fix a SwiftPM 5.2 regression that causes non-source files under declared source directories to be treated as source files [[#2711](https://github.com/apple/swift-package-manager/pull/2711)]

### swift-llbuild

- Backport: Call echo with -e in strip-colors.ninja [[#652](https://github.com/apple/swift-llbuild/pull/652)]

### swift-syntax

- [5.2] Add workaround for stack overflow in tree visitation when having a reduced stack size [[#208](https://github.com/apple/swift-syntax/pull/208)]

---

<div class="post-metadata">

**Author:** ![SwiftUI](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/swiftui/32/24361_2.png) [@SwiftUI](https://forums.swift.org/u/SwiftUI)\
**Post date:** [April 30, 2020, 5:54am UTC](https://forums.swift.org/t/swift-5-2-3-for-linux/35991/2 "2020-04-30T05:54:56Z")

</div>

It _Looks Fabulous_

---

<div class="post-metadata">

**Author:** ![glessard](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/glessard/32/409_2.png) [@glessard](https://forums.swift.org/u/glessard)\
**Post date:** [April 30, 2020, 11:44pm UTC](https://forums.swift.org/t/swift-5-2-3-for-linux/35991/3 "2020-04-30T23:44:54Z")

</div>

With this update, it appears that cx16 support is required for all x64-based platforms. SwiftPM currently compiles C code for mac using cx16, but doesn't do so on Linux. That inconsistency is no longer necessary.

---

<div class="post-metadata">

**Author:** ![brendankirchner](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/brendankirchner/32/10470_2.png) [@brendankirchner](https://forums.swift.org/u/brendankirchner)\
**Post date:** [May 1, 2020, 11:57am UTC](https://forums.swift.org/t/swift-5-2-3-for-linux/35991/4 "2020-05-01T11:57:48Z")

</div>

@drexin thanks for the detailed writeup. I am curious about the docker process. It seems there is a bit of lag time between the release and the docker tags being available. Are there a lot of manual steps in that process that would benefit from being automated?

---

<div class="post-metadata">

**Author:** ![drexin](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/drexin/32/7573_2.png) [@drexin](https://forums.swift.org/u/drexin)\
**Post date:** [May 2, 2020, 4:54pm UTC](https://forums.swift.org/t/swift-5-2-3-for-linux/35991/5 "2020-05-02T16:54:19Z")

</div>

Yes, the dependency to libatomic on Linux was unfortunate and the result of a strange interplay between clang and libstdc++ that caused it to determine the alignment incorrectly and also that the default march on Linux was older than what is being used on macOS. These problems have been fixed and the dependency on libatomic could be dropped.

---

<div class="post-metadata">

**Author:** ![drexin](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/drexin/32/7573_2.png) [@drexin](https://forums.swift.org/u/drexin)\
**Post date:** [May 2, 2020, 4:57pm UTC](https://forums.swift.org/t/swift-5-2-3-for-linux/35991/6 "2020-05-02T16:57:12Z")

</div>

The Docker images are available now, the page just has not been updated, yet. The images should usually be available shortly after the version goes live on [swift.org](http://swift.org), so it‘s worth checking Dockerhub even before the page is updated.
