Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952080 - app-shells/fish: version 4.0.1 not compiling with -flto in the c flags
Summary: app-shells/fish: version 4.0.1 not compiling with -flto in the c flags
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: idealseal
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-03-26 07:41 UTC by lamasarelijet
Modified: 2025-04-05 09:54 UTC (History)
6 users (show)

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


Attachments
emerge --info (emerge_info.txt,6.67 KB, text/plain)
2025-03-26 07:57 UTC, lamasarelijet
Details
build.log for fish (build_log.txt,192.65 KB, text/plain)
2025-03-26 08:04 UTC, lamasarelijet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lamasarelijet 2025-03-26 07:41:34 UTC
Where the code of fish was just recently ported over to rust its trying to do lto to fish even though I don't have it set for rust.
Comment 1 lamasarelijet 2025-03-26 07:57:26 UTC
Created attachment 922809 [details]
emerge --info
Comment 2 lamasarelijet 2025-03-26 08:04:52 UTC
Created attachment 922811 [details]
build.log for fish
Comment 3 Thomas Arnett 2025-03-27 16:24:59 UTC
Calling filter-lto before cmake_src_configure fixes it. It looks like cmake_src_configure somehow makes cargo_src_compile use the CFLAGS cmake_src_configure was called with.