[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#700093: qtwebkit: FTBFS on x32: Tries and fails to build x86_64 JIT compiler



Source: qtwebkit
Version: 2.2.1-5
Severity: wishlist
Tags: patch
User: debian-x32@lists.debian.org
Usertags: port-x32 ftbfs-x32

The qtwebkit source package is getting this build failure on the
unofficial Debian x32 port:

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=qtwebkit&arch=x32&ver=2.2.1-5&stamp=1360167282>
...
g++ -c -pipe -Wall -Wextra -Wreturn-type -fno-strict-aliasing
-Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type
-Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum
-Wundef -Wmissing-noreturn -Winit-self -Wno-c++0x-compat
-fno-stack-protector -Wno-c++0x-compat -g -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2 -O3 -pthread -fvisibility=hidden
-fvisibility-inlines-hidden -fPIC -D_REENTRANT -DENABLE_VIDEO=1
-DWTF_USE_GSTREAMER=1 -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG
-DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF
-DENABLE_GLIB_SUPPORT=1 -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4 -I. -I../../Source -I../ThirdParty -Iassembler
-Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit
-Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject
-I/build/buildd-qtwebkit_2.2.1-5-x32-maESej/qtwebkit-2.2.1/Source/JavaScriptCore/wtf/symbian
-Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated
-I../../Source -I/build/buildd-qtwebkit_2.2.1-5-x32-maESej/qtwebkit-2.2.1/Source/../include
-I/include/QtWebKit -I/include -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnux32/glib-2.0/include -I. -o
obj/release/dtoa.o wtf/dtoa.cpp
In file included from runtime/JSValue.h:33:0,
                 from runtime/CachedTranscendentalFunction.h:29,
                 from runtime/JSGlobalData.h:32,
                 from interpreter/CallFrame.h:26,
                 from runtime/ArgList.h:25,
                 from runtime/JSObject.h:26,
                 from wtf/DateMath.cpp:79:
./wtf/StdLibExtras.h: In instantiation of 'TO WTF::bitwise_cast(FROM)
[with TO = int; FROM = double]':
runtime/JSValueInlineMethods.h:495:44:   required from here
./wtf/StdLibExtras.h:96:1: error: size of array is negative
./wtf/StdLibExtras.h: In instantiation of 'TO WTF::bitwise_cast(FROM)
[with TO = double; FROM = int]':
runtime/JSValueInlineMethods.h:499:42:   required from here
./wtf/StdLibExtras.h:96:1: error: size of array is negative
make[3]: *** [obj/release/DateMath.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/build/buildd-qtwebkit_2.2.1-5-x32-maESej/qtwebkit-2.2.1/Source/JavaScriptCore'
make[2]: *** [sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered]
Error 2
make[2]: Leaving directory
`/build/buildd-qtwebkit_2.2.1-5-x32-maESej/qtwebkit-2.2.1/Source'
dh_auto_build: make -j3 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory
`/build/buildd-qtwebkit_2.2.1-5-x32-maESej/qtwebkit-2.2.1'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

The attached debdiff fixes this by disabling the JIT compiler on x32
for now since it won't work.
-- 
Daniel Schepler

Attachment: qtwebkit.debdiff
Description: Binary data


Reply to: