https://bugs.kde.org/show_bug.cgi?id=439811

Anthony <anthony.hinsin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #5 from Anthony <anthony.hinsin...@gmail.com> ---
Jasem,

I take some time to debug this problem. First, I've compile the source directly
(using the same deps as the deb package) with a simple cmake/make ... and ho
surprise, it works :)

So I 've tired to find differences in compilation options between the deb
package and my build, and found the gulty one : LTO
Ubuntu has activated LTO by "default" since 21.04 (so dpkg-buildflags ouptut
it) and I suspect Qt library or may be another kstars dependency lib is not
using it.
So I've just added this to the debian/rules file (packaging/linux/debian/rules
in your repo) :

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

It now works perfect !
I think you can add it without issue with old ubuntu version because it was
already disabled by default. I'm adding a PR to the github repo, tell me if
it's the right way.

Thanks again for you amazing app !

Anthony.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to