Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-9386] Cannot use URL on armv7 #3581

Open
Bouke opened this issue Nov 30, 2018 · 2 comments
Open

[SR-9386] Cannot use URL on armv7 #3581

Bouke opened this issue Nov 30, 2018 · 2 comments

Comments

@Bouke
Copy link
Contributor

Bouke commented Nov 30, 2018

Previous ID SR-9386
Radar None
Original Reporter @Bouke
Type Bug
Environment

Swift version 4.1.1 (swift-4.1.1-RELEASE)
Target: armv7-unknown-linux-gnueabihf

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug, 32BitOnly, Linux, armv7
Assignee None
Priority Medium

md5: e1b2734f416bbcc5c09d944dd6a3f189

Issue Description:

I have the following test file:

import Foundation
let url = URL(fileURLWithPath: "url.swift")
print("created, printing...")
print("\(url)")

When running this on armv7 architecture (Pi3 / raspbian stretch), it sometimes segfaults:

pi@pi3:~ $ swift url.swift
created, printing...
/home/pi/url.swift

pi@pi3:~ $ swift url.swift
created, printing...
Stack dump:0. Program arguments: /usr/bin/swift -frontend -interpret url.swift -disable-objc-interop -color-diagnostics -module-name urlSegmentation fault 
@belkadan
Copy link

Yikes. Obligatory warning that armv7 Linux is not a supported platform at this time, but someone's gonna need to look into it. (Well, unless it's already been fixed in Swift 4.2.)

@Bouke
Copy link
Contributor Author

Bouke commented Dec 8, 2018

I'm now using a build created from 4.1.2 by the ARM community and this issue doesn't appear. However due to the amount of patches applied, I'm not sure if this is fixed in master.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants