Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3823

ASAN makes us forget to add -ldl on the LIBS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.2, 6.0.0
    • Component/s: Build
    • Labels:
      None

      Description

      With ASAN enabled, linking fails on Fedora 22 / gcc 5.1.0, with a missing symbol, since -ldl is lost. James Peach found some references indicating that ASAN does magic with dlopen(), causing this. The suggestion is to change the configure.ac test to test on dlsym() instead, which does not get hijacked by ASAN.

        Attachments

          Activity

            People

            • Assignee:
              zwoop Leif Hedstrom
              Reporter:
              zwoop Leif Hedstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: