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

Make exported symbols check optional

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 1.8.0
    • 1.7.0, 1.8.0
    • None
    • 4b8836c8e7c00ab86f35b574cf57c94f52e37e18

    Description

      Recently I investigated why sometimes linking of some libraries in my project takes so much time comparing to qmake. I noted something is happening inside QBS after ld disappears from the process list. I found that "something" is exported symbols check. The problem is reproduced on libraries which have too many exported symbols (over 100000). For them QBS takes over than 2 minutes to perform the check. This is much longer than just re-linking all the dependent products (also this is not the only library which have this problem).

      So my suggestion is to add another possible value for cpp.exportedSymbolsCheckMode: "skip" or "disabled" which will disable this check for libraries like the described one.

      Attachments

        1. test.cpp
          8.67 MB
        2. test.qbs
          0.1 kB
        For Gerrit Dashboard: QBS-1095
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            kds Denis Klychkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes