Open swift-ci opened 6 years ago
cc jingham@apple.com (JIRA User)
Comment by Jim Ingham (JIRA)
The missing symbols are from the swift compiler - from GenObjC.cpp - they are from:
namespace {
class Selector {
llvm::SmallString<80> Buffer;
StringRef Text;
public:
static constexpr struct ForGetter_t { } ForGetter{};
static constexpr struct ForSetter_t { } ForSetter{};
...
}
Those shouldn't be exported symbols, however. Not sure why the linker thinks it needs to resolve those.
Ah, this might be what we ran into with Swift: a copy constructor takes a value by reference by default, which makes it look like accessing these things needs a stable address.
Attachment: Download
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | LLDB for Swift | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 6007bd26e86121ecc65d9bd2299ff587Issue Description:
When building swift in debug mode on linux (arch linux in my case) Linking CXX executable bin/lldb-mi failed to build saying the following. Be prepared to have a 40GB Swap to complete this build. I saw utilization around 36 GB of memory for the test libs being linked.
Commit was swift-DEVELOPMENT-SNAPSHOT-2018-11-01-a-56-gb2f60bf978
Build command is: