Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2021 21:23:47 +0200
From:      Alexis Praga <alexis.praga@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: x11/kitty: rewritten and updated to v0.20.3
Message-ID:  <86bl992mgs.fsf@ecchi.i-did-not-set--mail-host-address--so-tickle-me>
In-Reply-To: <861ra5bq6h.fsf@ecchi.i-did-not-set--mail-host-address--so-tickle-me>

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

Hi guys,

Thanks to Li-Wen Hsu [1], I now know the new version does not build on 11.4 with :
    /usr/bin/ld: unrecognized option '-plugin'
Which seems due to the '-flto' flag according to this issue :
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230137
I've tried the fix mentioned there (adding '-fuse-ld=lld'), but it's not a flag recognized by clang.

Removing '-flto' allows to build kitty but some tests fails.
Does someone knows on how to get around this compiler issue (only for 11x)?

Thanks,


[1] https://gist.github.com/lwhsu/589d93b41f6a2f7b6fe5a7f23d0424f2

Alexis Praga <alexis.praga@gmail.com> writes:

> Hi all,
>
> I've rewritten the suggested port for kitty which was waiting here :
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233010.
>
> With newer versions, porting is much easier and I have a functional
> kitty on my system.
>
> As I'm new to porting files, any guidance or advice is appreciated.
>
> Thanks !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bl992mgs.fsf>