[Development] Harmattan - QtJsBackend/V8 build issues

simon.hausmann at nokia.com simon.hausmann at nokia.com
Sun Sep 2 21:12:10 CEST 2012


Hi,

What you're hitting is a bug in qemu while trying to execute mksnapshot, which is trying to fire up the v8 engine. What's strange though is that
configure should detect that you're building inside scratchbox and disable v8 snapshots accordingly. Are you building outside of scratchbox? What's CFG_V8SNAPSHOT
set to for you?

AFAIK the only way to get snapshots working for Harmattan is to truly cross-compile outside of scratchbox with x86 host (not x86-64).


Simon
________________________________________
From: development-bounces+simon.hausmann=nokia.com at qt-project.org [development-bounces+simon.hausmann=nokia.com at qt-project.org] on behalf of ext Laszlo Papp [lpapp at kde.org]
Sent: Saturday, September 01, 2012 11:50
To: development at qt-project.org
Subject: [Development] Harmattan - QtJsBackend/V8 build issues

Hi,

Can reproduce by manually running the "../../bin/mkv8snapshot generated-release/snapshot.cpp" command.

Laszlo

g++ -c -g -O2 -O2 -w -std=c++0x -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fno-exceptions -fPIC -DQT_NO_LIBUDEV -DQT_BUILD_V8_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DV8_SHARED -DBUILDING_V8_SHARED -DENABLE_DEBUGGER_SUPPORT -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DNDEBUG -DV8_TARGET_ARCH_ARM -DUSE_EABI_HARDFLOAT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/opt/qt5/mkspecs/linux-g++ -I. -I../3rdparty/v8/src -o .obj/release-shared/experimental-libraries.o generated-release/experimental-libraries.cpp
../../bin/mkv8snapshot generated-release/snapshot.cpp
make[4]: *** [generated-release/snapshot.cpp] Error 126
make[4]: Leaving directory `/scratchbox/users/lpapp/home/lpapp/qt5/qtjsbackend/qt5-jsbackend/src/v8'
make[3]: *** [sub-v8-make_first-ordered] Error 2
make[3]: Leaving directory `/scratchbox/users/lpapp/home/lpapp/qt5/qtjsbackend/qt5-jsbackend/src'
make[2]: *** [sub-src-make_first] Error 2
make[2]: Leaving directory `/scratchbox/users/lpapp/home/lpapp/qt5/qtjsbackend/qt5-jsbackend'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/scratchbox/users/lpapp/home/lpapp/qt5/qtjsbackend/qt5-jsbackend'
make: *** [build] Error 2




More information about the Development mailing list