Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.8.0
-
None
-
export CFLAGS="-Os"
export CXXFLAGS="-Os"
export TARGETBITSIZE=$(getconf LONG_BIT)
export DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
export MAKEFLAGS="-j $(( $(cat /proc/cpuinfo | grep ^"processor" -c) ))"
export LD_LIBRARY_PATH=$INSTALLDIR/lib/$DEB_HOST_MULTIARCH:$INSTALLDIR/lib:/usr/local/lib/$DEB_HOST_MULTIARCH:/usr/lib/$DEB_HOST_MULTIARCH:/usr/local/lib:/usr/lib
export PATH="$INSTALLDIR/sbin:$INSTALLDIR/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/sbin:/bin:/usr/games"
export PKG_CONFIG_PATH=$INSTALLDIR/lib/$DEB_HOST_MULTIARCH/pkgconfig:$INSTALLDIR/lib/pkgconfig/:$INSTALLDIR/share/pkgconfig/
export ACLOCAL="aclocal -I $INSTALLDIR/share/aclocal"
export CPATH=$INSTALLDIR/include
export LIBRARY_PATH=$INSTALLDIR/lib
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
export QT_PLUGIN_PATH=$INSTALLDIR/lib/plugins/
export CMAKE_PREFIX_PATH=$INSTALLDIR:$CMAKE_PREFIX_PATH
export XDG_DATA_DIRS=$INSTALLDIR/share:/usr/share
export ACLOCAL_PATH=$INSTALLDIR/share/aclocal:/usr/share/aclocal
export CFLAGS="-Os" export CXXFLAGS="-Os" export TARGETBITSIZE=$(getconf LONG_BIT) export DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null) export MAKEFLAGS="-j $(( $(cat /proc/cpuinfo | grep ^"processor" -c) ))" export LD_LIBRARY_PATH=$INSTALLDIR/lib/$DEB_HOST_MULTIARCH:$INSTALLDIR/lib:/usr/local/lib/$DEB_HOST_MULTIARCH:/usr/lib/$DEB_HOST_MULTIARCH:/usr/local/lib:/usr/lib export PATH="$INSTALLDIR/sbin:$INSTALLDIR/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/sbin:/bin:/usr/games" export PKG_CONFIG_PATH=$INSTALLDIR/lib/$DEB_HOST_MULTIARCH/pkgconfig:$INSTALLDIR/lib/pkgconfig/:$INSTALLDIR/share/pkgconfig/ export ACLOCAL="aclocal -I $INSTALLDIR/share/aclocal" export CPATH=$INSTALLDIR/include export LIBRARY_PATH=$INSTALLDIR/lib export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 export QT_PLUGIN_PATH=$INSTALLDIR/lib/plugins/ export CMAKE_PREFIX_PATH=$INSTALLDIR:$CMAKE_PREFIX_PATH export XDG_DATA_DIRS=$INSTALLDIR/share:/usr/share export ACLOCAL_PATH=$INSTALLDIR/share/aclocal:/usr/share/aclocal
Description
Hi
I am trying to compile qtbase on Debian Stretch. For a while, I was able to install GCC5 and dpkg redirect to it, but now GCC5 is pulled.
When I try to compile with gcc6, I seem to get an issue with stdlib.h, with or without -no-pch passed to configure
I am not sure what I could be doing wrong...
qtbase: QtCore: created fwd-include header(s) for <srcbase>/src/corelib/xml/ { qxmlstream.h (12) } qtbase: QtCore: created version header qtbase: QtCore: created master header qtbase: QtCore: created headers.pri file qtbase: make[2]: Entering directory '/srcbuild/qtbase/build/src/corelib' qtbase: perl /srcbuild/qtbase/mkspecs/features/data/unix/findclasslist.pl < QtCore.version.in > QtCore.version qtbase: g++ -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -dM -E -o .moc/moc_predefs.h /srcbuild/qtbase/mkspecs/features/data/dummy.cpp qtbase: g++ -c -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -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 -DQT_NO_DEBUG -I/srcbuild/qtbase/src/corelib -I. -Iglobal -I/srcbuild/qtbase/src/3rdparty/harfbuzz/src -I/srcbuild/qtbase/src/3rdparty/md5 -I/srcbuild/qtbase/src/3rdparty/md4 -I/srcbuild/qtbase/src/3rdparty/sha3 -I/srcbuild/qtbase/src/3rdparty/double-conversion/include -I/srcbuild/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/srcbuild/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.8.1 -I../../include/QtCore/5.8.1/QtCore -I.moc -isystem /opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -isystem /usr/include -I/srcbuild/qtbase/mkspecs/linux-g++ -o .obj/qglobal.o /srcbuild/qtbase/src/corelib/global/qglobal.cpp qtbase: g++ -c -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -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 -DQT_NO_DEBUG -I/srcbuild/qtbase/src/corelib -I. -Iglobal -I/srcbuild/qtbase/src/3rdparty/harfbuzz/src -I/srcbuild/qtbase/src/3rdparty/md5 -I/srcbuild/qtbase/src/3rdparty/md4 -I/srcbuild/qtbase/src/3rdparty/sha3 -I/srcbuild/qtbase/src/3rdparty/double-conversion/include -I/srcbuild/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/srcbuild/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.8.1 -I../../include/QtCore/5.8.1/QtCore -I.moc -isystem /opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -isystem /usr/include -I/srcbuild/qtbase/mkspecs/linux-g++ -o .obj/qglobalstatic.o /srcbuild/qtbase/src/corelib/global/qglobalstatic.cpp qtbase: g++ -c -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -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 -DQT_NO_DEBUG -I/srcbuild/qtbase/src/corelib -I. -Iglobal -I/srcbuild/qtbase/src/3rdparty/harfbuzz/src -I/srcbuild/qtbase/src/3rdparty/md5 -I/srcbuild/qtbase/src/3rdparty/md4 -I/srcbuild/qtbase/src/3rdparty/sha3 -I/srcbuild/qtbase/src/3rdparty/double-conversion/include -I/srcbuild/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/srcbuild/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.8.1 -I../../include/QtCore/5.8.1/QtCore -I.moc -isystem /opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -isystem /usr/include -I/srcbuild/qtbase/mkspecs/linux-g++ -o .obj/qlibraryinfo.o /srcbuild/qtbase/src/corelib/global/qlibraryinfo.cpp qtbase: g++ -c -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -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 -DQT_NO_DEBUG -I/srcbuild/qtbase/src/corelib -I. -Iglobal -I/srcbuild/qtbase/src/3rdparty/harfbuzz/src -I/srcbuild/qtbase/src/3rdparty/md5 -I/srcbuild/qtbase/src/3rdparty/md4 -I/srcbuild/qtbase/src/3rdparty/sha3 -I/srcbuild/qtbase/src/3rdparty/double-conversion/include -I/srcbuild/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/srcbuild/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.8.1 -I../../include/QtCore/5.8.1/QtCore -I.moc -isystem /opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -isystem /usr/include -I/srcbuild/qtbase/mkspecs/linux-g++ -o .obj/qmalloc.o /srcbuild/qtbase/src/corelib/global/qmalloc.cpp qtbase: g++ -c -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -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 -DQT_NO_DEBUG -I/srcbuild/qtbase/src/corelib -I. -Iglobal -I/srcbuild/qtbase/src/3rdparty/harfbuzz/src -I/srcbuild/qtbase/src/3rdparty/md5 -I/srcbuild/qtbase/src/3rdparty/md4 -I/srcbuild/qtbase/src/3rdparty/sha3 -I/srcbuild/qtbase/src/3rdparty/double-conversion/include -I/srcbuild/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/srcbuild/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.8.1 -I../../include/QtCore/5.8.1/QtCore -I.moc -isystem /opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -isystem /usr/include -I/srcbuild/qtbase/mkspecs/linux-g++ -o .obj/qnumeric.o /srcbuild/qtbase/src/corelib/global/qnumeric.cpp qtbase: g++ -c -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -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 -DQT_NO_DEBUG -I/srcbuild/qtbase/src/corelib -I. -Iglobal -I/srcbuild/qtbase/src/3rdparty/harfbuzz/src -I/srcbuild/qtbase/src/3rdparty/md5 -I/srcbuild/qtbase/src/3rdparty/md4 -I/srcbuild/qtbase/src/3rdparty/sha3 -I/srcbuild/qtbase/src/3rdparty/double-conversion/include -I/srcbuild/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/srcbuild/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.8.1 -I../../include/QtCore/5.8.1/QtCore -I.moc -isystem /opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -isystem /usr/include -I/srcbuild/qtbase/mkspecs/linux-g++ -o .obj/qlogging.o /srcbuild/qtbase/src/corelib/global/qlogging.cpp qtbase: g++ -c -pipe -msse2 -mfpmath=sse -O3 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -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 -DQT_NO_DEBUG -I/srcbuild/qtbase/src/corelib -I. -Iglobal -I/srcbuild/qtbase/src/3rdparty/harfbuzz/src -I/srcbuild/qtbase/src/3rdparty/md5 -I/srcbuild/qtbase/src/3rdparty/md4 -I/srcbuild/qtbase/src/3rdparty/sha3 -I/srcbuild/qtbase/src/3rdparty/double-conversion/include -I/srcbuild/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/srcbuild/qtbase/src/3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.8.1 -I../../include/QtCore/5.8.1/QtCore -I.moc -isystem /opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -isystem /usr/include -I/srcbuild/qtbase/mkspecs/linux-g++ -o .obj/qhooks.o /srcbuild/qtbase/src/corelib/global/qhooks.cpp qtbase: In file included from /usr/include/c++/6/bits/stl_algo.h:59:0, qtbase: from /usr/include/c++/6/algorithm:62, qtbase: from ../../include/QtCore/../../../src/corelib/global/qglobal.h:108, qtbase: from ../../include/QtCore/qglobal.h:1, qtbase: from /srcbuild/qtbase/src/corelib/global/qglobalstatic.h:40, qtbase: from /srcbuild/qtbase/src/corelib/global/qglobalstatic.cpp:40: qtbase: /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory qtbase: #include_next <stdlib.h>
Attachments
Issue Links
- duplicates
-
QTBUG-53375 qmake's inclusion of "-isystem /usr/include" causes build failures with GCC-6
- Closed