-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[SR-3919] SourceKit building failure on LFS #46504
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
Comments
Comment by Vladislav Dembskiy (JIRA) Today I did fresh checkout and got the same error at another place
So I changed the issue subject to SourceKit |
Comment by Vladislav Dembskiy (JIRA) If I use the same workaround to create a symlink from compiler-rt/lib/BlocksRuntime/Block.h to /usr/Include then I this compilation set passed but later I have got another error
It is strange that ld is called instead of ld.gold and why BlocksRuntime library have not been found |
Comment by Vladislav Dembskiy (JIRA) Small progress. Today after fresh checkout I have got similar error but produced by ld.gold:
|
Comment by Vladislav Dembskiy (JIRA) Today I did fresh checkout and run standard installation script:
First error I have got during swift compilation: "Block.h" not found. I did created the issue https://bugs.swift.org/browse/SR-3919 and use the following workaround:
I have no idea about workaround. I believe that libBlocksRuntime should be created during compiler-rt compilation to be used in future steps. Not every Linux distribution includes libblocksruntime-dev. Neither Gentoo nor LFS/BLFS. |
Comment by Vladislav Dembskiy (JIRA) It is looks like nobody care about it |
Comment by Ali Yousefi Sabzevar (JIRA) I faced this problem when compiling swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-05-a on Fedora 26. |
I believe this was fixed a while ago with building blocks runtime as part of dispatch and using that. |
Environment
Linux ved-hp-lfs6 4.9.9 #1 SMP Thu Feb 9 19:33:01 MSK 2017 x86_64 GNU/Linux
Additional Detail from JIRA
md5: 521e8e2d46bce4b2d37ff7c3f1cf1b9f
Issue Description:
I use standard command to build Swift on Linux From Scratch:
And got the error:
The workaround is to create the symlink from compiler-rt/lib/BlocksRuntime/Block.h to /usr/Include but it is not good.
The text was updated successfully, but these errors were encountered: