Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11065

fvisibility.test does not work on Linux if GCC compiler name is not gcc/g++

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.7.0
    • Build System
    • None
    • Gentoo Linux, x86_64
    • 71425f24893fecb15cd4d01e6dc3d391051e9d6b

    Description

      Commit 1ad847de17cb0e5f53bd5c62933ca887d9cdf7ef changed fvisibility.test a lot. After that on systems where name of GCC C++ compiler is not g++ (x86_64-pc-linux-gnu-g++ for example in my case) compiler is not recognized as GCC at all and thus -fvisibility is not used.

      Trivial patch against current 4.7 master that fixes the issue is attached

      Attachments

        1. fvisibility.test.patch
          0.3 kB
          Eugene Shalygin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            eugene.shalygin Eugene Shalygin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes