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

Instructions about building with libclang in README.md are outdated

    XMLWordPrintable

Details

    • a0852cf62ba5d3e79c91a5878cb2eaa5633ccbc4 (qt-creator/qt-creator/4.10)

    Description

      You can find the following text in README.md:

      If you use GCC 5 or higher on Linux, please do not use our LLVM package, but get
      the package for your distribution. Our LLVM package is compiled with GCC 4, so
      you get linking errors, because GCC 5 is using a C++ 11 conforming string
      implementation, which is not used by GCC 4. To sum it up, do not mix GCC 5 and
      GCC 4 binaries. On Ubuntu, you can download the package from
      http://apt.llvm.org/ with:
      
       ...
      
      There is a workaround to set _GLIBCXX_USE_CXX11_ABI to 1 or 0, but we recommend
      to download the package from http://apt.llvm.org/.
      
      1. The gcc versions are outdated. According the file names of our archives, these were built with gcc 5.3, not gcc 4. Nevertheless, the described build problem still exists when building with gcc 7.4 or 8.3. Please update this.
      2. AFAIK, our builds of libclang contain a couple of patches which would be missing when using the packages from the distribution. Is it really recommendable to use the distro's version?

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes