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

src/qml/compiler/qv4compileddata_p.h:736:1: error: static assertion failed: Unit structure needs to have the expected size to be binary compatible on disk when generated by host compiler and loaded by target

    XMLWordPrintable

Details

    • 9fd39f34f7512d199a1f68dcff4f50e469897e31

    Description

      https://codereview.qt-project.org/#/c/204816/
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1504946853
      https://testresults.qt.io/coin/api/results/qt/qtdeclarative/6af4c483d93d32a56a5eae201de925c26fbe71fe/MacOSMacOS_10_12x86_64AndroidAndroid_ANYx86GCCqtci-macos-10.12-x86_64-8-310687Release_DisableTests_OpenGLES2/56d1c0bffd5bab630a0069b68d3fd4706c649bc1/build_1504947148/buildlog.txt.gz
      https://testresults.qt.io/coin/api/results/qt/qtdeclarative/6af4c483d93d32a56a5eae201de925c26fbe71fe/MacOSOSX_10_10x86_64IOSIOS_ANYmultiClangqtci-osx-10.10-x86_64-6faaa2DebugAndRelease_DisableTests_Static/56d1c0bffd5bab630a0069b68d3fd4706c649bc1/build_1504948366/buildlog.txt.gz
      https://testresults.qt.io/coin/api/results/qt/qtdeclarative/6af4c483d93d32a56a5eae201de925c26fbe71fe/LinuxRHEL_7_2x86_64QNXQNX_700x86GCCqtci-linux-RHEL-7.2-x86_64-39de56Release_DisableTests_OpenGLES2_NoUseGoldLinker/56d1c0bffd5bab630a0069b68d3fd4706c649bc1/build_1504948350/buildlog.txt.gz

      /opt/android/android-ndk-r10e/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -c -D__ANDROID_API__=16 --sysroot=/opt/android/android-ndk-r10e/platforms/android-16/arch-x86/ -isystem /opt/android/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /opt/android/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -fstack-protector-strong -DANDROID -Wno-c++0x-compat -mfpmath=sse -O2 -O2 -std=c++14 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wno-c++0x-compat -Wvla -D_REENTRANT -fPIC -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_FOREACH -DQML_COMPILE_HASH=0b73daa4f6858aa8d52e6b958d8f0b3209858b80 -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QML_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 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Imemory -I. -Icompiler -I. -I../3rdparty/masm/jit -I../3rdparty/masm/assembler -I../3rdparty/masm/runtime -I../3rdparty/masm/wtf -I../3rdparty/masm/stubs -I../3rdparty/masm/stubs/wtf -I../3rdparty/masm -I../3rdparty/masm/disassembler -I../3rdparty/masm/disassembler/udis86 -Ijit -I. -I.generated -Ijsruntime -I. -Idebugger -Ianimations -I../../include -I../../include/QtQml -I../../include/QtQml/5.9.2 -I../../include/QtQml/5.9.2/QtQml -I/Users/qt/work/install/include/QtCore/5.9.2 -I/Users/qt/work/install/include/QtCore/5.9.2/QtCore -I/Users/qt/work/install/include -I/Users/qt/work/install/include/QtNetwork -I/Users/qt/work/install/include/QtCore -I.moc -I/usr/local/opt/openssl/include -I/Users/qt/work/install/mkspecs/android-g++ -o .obj/qqmljsast.o parser/qqmljsast.cpp
      make[2]: *** [.obj/qqmllistaccessor.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      In file included from ../../include/QtQml/5.9.2/QtQml/private/qv4compileddata_p.h:1:0,
                       from ../../include/QtQml/5.9.2/QtQml/private/../../../../../src/qml/compiler/qv4isel_p.h:56,
                       from ../../include/QtQml/5.9.2/QtQml/private/qv4isel_p.h:1,
                       from jsruntime/qv4engine_p.h:54,
                       from memory/qv4mm.cpp:40:
      ../../include/QtQml/5.9.2/QtQml/private/../../../../../src/qml/compiler/qv4compileddata_p.h:736:1: error: static assertion failed: Unit structure needs to have the expected size to be binary compatible on disk when generated by host compiler and loaded by target
       static_assert(sizeof(Unit) == 152, "Unit structure needs to have the expected size to be binary compatible on disk when generated by host compiler and loaded by target");
       ^
      make[2]: *** [.obj/qv4mm.o] Error 1
      make[1]: *** [sub-qml-make_first-ordered] Error 2
      make: *** [sub-src-make_first] Error 2
      

       

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes