Could it be this?
https://bugreports.qt.io/plugins/servlet/mobile#issue/QBS-1684/comment/640130
Franz Jung
Added 26 Jan '23 09:38
Clang >= 13
Opitmizes the JSC::ExecState::removeHostCallFrameFlag and
JSC::ExecState::hasHostCallFrameFlag calls away (file
qtscript/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/CallFrame.h)
Thats the reason why an 0x1 pointer instead of an nullptr gets propagated
around.
so if you change these to static member funtctions instead of non-static to
remove/check for HostCallFrame it should work.
see https://github.com/llvm/llvm-project/issues/60294
--
Sent from a phone, apologies for poor formatting.
On 3 December 2023 09:09:05 Jonathan Armani <jonathan@armani.tech> wrote:
> Le vendredi 1 décembre 2023 à 19:46, Stuart Henderson <stu@spacehopper.org>
> a écrit :
>
>
>>
>>
>> Do you need -O0 or does -O1 also work?
>
> Yes, I tried -01 first without success.
>
>>
>> The last opt level on the command line is used, or doesn't really matter if
>> the existing one is present when you're overriding the default.
>>
>> --
>> Sent from a phone, apologies for poor formatting.
>>
>> On 1 December 2023 14:26:01 Jonathan Armani jonathan@armani.tech wrote:
>>
>> > Hi,
>> >
>> > I hit an identical crash than QCAD in QT Script while playing with Mixxx.
>> >
>> > After trying some upstream fixes I found this solution in FreeBSD port.
>> > Hope it will fix QCAD too, I'm not using it.
>> >
>> > I'm not sure this is the best way to overide with CXXFLAGS as both -O2 & -O0
>> > are present in the generated build command.
>> >
>> > Index: Makefile
>> > ===================================================================
>> > RCS file: /cvs/ports/x11/qt5/qtscript/Makefile,v
>> > retrieving revision 1.13
>> > diff -u -p -r1.13 Makefile
>> > --- Makefile 13 Jul 2022 15:48:58 -0000 1.13
>> > +++ Makefile 30 Nov 2023 20:29:46 -0000
>> > @@ -1,5 +1,9 @@
>> > QT5NAME = QtScript
>> > COMMENT-main = ECMAScript language for Qt5
>> > +REVISION-main = 1
>> > +
>> > +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265989
>> > +CXXFLAGS += -O0
>> >
>> > MULTI_PACKAGES = -main -examples
>> > SHARED_LIBS += Qt5Script 3.0 # 5.9
No comments:
Post a Comment