# Linux Armv5 Support

**URL:** <https://forums.swift.org/t/linux-armv5-support/56278>\
**Category:** Compiler\
**Created:** [March 28, 2022, 2:13am UTC](https://forums.swift.org/t/linux-armv5-support/56278 "2022-03-28T02:13:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColemanCDA](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/colemancda/32/2454_2.png) [@ColemanCDA](https://forums.swift.org/u/ColemanCDA)\
**Post date:** [March 28, 2022, 2:13am UTC](https://forums.swift.org/t/linux-armv5-support/56278/1 "2022-03-28T02:13:16Z")

</div>

I was able to get a functional Swift 5.5.3 toolchain for ARMv5.

Bug:  
[https://bugs.swift.org/browse/SR-15944](https://bugs.swift.org/browse/SR-15944)

PRs:  
[https://github.com/apple/swift/pull/41686](https://github.com/apple/swift/pull/41686)  
[https://github.com/apple/swift-driver/pull/1027](https://github.com/apple/swift-driver/pull/1027)  
[https://github.com/apple/swift-tools-support-core/pull/296](https://github.com/apple/swift-tools-support-core/pull/296)

Patches:

> <https://gist.github.com/colemancda/e2f00ab2e4226b0543fb2f332c47422e>

> <https://gist.github.com/colemancda/ded1de5b1b84a5b84a13c2433b9001a7>

> <https://gist.github.com/colemancda/df87bab835f431f6b02ea9c795dffcd7>

> <https://gist.github.com/colemancda/d6c76ba759732eb78031c707777ae37d>

---

<div class="post-metadata">

**Author:** ![ColemanCDA](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/colemancda/32/2454_2.png) [@ColemanCDA](https://forums.swift.org/u/ColemanCDA)\
**Post date:** [March 28, 2022, 2:46am UTC](https://forums.swift.org/t/linux-armv5-support/56278/2 "2022-03-28T02:46:04Z")

</div>

Swift 5.6 PRs:  
[https://github.com/apple/swift/pull/42056](https://github.com/apple/swift/pull/42056)  
[https://github.com/apple/swift-driver/pull/1040](https://github.com/apple/swift-driver/pull/1040)  
[https://github.com/apple/swift-tools-support-core/pull/306](https://github.com/apple/swift-tools-support-core/pull/306)

Swift 5.6 Patches:

> <https://gist.github.com/colemancda/087209552b6568cbaec432fd4514f465>

> <https://gist.github.com/colemancda/8ebdd4eb03cbcb05798bf98b7dbcfa4f>

> <https://gist.github.com/colemancda/c117f49231902c926b59be9c2630d9d2>

---

<div class="post-metadata">

**Author:** ![hggz](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/hggz/32/6065_2.png) [@hggz](https://forums.swift.org/u/hggz)\
**Post date:** [March 28, 2022, 2:50am UTC](https://forums.swift.org/t/linux-armv5-support/56278/3 "2022-03-28T02:50:02Z")

</div>

You're just knocking out all these compile patches left and right aren't you?

---

<div class="post-metadata">

**Author:** ![ColemanCDA](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/colemancda/32/2454_2.png) [@ColemanCDA](https://forums.swift.org/u/ColemanCDA)\
**Post date:** [March 28, 2022, 2:51am UTC](https://forums.swift.org/t/linux-armv5-support/56278/4 "2022-03-28T02:51:10Z")

</div>

@hggz what can I say, I really want Swift on OpenWRT routers and my iMac G4.

---

<div class="post-metadata">

**Author:** ![ColemanCDA](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/colemancda/32/2454_2.png) [@ColemanCDA](https://forums.swift.org/u/ColemanCDA)\
**Post date:** [March 28, 2022, 4:45am UTC](https://forums.swift.org/t/linux-armv5-support/56278/5 "2022-03-28T04:45:52Z")

</div>

Here is a downloadable toolchain for Debian 11 (arm64)

> **[Release swift-5.6-RC1-ARMV5 · MillerTechnologyPeru/swift](https://github.com/MillerTechnologyPeru/swift/releases/tag/swift-5.6-RC1-ARMV5)**
>
> Added Armv5 support

---

<div class="post-metadata">

**Author:** ![ColemanCDA](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/colemancda/32/2454_2.png) [@ColemanCDA](https://forums.swift.org/u/ColemanCDA)\
**Post date:** [March 28, 2022, 5:10am UTC](https://forums.swift.org/t/linux-armv5-support/56278/6 "2022-03-28T05:10:37Z")

</div>

Buildroot patch

> <https://gist.github.com/colemancda/e2d7923b51697edec61c0004dfece150>

Buildroot configuration

> <https://gist.github.com/colemancda/6cf77d988b5207c35c54e595c69ad776>

---

<div class="post-metadata">

**Author:** ![mickeyl](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/mickeyl/32/12258_2.png) [@mickeyl](https://forums.swift.org/u/mickeyl)\
**Post date:** [March 28, 2022, 5:55am UTC](https://forums.swift.org/t/linux-armv5-support/56278/7 "2022-03-28T05:55:30Z")

</div>

That‘s great news! I hope the patches can make it into upstream.

---

<div class="post-metadata">

**Author:** ![ColemanCDA](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/colemancda/32/2454_2.png) [@ColemanCDA](https://forums.swift.org/u/ColemanCDA)\
**Post date:** [October 23, 2022, 12:51am UTC](https://forums.swift.org/t/linux-armv5-support/56278/8 "2022-10-23T00:51:11Z")

</div>

All the PRs have been merged and part of the Swift 5.7 release
