ошибка: ld-2.27.so в swift на Ubuntu 18.04

Я установил swift на свою Ubuntu 18.04, и при запуске я получаю эту ошибку. но код работает хорошо, когда я пишу их, я ищу какое-то решение, чтобы исправить эту ошибку, но дело в том, что я удалю libc6-dbg. это нормально, чтобы удалить это, и другие мои работы не будут иметь эффекта после того, как я удалил это? или я должен игнорировать быструю ошибку ld-2.27.so, так как мой код работает.

error: ld-2.27.so 0xffffffff0005c564: 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 0xffffffff0005c564: 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 0xffffffff0005c5c5: 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 0xffffffff0005c5c5: 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
Welcome to Swift version 5.0.2 (swift-5.0.2-RELEASE).
1
задан 20 August 2019 в 12:11

1 ответ

Это - известная ошибка: https://bugs.swift.org/browse/SR-8690

Обходное решение, если Вы не делаете никакой отладки в glibc, должно удалить отладочную версию:

  sudo apt remove libc6-dbg
1
ответ дан 7 December 2019 в 14:59

Другие вопросы по тегам:

Похожие вопросы: