Reverting the mold linker
Albert Astals Cid
aacid at kde.org
Mon Oct 5 23:43:02 BST 2026
El dilluns, 5 d’octubre del 2026, a les 22:17:14 (Hora d’estiu d’Europa
central), Laurent Montel va escriure:
> Le 05.10.2026 18:20, Nicolas Fella a écrit :
> > On 05/10/2026 18:11, Laurent Montel wrote:
> >> Le 05.10.2026 18:00, Allen Winter a écrit :
> >>> On Monday, October 5, 2026 11:24:26 AM Eastern Daylight Time Laurent
> >>> Montel wrote:
> >>>
> >>> Hi Laurent
> >>
> >> Hi,
> >>
> >>>> If it's install on your computer you can use it.
> >>>> It doesn't force you.
> >>>
> >>> to avoid mold you need to:
> >>> - uninstall mold or move it out out $PATH
> >>> - explicitly pass -DUSE_MOLD_LINKER=OFF
> >>> - explicitly pass -DCMAKE_LINKER_TYPE=LLD (or another cmake
> >>> supported linker)
> >>>
> >>> some linux distros allow you to set the default linker using
> >>> `alternatives`.
> >>> maybe developers can try `alternatives --config ld` instead?
> >>> otherwise pass -DCMAKE_LINKER_TYPE=MOLD
> >>
> >> 1) Question: is it break your build ?
> >
> > This is not about the merits of Mold, or whether it's faster or not.
> > This is about having a consistent build system for all KDE software
> > without automagic special cases for individual projects.
>
> So you can remove pre-commit support too as not all has this support...
> Or you can remove ECMQtDeclareLoggingCategory for sure not all kde
> software support it.
>
> >> 2) Why a not maintainer can remove commit without MR ?
> >> I remember that Nicolas doesn't accept it in framework.
> >>
> >>
> >> So He decides for him just after sending email ?!
> >
> > I did not decide this for myself. This was discussed several times in
> > the Kontact Matrix room, after feedback from distributions, and had
> > support from other PIM maintainers.
>
> Just to be sure, you discussed on a channel where you know that I don't
> read it, without sending email on mailing list
> and you decided with other PIM maintainers (I don't know that
> kmail/pim-sieveeditor/kaddressbook/mbox-exporter/ add more project
> had official maintainer).
>
>
> But you didn't send a email to ML or to me, and you decide without MR to
> reverse all.
>
> I am right ?
>
> So I maintain pim* from 20 years (2007) and you don't care and you
> decided to reverse my commit.
>
> If I remember you reversed my patch on framework because it was not
> validating.
>
> But it seems that you don't care to apply your rules to you.
>
>
> I didn't know that you maintain something in pim*
Please, let's try to keep this discussion civil.
Being a maintainer doesn't necessarily mean that a particular decision is the
right one for the project.
From reading both the comments here and in Matrix it seems that forcing mold
in cmake is causing problems for some people.
For those who want to use mold, setting the linker should be as simple as
adding -DCMAKE_LINKER_TYPE=MOLD to their scripts.
From my perspective, removing the forced use of mold seems like a reasonable
approach: it addresses the problems people are experiencing while still
allowing those who want mold to enable it relatively easily.
Best Regards,
Albert
More information about the kde-pim
mailing list