Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2026 08:56:55 -0500
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        Yuri Victorovich <yuri@freebsd.org>
Cc:        Gleb Popov <arrowd@freebsd.org>, ports-committers@freebsd.org,  dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org,  Mathieu Arnold <mat@freebsd.org>
Subject:   Re: git: 0799c78f773b - main - multimedia/obs-studio: Add workaround for the crash due to the Qt6 problem
Message-ID:  <CAJE75NF68-9WZ58NtZ-KX_LFj_TORD%2Bd1NU9bip6omgMpCRm8g@mail.gmail.com>
In-Reply-To: <cdbe3be5-1da4-40bb-9612-5d2e03874793@freebsd.org>
References:  <698760ce.47a7f.ec239b3@gitrepo.freebsd.org> <CALH631m_jio=jtOavUZuXkMgBBTUx%2BHsP=P_RWQLms0r=6dH5Q@mail.gmail.com> <cdbe3be5-1da4-40bb-9612-5d2e03874793@freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Sat, Feb 7, 2026 at 12:05 PM Yuri Victorovich <yuri@freebsd.org> wrote:
>
> Hi Gleb,
>
>
>
> On 2/7/26 08:30, Gleb Popov wrote:
>
> That's certainly an overkill. I'm sure you can achieve the same by
> simply replacing -O2 with -O0 in compiler's flags.
> Even less invasive workaround would be to add
>
> Sure. But the downside is only that the package would be larger for a few weeks until Qt6 is fixed.
>
> This IMO doesn't justify spending more time on improving the workaround.
>
> set_source_files_properties(main.cpp PROPERTIES COMPILE_OPTIONS "-O0")
>
> somewhere in CMakeLists.txt to only compile one file without optimizations.
>
>
> I am not sure if this is a one file problem. The nature of this problem is murky, it affects Qt6 meta-objects of all Qt6-based derived classes.
>
>
> The right solution is to apply the workaround suggested in the linked bug report, but I don't want to apply pressure on people doing this since I am sure they are busy.
>
>
> Other ports with USES=qt:6 might be affected as well.
>
>
>
> Thanks,
>
> Yuri
>
>

This should hopefully be fixed with the Qt 6.10.2 update [1].

Please retry and heed the warning from mat@.

https://cgit.freebsd.org/ports/commit/?id=b4a5f8275569ab3abf2962939fd19c8bc91e5760

- Jason


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJE75NF68-9WZ58NtZ-KX_LFj_TORD%2Bd1NU9bip6omgMpCRm8g>