this post was submitted on 21 Jul 2023
1062 points (98.5% liked)
linuxmemes
20950 readers
518 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Compiling everything with LTO landed me in a situation where a bunch of packages fail to build because apparently having some LTO'd static libraries can cause issues.
I'm now going to start investigating where exactly the issue is. Trouble is, the package that was giving me errors, depended on a whole lot of static libraries, soooooo.... Good luck to me.
Being an ultra-madlad, I used to also -ffast-math everything that didn't fail, but because I didn't know about
package.env
yet, I found it easier to just keep it off rather than turning it off and on again every time I needed to emerge something that failed because of it.Yeah, I think I've had that problem once or twice. I think I found the culprits by disabling all build flags for libraries that seemed related, rebuilding them, running
emerge @preserved-rebuild
and then repeating the process to narrow it downdmesg and PFL help with diagnosing crashes due to libraries, but I don't think that would help here
If it helps, here's my package.env: