Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.1.0 Beta 1
-
None
-
- Win7 SP1
- MinGW-w64 from [mingwbuilds|http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-win32/dwarf/x32-4.7.2-release-win32-dwarf-rev11.7z/download] with mingw32-make.exe from [here|http://mingw-and-ndk.googlecode.com/files/mingw32-make-bin-patches.tar.xz]
- Strawberry Perl 5.16.3.1 32bit
- Python-3.3.1
- JDK 7u21 x64
- Necessitas Android NDK from [here|http://mingw-and-ndk.googlecode.com/files/android-ndk-r8e-ma-windows-x86.7z]
- Android SDK from [here|http://developer.android.com/sdk/index.html]
- Win7 SP1 - MinGW-w64 from [mingwbuilds| http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-win32/dwarf/x32-4.7.2-release-win32-dwarf-rev11.7z/download ] with mingw32-make.exe from [here| http://mingw-and-ndk.googlecode.com/files/mingw32-make-bin-patches.tar.xz ] - Strawberry Perl 5.16.3.1 32bit - Python-3.3.1 - JDK 7u21 x64 - Necessitas Android NDK from [here| http://mingw-and-ndk.googlecode.com/files/android-ndk-r8e-ma-windows-x86.7z ] - Android SDK from [here| http://developer.android.com/sdk/index.html ]
Description
Trying to build Qt5.1.0-beta1 for Android on Windows.
Already I've got Qt5Core, Qt5Xml, Qt5Sql, Qt5Concurrent, Qt5Test, Qt5Network, Qt5Gui, Qt5Widgets, Qt5PrintSupport, Qt5OpenGL, Qt5Svg, Qt5Script, Qt5ScriptTools and Qt5XmlPatterns.
But I can't get qtjsbackend module.
Build process stops with error:
./.obj\release_shared\execution.o:execution.cc:(.text+0x183): undefined reference to `v8::internal::Simulator::current(v8::internal::Isolate*)' ./.obj\release_shared\execution.o:execution.cc:(.text+0x1bb): undefined reference to `v8::internal::Simulator::Call(unsigned char*, int, ...)' ./.obj\release_shared\execution.o:execution.cc:(.text+0xc18): undefined reference to `v8::internal::Simulator::current(v8::internal::Isolate*)' ./.obj\release_shared\execution.o:execution.cc:(.text+0xc1f): undefined reference to `v8::internal::Simulator::StackLimit() const' ./.obj\release_shared\execution.o:execution.cc:(.text+0x146b): undefined reference to `v8::internal::Simulator::current(v8::internal::Isolate*)' ./.obj\release_shared\execution.o:execution.cc:(.text+0x1472): undefined reference to `v8::internal::Simulator::StackLimit() const' ./.obj\release_shared\execution.o:execution.cc:(.text+0x1480): undefined reference to `v8::internal::Simulator::current(v8::internal::Isolate*)' ./.obj\release_shared\execution.o:execution.cc:(.text+0x1487): undefined reference to `v8::internal::Simulator::StackLimit() const' c:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: ./.obj\release_shared\execution.o: bad reloc address 0x20 in section `.eh_frame' collect2.exe: error: ld returned 1 exit status mingw32-make.exe[4]: *** [C:\Qt\build\qt5\qtbase\lib\Qt5V8.dll] Error 1 mingw32-make.exe[3]: *** [release] Error 2 mingw32-make.exe[2]: *** [sub-v8-make_first-ordered] Error 2 mingw32-make.exe[1]: *** [sub-src-make_first] Error 2 mingw32-make.exe: *** [module-qtjsbackend-make_first] Error 2 mingw32-make.exe: *** Waiting for unfinished jobs....
Cloning from git:
git clone git://gitorious.org/qt/qt5.git qt5 cd qt5 C:/strawberry/perl/bin/perl init-repository --no-webkit --module-subset=qtbase,qtsvg,qtdeclarative,qtscript,qtmultimedia,qtxmlpatterns,qtqa,qtsensors,qtjsbackend,qtimageformats,qtquick1,qtgraphicaleffects
Сonfiguring:
SET QTDIR=C:\Qt\build\qt5\qtbase SET MINGWDIR=C:\mingw32 SET PERLDIR=C:\strawberry\perl SET JAVADIR=C:\Program Files\Java\jdk1.7.0_21 SET QMAKESPEC=win32-g++ SET ANDROID_NDK=C:\Android\android-ndk-r8e SET ANDROID_SDK=C:\Android\android-sdk SET PATH=%QTDIR%\bin;%MINGWDIR%\bin;%PERLDIR%\bin;%JAVADIR%\bin;%SystemRoot%\System32; cd /d C:\Qt\build\qt5 cmd /k configure.bat ^ -developer-build ^ -platform win32-g++ ^ -xplatform android-g++ ^ -android-ndk %ANDROID_NDK% ^ -android-sdk %ANDROID_SDK% ^ -nomake tests ^ -nomake examples ^ -skip qtwebkit ^ -skip qtserialport ^ -skip qtwebkit-examples ^ -opensource ^ -opengl desktop
Building:
SET QTDIR=C:\Qt\build\qt5\qtbase SET MINGWDIR=C:\mingw32 SET PERLDIR=C:\strawberry\perl SET PYTHONDIR=C:\Python33 SET JAVADIR=C:\Program Files\Java\jdk1.7.0_21 SET QMAKESPEC=win32-g++ SET ANDROID_NDK=C:\Android\android-ndk-r8e SET PATH=%QTDIR%\bin;%MINGWDIR%\bin;%PERLDIR%\bin;%PYTHONDIR%;%JAVADIR%\bin;%SystemRoot%\System32;%ANDROID_NDK%; cd /d C:\Qt\build\qt5 mingw32-make.exe -j4