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-6758] Fatal error when building single product #4843

Closed
krzyzanowskim opened this issue Jan 14, 2018 · 3 comments
Closed

[SR-6758] Fatal error when building single product #4843

krzyzanowskim opened this issue Jan 14, 2018 · 3 comments
Labels

Comments

@krzyzanowskim
Copy link
Contributor

Previous ID SR-6758
Radar rdar://problem/36509350
Original Reporter @krzyzanowskim
Type Bug
Status Resolved
Resolution Done
Environment

Swift 4.0.3.

Darwin.

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 8051074c49d8c5e13d5d95c3f79bcfe8

Issue Description:

Package.swift

// swift-tools-version:4.0
import PackageDescription

var targets:[Target] = [
    .target(name: "OnlinePlayground")
]

var products: [Product] = [
    .library(name: "OnlinePlayground", targets: ["OnlinePlayground"])
]

let package = Package(
    name: "Foofooo",
    products: products,
    dependencies: [],
    targets: targets
)

When using --product option, execution ends with Fatal error:

$ swift build --product OnlinePlayground
Fatal error: file /BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftpm/swiftpm-13752/Sources/Build/llbuild.swift, line 235
Illegal instruction: 4

but works with a default options

$ swift build
Compile Swift Module 'OnlinePlayground' (1 sources)
@ankitspd
Copy link
Member

@swift-ci create

@ankitspd
Copy link
Member

/cc @hartbit

@ankitspd
Copy link
Member

#1454

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

No branches or pull requests

2 participants