[Development] Fwd: qrandom.cpp build problem: please advise
Alexei Fedotov
alexei.fedotov at gmail.com
Tue Mar 6 16:45:11 CET 2018
(I posted the error message one extra time)
--
Carry a towel
http://dataved.ru/
+7 916 562 8095
[1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/
[2] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings
[3] Start using Apache Openmeetings today, http://openmeetings.apache.org/
On Tue, Mar 6, 2018 at 6:42 PM, Alexei Fedotov <alexei.fedotov at gmail.com> wrote:
> Thiago, here is a required info
>
> 1) the command line extracted from the log which reproduces the error,
>
> D:/compilers/gcc-linaro-7.1.1-2017.08-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
> -c -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a
> -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard
> --sysroot=D:/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihf
> -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden
> -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond
> -Wno-stringop-overflow -Werror -Wno-error=cpp
> -Wno-error=deprecated-declarations -Wno-error=strict-overflow
> -Wno-error=implicit-fallthrough -D_REENTRANT -fPIC
> -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH
> -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 -Wall -Wextra -Werror
> -Woverloaded-virtual -Wshadow -Wundef -Wfloat-equal -Wnon-virtual-dtor
> -Wpointer-arith -Wformat-security -Wno-long-long -Wno-variadic-macros
> -pedantic-errors -Wchar-subscripts -Wold-style-cast -Wdouble-promotion
> -Wfloat-conversion -Wzero-as-null-pointer-constant -I.
> -I../3rdparty/zlib/src -Iglobal -I../3rdparty/harfbuzz/src
> -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3
> -I../3rdparty/double-conversion/include
> -I../3rdparty/double-conversion/include/double-conversion
> -I../3rdparty/forkfd -I../../include -I../../include/QtCore
> -I../../include/QtCore/5.10.1 -I../../include/QtCore/5.10.1/QtCore
> -I.moc -I../3rdparty/pcre2/src
> -I../../mkspecs/devices/linux-beagleboard-g++ -DQT_NO_CAST_TO_ASCII=1
> -DQT_NO_CAST_FROM_ASCII=1 -UQT_RESTRICTED_CAST_FROM_ASCII
> -DQT_STRICT_ITERATORS -DQT_NO_URL_CAST_FROM_STRING=1
> -DQT_NO_CAST_FROM_BYTEARRAY=1 -DQT_NO_KEYWORDS=1
> -DQT_USE_QSTRINGBUILDER -DQT_USE_FAST_OPERATOR_PLUS -Dsignals=int
> -Dslots=int -Demit=public: -Dforeach=public: -Dforever=public: -xc++
> arch/qatomic_bootstrap.h -o .obj/header_qatomic_bootstrap.obj
>
> In file included from ../../include/QtCore/qatomic_cxx11.h:1:0,
> from
> ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:53,
> from ../../include/QtCore/qbasicatomic.h:1,
> from
> ../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
> from ../../include/QtCore/qatomic.h:1,
> from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:1185,
> from ../../include/QtCore/qglobal.h:1,
> from
> ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:44,
> from ../../include/QtCore/qgenericatomic.h:1,
> from arch/qatomic_bootstrap.h:44:
> ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:48:19:
> error: 'QAtomicOpsSupport' is not a class template
> template<> struct QAtomicOpsSupport<1> { enum { IsSupported = 1 }; };
> ^~~~~~~~~~~~~~~~~
> ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:48:40:
> error: explicit specialization of non-template 'QAtomicOpsSupport'
> template<> struct QAtomicOpsSupport<1> { enum { IsSupported = 1 }; };
>
> 2) here is the first error message (I get the same for other <2> later as well)
>
> In file included from ../../include/QtCore/qatomic_cxx11.h:1:0,
> from
> ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:53,
> from ../../include/QtCore/qbasicatomic.h:1,
> from
> ../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
> from ../../include/QtCore/qatomic.h:1,
> from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:1185,
> from ../../include/QtCore/qglobal.h:1,
> from
> ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:44,
> from ../../include/QtCore/qgenericatomic.h:1,
> from arch/qatomic_bootstrap.h:44:
> ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:48:19:
> error: 'QAtomicOpsSupport' is not a class template
> template<> struct QAtomicOpsSupport<1> { enum { IsSupported = 1 }; };
> ^~~~~~~~~~~~~~~~~
> ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:48:40:
> error: explicit specialization of non-template 'QAtomicOpsSupport'
> template<> struct QAtomicOpsSupport<1> { enum { IsSupported = 1 }; };
>
> 3) here is the compiler version,
> D:/compilers/gcc-linaro-7.1.1-2017.08-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
> -v
> Using built-in specs.
> COLLECT_GCC=D:\compilers\gcc-linaro-7.1.1-2017.08-i686-mingw32_arm-linux-gnueabihf\bin\arm-linux-gnueabihf-g++.exe
> COLLECT_LTO_WRAPPER=d:/compilers/gcc-linaro-7.1.1-2017.08-i686-mingw32_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/7.1.1/lto-wrapper.exe
> Target: arm-linux-gnueabihf
> Configured with:
> '/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/snapshots/gcc.git~linaro-7.1-2017.08/configure'
> SHELL=/bin/bash
> --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
> --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
> --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
> --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto
> --enable-shared --without-included-gettext --enable-nls
> --disable-sjlj-exceptions --enable-gnu-unique-object
> --enable-linker-build-id --disable-libstdcxx-pch --enable-c99
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long
> --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib
> --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb
> --with-tune=cortex-a9 --with-arch=armv7-a --enable-threads=posix
> --enable-multiarch --enable-libstdcxx-time=yes
> --enable-gnu-indirect-function
> --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf
> --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32/arm-linux-gnueabihf/libc
> --enable-checking=release --disable-bootstrap
> --enable-languages=c,c++,fortran,lto
> --with-libiconv-prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32/usr
> --build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32
> --target=arm-linux-gnueabihf
> --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
> Thread model: posix
> gcc version 7.1.1 20170707 (Linaro GCC 7.1-2017.08)
>
> Thanks for your help!
> --
> Carry a towel
> http://dataved.ru/
> +7 916 562 8095
>
> [1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/
> [2] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings
> [3] Start using Apache Openmeetings today, http://openmeetings.apache.org/
>
>
> On Tue, Mar 6, 2018 at 6:29 PM, Thiago Macieira
> <thiago.macieira at intel.com> wrote:
>> On Tuesday, 6 March 2018 07:04:52 PST Alexei Fedotov wrote:
>>> Hi Edward,
>>> After I learned that configure needs -recheck and cleaned the
>>> workspace, I cannot build Qt that
>>> far to check the fix. I get the problem with QAtomicOpsSupport with
>>> the last branch and some other problems with different branches
>>> "is not a class template
>>> template<> struct QAtomicOpsSupport<2> { enum { IsSupported = 1 }; };"
>>>
>>> Trying to figure out what to do. Any advice is appreciated.
>>
>> Start by pasting the exact error message. File name, line number and compiler
>> command-line help too.
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>> Software Architect - Intel Open Source Technology Center
>>
>>
>>
>> _______________________________________________
>> Development mailing list
>> Development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
More information about the Development
mailing list