'Non-persistent' S4TF安装

'Non-persistent' S4TF installation

我已按照 github 存储库和 swift REPL 一开始有效,但也会抛出这些警告;

error: ld-2.27.so 0x7fffffff0005c564: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message
error: ld-2.27.so 0x7fffffff0005c564: adding range [0x146d0-0x146d6) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message
error: ld-2.27.so 0x7fffffff0005c5c5: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message
error: ld-2.27.so 0x7fffffff0005c5c5: adding range [0x146d0-0x146d6) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message

然而,当我退出终端 (Ubuntu 18.04) 并重新打开时,运行 swift 不会 return REPL。

当我最初尝试安装 swift(在 s4tf 之前)时,上述情况仍然存在,这意味着它可能是 swift 的问题。

当前解法: 我目前必须将路径添加到环境中。每次我打开终端以使用 REPL。

任何知道如何解决这个问题的人。

这可能是由于 SR-8690 问题造成的,它总体上影响了 Swift Ubuntu。删除 libc6-dbg (sudo apt remove libc6-dbg) 清除错误。