Uploaded image for project: 'Swift'
  1. Swift
  2. SR-8690

swift REPL error: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: LLDB for Swift
    • Labels:
      None
    • Environment:

      Ubuntu 18.04

      Description

      I get the following errors when I launch the REPL on Linux:

      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 4.2-dev (LLVM 87c8750b12, Clang b3a4b2c47b, Swift 2e92a5a456).
      

      The REPL seems to work fine, but the errors above appear when first launching.

      I've attached the file it mentions as requested.

      EDIT: swift-4.2-CONVERGENCE seemed to work fine but I had the same issue mentioned here: https://forums.swift.org/t/swift-snapshots-for-ubuntu-18-04/14921/2

      I've downloaded the 4.2 development snapshot instead of the trunk master and now everything seems to work as expected.

        Attachments

        1. ld-2.27.so
          167 kB
        2. pat.rtf
          370 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              grant Grant James
            • Votes:
              8 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated: