LibKF6Breeze Icons and KIconLoader
christoph at cullmann.io
christoph at cullmann.io
Fri May 24 16:18:55 BST 2024
On 2024-05-24 10:00, Fabian Vogt wrote:
> Hi,
>
> Am Freitag, 24. Mai 2024, 00:13:11 MESZ schrieb Bernhard Rosenkränzer:
>> On Thursday, May 23, 2024 22:20 CEST, Jonathan Riddell
>> <jr at jriddell.org> wrote:
>>
>> > Has anyone had issues with Breeze loading using Frameworks 6.2 or
>> > master building the libKF6BreezeIcons.so.6 library in breeze-icons.
>>
>> Yes, there was an oddity here too. When building the package with LTO
>> enabled as we usually do, it fails with
>>
>> ld.lld: error: src/qrc_breeze-icons.o: Invalid bitcode signature
>>
>> while linking libKF6BreezeIcons.so.6.2.0
>>
>> But I didn't get around to debugging it properly yet, and disabling
>> LTO fixed at least building it.
>> This smells more like an rcc or toolchain bug though (and
>> qrc_breeze-iconstmp.cpp.o looks ok), so it may not be related to the
>> problem you're seeing.
>
> That sounds like it uses qt_add_big_resources which is completely
> broken by
> design and must not be used. It messes with object file data directly
> in a way
> which just breaks everything:
> https://bugreports.qt.io/browse/QTBUG-73834
As long as you don't use LTO that seems to work fine.
But if that is really the issue here and all works well if we use there
the normal resource adding
and live with the bit longer compile time, I have no problem with
changing that.
Greetings
Christoph
>
> Cheers,
> Fabian
>
>> ttyl
>> bero
>>
>>
More information about the Distributions
mailing list