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

ASAN makes us forget to add -ldl on the LIBS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3.2, 6.0.0
    • Build
    • None

    Description

      With ASAN enabled, linking fails on Fedora 22 / gcc 5.1.0, with a missing symbol, since -ldl is lost. jpeach@apache.org 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

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

            Dates

              Created:
              Updated:
              Resolved: