Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
1.97k stars 442 forks source link

Failed to build new v2.5.0 on Fedora #5376

Closed tim77 closed 2 months ago

tim77 commented 2 months ago

Checklist

Describe your issue

Since chatterino2 version 2.5.0 failed to build from source on Fedora Linux. Previous chatterino2 versions compiles fine.

/builddir/build/BUILD/chatterino2-2.5.0/src/common/network/NetworkPrivate.cpp:204:1: internal compiler error: in streamer_write_chain, at tree-streamer-out.cc:536
  204 | }  // namespace chatterino
      | ^

Help wanted.

Screenshots

No response

OS and Chatterino Version

Chatterino 2.5.1

pajlada commented 2 months ago

Could you try building with clang or with lto disabled?

Nerixyz commented 2 months ago

You're running into Bug 114501 because LTO is enabled.

tim77 commented 2 months ago

You're running into Bug 114501 because LTO is enabled.

It compiles fine if LTO disabled, thanks!

@pajlada i'll try to build with Clang also. I need your recommendation here: what is preferable choice, build chatterino2 with Clang or GCC in Fedora?

pajlada commented 2 months ago

I aim to support both, so the choice is up to you. It's probably easier to temporarily disable LTO until the bug is fixed so that's what I would've personally done

tim77 commented 2 months ago

Understood, thanks. chatterino2 built for Fedora >=39 branches.