Control: tags 924402 + patch
Hello Everyone, I continued to look into the "invalid conversion" and think the problem is member JSImageConstructor::construct is missing the __attribute__((fastcall)) aka JSC_HOST_CALL. Attached patch to qtwebkit-opensource-src-5.212.0~alpha2 removes the -fpermissive and adds one attribute JSC_HOST_CALL. With that I could build a package in a i386 qemu VM and with that installed spyder3 did not crash anymore at startup. Kind regards, Bernhard
>From dc7e0a11c23ac81773b58dae59f4482af6a4c603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= <bernha...@mailbox.org> Date: Thu, 21 Mar 2019 21:13:08 +0100 Subject: [PATCH] Bug#924402: Add missing attribute --- Source/WebCore/bindings/js/JSImageConstructor.cpp | 2 +- debian/rules | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/WebCore/bindings/js/JSImageConstructor.cpp b/Source/WebCore/bindings/js/JSImageConstructor.cpp index 9236906..de553f5 100644 --- a/Source/WebCore/bindings/js/JSImageConstructor.cpp +++ b/Source/WebCore/bindings/js/JSImageConstructor.cpp @@ -44,7 +44,7 @@ template<> JSValue JSImageConstructor::prototypeForStructure(VM& vm, const JSDOM return JSHTMLElement::getConstructor(vm, &globalObject); } -template<> EncodedJSValue JSImageConstructor::construct(ExecState* state) +template<> EncodedJSValue JSC_HOST_CALL JSImageConstructor::construct(ExecState* state) { JSImageConstructor* jsConstructor = jsCast<JSImageConstructor*>(state->callee()); Document* document = jsConstructor->document(); diff --git a/debian/rules b/debian/rules index 365b37a..f428006 100755 --- a/debian/rules +++ b/debian/rules @@ -44,7 +44,6 @@ ifneq (,$(filter $(DEB_HOST_ARCH_CPU),ppc64el s390x)) EXTRA_CMAKE_ARGUMENTS += -DUSE_SYSTEM_MALLOC=ON endif -DEB_CXXFLAGS_MAINT_APPEND += -fpermissive %: dh $@ --buildsystem=cmake+ninja --with pkgkde_symbolshelper -- 2.20.1