Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 866575

Summary: kde-plasma/kwayland-5.97.0: fails to compile (lto): [-Werror=odr] and [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Kostadin Shishmanov <kocelfc>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: UNCONFIRMED ---    
Severity: normal CC: anthonyryan1, asturm, lg3dx6fd, pietro.sammarco
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=466767
See Also: https://bugs.gentoo.org/show_bug.cgi?id=921430
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: buildlog
emerge --info

Description Kostadin Shishmanov 2022-08-25 19:02:42 UTC
Created attachment 801055 [details]
buildlog

kde-frameworks/kwayland-5.97.0 fails to compile with FLAGS=-flto=auto -Werror=lto-type-mismatch -Werror=odr -Werror=strict-aliasing
Comment 1 Kostadin Shishmanov 2022-08-25 19:03:07 UTC
Created attachment 801058 [details]
emerge --info
Comment 2 Arniii 2024-01-18 06:54:04 UTC
reproducible with 5.113.0
Comment 3 Larry the Git Cow gentoo-dev 2024-02-06 19:21:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=d7dd69cbfb6c6e49fcabe3feb4ad675601377d9c

commit d7dd69cbfb6c6e49fcabe3feb4ad675601377d9c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-02-06 19:14:45 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-02-06 19:19:37 +0000

    kde-plasma/kwayland: filter-lto in SLOT 5
    
    Bug: https://bugs.gentoo.org/866575
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/kwayland/kwayland-5.115.0.ebuild    | 7 ++++++-
 kde-plasma/kwayland/kwayland-5.239.9999.ebuild | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-02-06 19:36:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d82932bb4e5843a20789deded535f65b9cc1eb4

commit 9d82932bb4e5843a20789deded535f65b9cc1eb4
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-02-06 19:14:45 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-02-06 19:36:23 +0000

    kde-plasma/kwayland: filter-lto in SLOT 5
    
    Bug: https://bugs.gentoo.org/866575
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/kwayland/kwayland-5.113.0.ebuild | 7 ++++++-
 kde-plasma/kwayland/kwayland-5.114.0.ebuild | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
Comment 5 Andreas Sturmlechner gentoo-dev 2024-02-06 20:02:33 UTC
Please try and reproduce this with kde-plasma/kwayland:6 (that is currently 5.93.0 in ::gentoo) and update the upstream report.
Comment 6 Pietro 2024-02-13 14:28:47 UTC
I can confirm kde-plasma/kwayland-5.113.0 compiled fine with "-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing".
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-29 02:23:44 UTC
(In reply to Pietro from comment #6)
> I can confirm kde-plasma/kwayland-5.113.0 compiled fine with "-Werror=odr
> -Werror=lto-type-mismatch -Werror=strict-aliasing".

That one still has the filter. :6 had it dropped for testing. Unfortunately, it persists, so I'll add the filter to :6 too.
Comment 8 Larry the Git Cow gentoo-dev 2024-02-29 02:24:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb8ac495537ea0175c72594aad868576bdf926b

commit bcb8ac495537ea0175c72594aad868576bdf926b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 02:23:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 02:24:11 +0000

    kde-plasma/kwayland: filter-LTO in SLOT 6
    
    Still an issue upstream.
    
    Bug: https://bugs.gentoo.org/866575
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-plasma/kwayland/kwayland-6.0.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2024-02-29 02:26:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=9d29d0bf466b10fc8e2d539ff8edc8ea4aabaa3e

commit 9d29d0bf466b10fc8e2d539ff8edc8ea4aabaa3e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-29 02:26:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-29 02:26:42 +0000

    kde-plasma/kwayland: filter-LTO in SLOT 6
    
    Still an issue upstream.
    
    Bug: https://bugs.gentoo.org/866575
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-plasma/kwayland/kwayland-6.0.49.9999.ebuild | 7 ++++++-
 kde-plasma/kwayland/kwayland-9999.ebuild        | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-29 02:27:23 UTC
My vote would be to just close this unless/until there's action on the upstream bug.