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

Fails to compile on SPARC due to missing qatomic_sparc.h

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.2
    • Fix Version/s: 5.4.0
    • Component/s: Core: Threads
    • Labels:
      None
    • Commits:
      1fa3627423a73fe19333e2e016feb35cdf8cd1ea

      Description

      Build failure due to missing qatomic_sparc.h header

      https://buildd.debian.org/status/fetch.php?pkg=qtbase-opensource-src&arch=sparc&ver=5.3.2%2Bdfsg-1&stamp=1410898996

      make[3]: Entering directory '/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/corelib'
      /«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/bin/moc -DQT_NO_USING_NAMESPACE -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 -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DQT_USE_ICU -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/mkspecs/linux-g++ -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/corelib -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/include -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/include/QtCore -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/include/QtCore/5.3.2 -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/include/QtCore/5.3.2/QtCore -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/corelib/global -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/3rdparty/pcre -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/3rdparty/harfbuzz/src -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/3rdparty/md5 -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/3rdparty/md4 -I/«BUILDDIR»/qtbase-opensource-src-5.3.2+dfsg/src/3rdparty/sha3 -I/usr/include/c+/4.9 -I/usr/include/sparc-linux-gnu/c/4.9 -I/usr/include/c+/4.9/backward -I/usr/lib/gcc/sparc-linux-gnu/4.9/include -I/usr/local/include -I/usr/lib/gcc/sparc-linux-gnu/4.9/include-fixed -I/usr/include/sparc-linux-gnu -I/usr/include animation/qabstractanimation.h -o .moc/moc_qabstractanimation.cpp
      g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/sparc-linux-gnu/glib-2.0/include -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c+0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -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 -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DQT_USE_ICU -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/linux-g+ -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.3.2 -I../../include/QtCore/5.3.2/QtCore -Iglobal -I../3rdparty/pcre -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I.moc -x c+-header -c global/qt_pch.h -o .pch/Qt5Core.gch/c+
      In file included from ../../include/QtCore/qbasicatomic.h:1:0,
      from ../../include/QtCore/../../src/corelib/thread/qatomic.h:47,
      from ../../include/QtCore/qatomic.h:1,
      from ../../include/QtCore/../../src/corelib/global/qglobal.h:1071,
      from ../../include/QtCore/qglobal.h:1,
      from global/qt_pch.h:58:
      ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:66:36: fatal error: QtCore/qatomic_sparc.h: No such file or directory

      1. include "QtCore/qatomic_sparc.h"
        ^
        compilation terminated.

      This code was removed as part of general removal of "old atomic code from Qt" in,

      I8a961385fd95011c016b2b1eec52034794dae3e1

        Attachments

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

          Activity

            People

            Assignee:
            adamm Adam Majer
            Reporter:
            adamm Adam Majer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes