Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15698

Kernel source generic project: Parsing code after kernel has been built takes many many hours to complete

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4: Low
    • None
    • Qt Creator 3.5.1, Qt Creator 3.6.0
    • C/C++/Obj-C++ Support
    • Debian Testing 64bit (kernel v4.3.3)

    Description

      Creating ticket as requested from mailing list: http://lists.qt-project.org/pipermail/qt-creator/2016-February/005372.html

      Create the generic project as usual (import existing project), for what its worth, remember to add the 'include' directory to the includes as Qt Creator won't pick it by default.

      Qt Creator parses (i.e. for the C code model) the Debian kernel source fine initially, but after building the kernel in-place and restarting, parsing maxes out a core for hours, eating many gigs of RAM (essentially it doesn't complete in a normal timeframe but does show progress - a loop?).

      To recreate, on Debian Testing:

      ===============================================

      sudo aptitude install kernel-package linux-headers linux-source

      ===============================================

      Patched kernel source is now available at '/usr/src/linux-source-<kernel version>.tar.xz' - I extract this in a user directory and work with it.

      To build the kernel (resulting in Debian archives), in the top-level source directory (set CONCURRENCY_LEVEL to your desired parallelism):

      ===============================================

      CONCURRENCY_LEVEL=8 fakeroot make-kpkg --initrd
      --append-to-version=-test kernel_image kernel_headers

      ===============================================

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            omegaphil Omega Weapon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes