[Interest] QtWebengine is not built with v8 snapshot error

Ramakanth Kesireddy rama.kesi at gmail.com
Mon May 4 04:20:04 CEST 2020


I did install all the libraries that compile to 32 bit. However,
QtWebengine module throws below error on cross-compilation:

/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/7.2.1/../../../../arm-linux-gnueabihf/bin/ld:
cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
Makefile.core_module:84: recipe for target
'../../lib/libQt5WebEngineCore.so.5.12.8' failed
make[4]: *** [../../lib/libQt5WebEngineCore.so.5.12.8] Error 1
make[4]: Leaving directory
'/home/target/qt-everywhere-src-5.12.8/qtwebengine/src/core'
Makefile:124: recipe for target 'sub-core_module-pro-make_first' failed
make[3]: *** [sub-core_module-pro-make_first] Error 2
make[3]: Leaving directory
'/home/target/qt-everywhere-src-5.12.8/qtwebengine/src/core'
Makefile:79: recipe for target 'sub-core-make_first' failed
make[2]: *** [sub-core-make_first] Error 2
make[2]: Leaving directory
'/home/target/qt-everywhere-src-5.12.8/qtwebengine/src'
Makefile:48: recipe for target 'sub-src-make_first' failed
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory
'/home/target/qt-everywhere-src-5.12.8/qtwebengine'
Makefile:153: recipe for target 'module-qtwebengine-make_first' failed
make: *** [module-qtwebengine-make_first] Error 2

Configure line:
./configure -v -opensource -confirm-license -make libs -release -shared
-sysroot
/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi
-no-gcc-sysroot -device arm-linux-gnueabihf-g++ -device-option
CROSS_COMPILE=/home/target/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-
-reduce-exports -optimize-size -no-gtk -force-pkg-config
-no-use-gold-linker -qt-libjpeg -qt-zlib -qt-libpng -sql-sqlite -no-xcb
-no-cups -no-opengl -no-qml-debug -skip qt3d -skip qtactiveqt -skip
qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip
qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip
qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras -skip
qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip
qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip
qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools
-skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip
qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns
-nomake tools -nomake tests -nomake examples -no-compile-examples -no-iconv
-dbus -fontconfig -system-freetype -ssl -qt-pcre -no-pch -recheck-all
-DQT_ARCH_ARM

Appreciate for any help in this regard.

Best Regards,
Ramakanth

On Sun, May 3, 2020 at 8:36 PM Allan Sandfeld Jensen <kde at carewolf.com>
wrote:

> I am not sure, I think gcc-7-base:i386 or something like that, check the
> config.log and how the test failed. You basically just need a compiler
> that
> compile to 32bit, and the most basic libraries (libc, libstdc++) for 32bit
> as
> well.
>
> 'Allan
>
> On Sonntag, 3. Mai 2020 11:41:20 CEST you wrote:
> > Thanks for your mail.
> > Could you please let me know the packages to be installed on Ubuntu
> > 16.04(64 bit) to match the target for building the snapshot?
> >
> > Best Regards,
> > Ramakanth
> >
> > On Sun, May 3, 2020 at 12:15 PM Allan Sandfeld Jensen <kde at carewolf.com>
> >
> > wrote:
> > > On Sonntag, 3. Mai 2020 06:20:22 CEST Ramakanth Kesireddy wrote:
> > > > ,Hi,
> > > >
> > > > As am trying to cross-compile Qt 5.12.8 sources on Ubuntu 16.04(64
> bit),
> > >
> > > it
> > >
> > > > throws below error:
> > > >
> > > > V8 snapshot cannot be built. Most likely, the 32-bit host compiler
> does
> > >
> > > not
> > >
> > > > work. Please make sure you have 32-bit devel environment installed,
> or
> > > >
> > > >  configure webengine with '-no-webengine-v8-snapshot'
> > > >
> > > > QtWebEngine will not be built.
> > >
> > > Just install the x86-32bit compiler and tools. We need a host compiler
> > > that
> > > matches the target for building the snapshot. Note in 5.15 we can no
> > > longer
> > > disable snapshots, and so it is no longer optional (though 5.12 should
> > > still
> > > work)
> > >
> > > > Even configuring with -no-webengine-v8-snapshot doesnot builds
> > >
> > > QtWebengine
> > >
> > > > module.
> > > >
> > > > Configure line:
> > > >
> > > > ./configure -v -opensource -confirm-license -make libs -release
> -shared
> > > > -sysroot
> > >
> > >
> /home/ubuntu/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit
> > > /s>
> > > > ysroots/armv7ahf-neon-linux-gnueabi -no-gcc-sysroot -device
> > > > arm-linux-gnueabihf-g++ -device-option
> > >
> > >
> CROSS_COMPILE=/home/ubuntu/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.0
> > > 7/>
> > > > linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-
> > > > -reduce-exports -optimize-size -no-gtk -force-pkg-config
> > > > -no-use-gold-linker -qt-libjpeg -qt-zlib -qt-libpng -sql-sqlite
> -no-xcb
> > > > -no-cups -no-opengl -no-qml-debug -skip qt3d -skip qtactiveqt -skip
> > > > qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity
> > >
> > > -skip
> > >
> > > > qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects
> -skip
> > > > qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras
> > >
> > > -skip
> > >
> > > > qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip
> > > > qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml
> > > > -skip
> > > > qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip
> > >
> > > qttools
> > >
> > > > -skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel
> > >
> > > -skip
> > >
> > > > qtwinextras -skip qtandroidextras -skip qtx11extras -skip
> qtxmlpatterns
> > > > -nomake tools -nomake tests -nomake examples -no-compile-examples
> > >
> > > -no-iconv
> > >
> > > > -dbus -fontconfig -system-freetype -ssl -qt-pcre -no-pch -recheck-all
> > > > -DQT_ARCH_ARM
> > > >
> > > > Appreciate your help in this regard to resolve Qtwebengine build
> error.
> > >
> > > Please report the errors you see.
> > >
> > > Best regards
> > > Allan
> > >
> > >
> > >
> > > _______________________________________________
> > > Interest mailing list
> > > Interest at qt-project.org
> > > https://lists.qt-project.org/listinfo/interest
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200504/3a32655f/attachment.html>


More information about the Interest mailing list