Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1372

Rpath can't be set on a system with specific ldconfig

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.12.1
    • 1.12.0
    • Platforms: Linux/UNIX
    • None
    • 24796796bdec74ce71f6db931280ebd4c3e908e9

    Description

      I have the following output from ldconfig:

      /usr/lib/tls: (hwcap: 0x8000000000000000)

      It's converted to the following path in cpp.systemRunPaths:

      /usr/lib/tls: (hwcap: 0x8000000000000000

      Which becomes an empty string in canonicalSystemRunPaths. "$ORIGIN" string also becomes an empty string when File.canonicalFilePath is applied. As the result isNotSystemRunPath function from gcc.js returns false, and such rpath from cpp.rpaths doesn't appear in a linker command line.

      Attachments

        For Gerrit Dashboard: QBS-1372
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            villytiger Ilya Lyubimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes