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

Need way to disable inclusion of hard-coded RPATH to stdlib dir

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:

      Description

      swiftc is currently unconditionally embedding an LC_RPATH to the standard library location in all the binaries it creates.

      This isn't appropriate for most use cases, those locations embed information on the host system which is not suitable for redistribution.

      We need swiftc to either stop doing this, or provide a way we can disable it. For now, we have to resort to stripping it of the binaries using install_name_tool.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ddunbar Daniel Dunbar
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: