[mythtv] CMake build on Fedora 42
Klaas de Waal
klaas.de.waal at gmail.com
Thu May 8 06:31:46 UTC 2025
On Wed, 7 May 2025 at 22:30, David Hampton via mythtv-dev <
mythtv-dev at mythtv.org> wrote:
> On Wed, 2025-05-07 at 22:12 +0200, Klaas de Waal wrote:
> > Hi,
> >
> > Is the CMake build on Fedora 42 supposed to work?
> > I did give it a try but it failed on lto (link time optimization)
> > with a segfault on linking libmythmpeg2.
> > The classic configure script works OK but that does not do lto.
>
> I compile regularly using cmake on both Fedora 41 and Fedora 42. I've
> not see a crash linking that directory. I just deleted and recreated
> my build directory on an F42 system and I still don't see a problem.
>
> Is cmake reusing any libraries from a previous build? This might be a
> case where the build is trying to link together an lto and a non-lto
> library/file. ISTR some link time crashes when I was trying to get lto
> support working.
>
> And it is now working! In addition to deleting the build directory I
needed to clean the ccache.
Thanks,
Klaas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20250508/9969031b/attachment.htm>
More information about the mythtv-dev
mailing list