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

LLDB swig static binding failure on non-Apple builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Component/s: LLDB for Swift
    • Labels:
      None

      Description

      See build breakage here:
      https://ci.swift.org/view/Packages/job/oss-swift-package-linux-ubuntu-14_04/945/console

      Swift LLDB builds using builders that do not have swig, and thus use the static swig bindings baked into the build, will fail on non-Apple OSes.

      This is due to early evaluation of some new Apple-specific #ifdef code that is happening at swig file generation time instead of at the "compile in the generated binding" code. The net effect is that all systems using the static swig bindings are getting the #ifdef _APPLE_ code erroneously.

      In the case of Ubuntu, this is causing the swig binding code to be using some Apple-specific constants and file handling.

      This showed up now because this is the first time we've added #ifdef code to the swig Python type maps file.

        Attachments

          Activity

            People

            Assignee:
            tfiala Todd Fiala
            Reporter:
            tfiala Todd Fiala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: