bazel rpath puts ORIGIN/../lib at the end of RPATH list

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • ALL
    • None
    • 2
    • 1-Week
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This measn bazel could load stale and incorrect libraries from other build configs before it tries the ones in the install directory. We want our binaries to use the install directory lib path first and foremost. Ideally if our install binaries could only use the RPATH from install directory that would be best. However, since we want bazel to still make some binaries runnable in place, we need to do post link modification of the ELF header, either via patchelf, chrpath, or relinking (resource expensive).

            Assignee:
            Unassigned
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: