Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854522 - app-emulation/fuse-1.6.0 fails to compile (lto): sound.h:65:6: error: type of sound_lowlevel_frame does not match original declaration [-Werror=lto-type-mismatch]
Summary: app-emulation/fuse-1.6.0 fails to compile (lto): sound.h:65:6: error: type of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-27 06:14 UTC by Agostino Sarubbo
Modified: 2022-06-29 06:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,210.37 KB, text/plain)
2022-06-27 06:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-27 06:14:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/fuse-1.6.0 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-27 06:14:20 UTC
Created attachment 787880 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-27 06:44:35 UTC
I'd just pass -fno-lto here/filter -flto.
Comment 3 Larry the Git Cow gentoo-dev 2022-06-29 06:53:10 UTC
The bug has been closed via the following commit(s):

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

commit c5813fd2500fbdbbed222ec610da6975d7baf1de
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-06-29 06:52:29 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-06-29 06:52:29 +0000

    app-emulation/fuse: filter out LTO flags
    
    Closes: https://bugs.gentoo.org/854522
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 app-emulation/fuse/fuse-1.6.0.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)