[Development] Qt 5.3 and sparc

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Sat Jun 7 20:27:07 CEST 2014


Hi! In the 5.2 series I have been building Qt 5 with sparc detection enabled
(src/corelib/global/qprocessordetection.h uncommenting lines ~297 to ~312).

I knew things where going to change for Qt 5.3, so I didn't pushed the
changes.

Now with Qt 5.3 and sparc detection enabled I get a FTBFS. See the
snippet below or [0] for the full build log. If I uncomment the
sparc detection code everything builds ok.

So IMPOV there are a couple of ways to solve this:

- Keep the detection uncommented: in this case it might be better to simply
remove it, and maybe remove src/corelib/arch/sparc*

- Solve the FTBFS in another way.

Which of the two options would you consider the best approach? Is there any
other approach I might be missing?

Note: sparc is not anymore a release arch for Debian, but it is still kept
in the archive for now. This might change in the future which would mean I
might loose access to a sparc machine (and all the willingness to work on it
too).

Thanks in advance, Lisandro.

[0] <https://buildd.debian.org/status/fetch.php?pkg=qtbase-opensource-src&arch=sparc&ver=5.3.0%2Bdfsg-4&stamp=1402039610>

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

make[3]: Entering directory '/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/corelib'
/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/bin/moc -DQT_NO_MTDEV -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.0+dfsg/mkspecs/linux-g++ -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/corelib -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/include -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/include/QtCore -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/include/QtCore/5.3.0 -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/include/QtCore/5.3.0/QtCore -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/corelib/global -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/3rdparty/pcre -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/3rdparty/harfbuzz/src -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/3rdparty/md5 -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/3rdparty/md4 -I/«BUILDDIR»/qtbase-opensource-src-5.3.0+dfsg/src/3rdparty/sha3 -I/usr/include/c++/4.6 -I/usr/include/c++/4.6/sparc-linux-gnu -I/usr/include/c++/4.6/backward -I/usr/lib/gcc/sparc-linux-gnu/4.6/include -I/usr/local/include -I/usr/lib/gcc/sparc-linux-gnu/4.6/include-fixed -I/usr/include/sparc-linux-gnu -I/usr/include animation/qabstractanimation.h -o .moc/moc_qabstractanimation.cpp
g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -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_MTDEV -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.0 -I../../include/QtCore/5.3.0/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:1067,
                 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
compilation terminated.

-- 
Paris, Je suis impregnée de ta présence!!!
vous cette une fleche alée qui traspase mon cour
  muxbalsoc. Comment posted in
  http://youtube.com/watch?v=G3S_sOEjsmo

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140607/ad3943b5/attachment.sig>


More information about the Development mailing list