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

cannot compile Qt 5.10 with clang 3.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.10.0
    • Core: Other
    • None

    Description

      [~/proj/_build/qt5.9-clang]$ make
      cd qtbase/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/qtbase.pro ) && make -f Makefile
      make[1]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase'
      cd src/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/src/src.pro ) && make -f Makefile
      make[2]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src'
      cd tools/bootstrap/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/src/tools/bootstrap/bootstrap.pro ) && make -f Makefile
      make[3]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/bootstrap'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/bootstrap'
      cd tools/moc/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/src/tools/moc/moc.pro ) && make -f Makefile
      make[3]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/moc'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/moc'
      cd tools/rcc/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/src/tools/rcc/rcc.pro ) && make -f Makefile
      make[3]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/rcc'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/rcc'
      cd tools/qfloat16-tables/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/src/tools/qfloat16-tables/qfloat16-tables.pro ) && make -f Makefile
      make[3]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/qfloat16-tables'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/tools/qfloat16-tables'
      cd 3rdparty/pcre2/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/src/3rdparty/pcre2/pcre2.pro ) && make -f Makefile
      make[3]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/3rdparty/pcre2'
      make[3]: Nothing to be done for 'first'.
      make[3]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/3rdparty/pcre2'
      cd corelib/ && ( test -e Makefile || /home/fanda/proj/_build/qt5.9-clang/qtbase/bin/qmake -o Makefile /home/fanda/proj/qt5/qtbase/src/corelib/corelib.pro ) && make -f Makefile
      make[3]: Entering directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/corelib'
      clang++ -c -Xclang -include-pch -Xclang .pch/Qt5Core/c++.pch -pipe -g -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DPCRE2_CODE_UNIT_WIDTH=16 -I/home/fanda/proj/qt5/qtbase/src/corelib -I. -Iglobal -I/home/fanda/proj/qt5/qtbase/src/3rdparty/harfbuzz/src -I/home/fanda/proj/qt5/qtbase/src/3rdparty/md5 -I/home/fanda/proj/qt5/qtbase/src/3rdparty/md4 -I/home/fanda/proj/qt5/qtbase/src/3rdparty/sha3 -I/home/fanda/proj/qt5/qtbase/src/3rdparty/double-conversion/include -I/home/fanda/proj/qt5/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/home/fanda/proj/qt5/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.10.0 -I../../include/QtCore/5.10.0/QtCore -I.moc -I/home/fanda/proj/qt5/qtbase/src/3rdparty/pcre2/src -isystem /usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/fanda/proj/qt5/qtbase/mkspecs/linux-clang -o .obj/qrandom.o /home/fanda/proj/qt5/qtbase/src/corelib/global/qrandom.cpp
      /home/fanda/proj/qt5/qtbase/src/corelib/global/qrandom.cpp:189:17: error: definition with same mangled name as another definition
          static void closeDevice()
                      ^
      1 error generated.
      Makefile:27000: recipe for target '.obj/qrandom.o' failed
      make[3]: *** [.obj/qrandom.o] Error 1
      make[3]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src/corelib'
      Makefile:198: recipe for target 'sub-corelib-make_first' failed
      make[2]: *** [sub-corelib-make_first] Error 2
      make[2]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase/src'
      Makefile:48: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/home/fanda/proj/_build/qt5.9-clang/qtbase'
      Makefile:89: recipe for target 'module-qtbase-make_first' failed
      make: *** [module-qtbase-make_first] Error 2
      [~/proj/_build/qt5.9-clang]$ clang --version
      Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
      Target: x86_64-pc-linux-gnu
      Thread model: posix
      [~/proj/_build/qt5.9-clang]$
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            fanda Fanda Vacek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes