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-881] Use of WMO produces "unable to open dependencies file" in llbuild #812

Open
drewcrawford opened this issue Mar 4, 2016 · 3 comments

Comments

@drewcrawford
Copy link

Previous ID SR-881
Radar None
Original Reporter @drewcrawford
Type Bug

Attachment: Download

Environment

OSX 10.11.3 (15D21)
swift-DEVELOPMENT-SNAPSHOT-2016-03-01-a

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

md5: e26beffd1e16b8f7ca7071b46c35d2ec

Issue Description:

When WMO is used, swift-llbuild outputs errors of the form:

<unknown>:0: error: unable to open dependencies file '.atllbuild//llbuildtmp/Fisher-Yates_Shuffle.d'

I guess this is because -emit-dependencies doesn't do anything in this case, but it is not clear how to resolve this. My current workaround is to compile twice, both with and without the flag, which I think is illogical.

To reproduce, open the attached project, and run

$ swift-build-tool -f .atllbuild/llbuild.yaml
Compiling Swift Module 'example' (2 sources)
<unknown>:0: error: unable to open dependencies file '.atllbuild//llbuildtmp/Fisher-Yates_Shuffle.d'
<unknown>:0: error: build had 1 command failures
@drewcrawford
Copy link
Author

cc: @ddunbar

@aciidb0mb3r
Copy link
Member

This should probably be fixed by #28
@drewcrawford can you try using the new flag and confirm

@Dante-Broggi
Copy link

@aciidb0mb3r commented that this should be fixed. If it has, this should be closed.

@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

3 participants