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

problem with gcc 4.6 and a lot of static libraries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.3.4
    • 1.3.2
    • General
    • None
    • GCC 4.6 (minGW)
    • 86e872bd99184fe862bfe30ef43acd9806e34bc5

    Description

      The linker of gcc 4.6 has problem with the too long arguments list.
      If you have dozens of static libraries and each of them depends on qtcore, qtxml and so on, then this qt libraries add to linking arguments many times.
      This can be fixed with the simple cleaning of staticlibraries array in gcc.js (see patch).
      Possibly it is helpful to make same for dynamiclibraries and frameworks.

      Attachments

        1. gcc.js.patch
          0.9 kB
          Vitaly Bondar
        For Gerrit Dashboard: QBS-710
        # Subject Branch Project Status CR V

        Activity

          People

            jbornema Joerg Bornemann
            vitaly@qubyx.com Vitaly Bondar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes