💾 Archived View for bbs.geminispace.org › u › skyjake › 16619 captured on 2024-08-31 at 14:34:29. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-25)
-=-=-=-=-=-=-
I had decided to rebuild most of my system with -Ofast
Famous last words? 🙂
May 06 · 4 months ago
💀 eriounious [OP] · May 06 at 07:16:
Oh, for sure. I was minutes away from posting a bug report -- the crash was due to Lagrange itself failing an assertion, so my first instinct was to assume the error was with the browser rather than a dependency. And since my cflags for lagrange itself were all sane, I was thinking it was either an issue with the package or GCC (using Gentoo, I've run into a handful of compiler bugs, so it didn't seem beyond the realm of possibility).
Things have gotten WAY too complicated.
my make.conf contains commented out entries for all cpus i used before. i use '-march' to allow compiler to choose optimal instructions for my cpu.
i think at some point gentoo started to recommend to not use '-O3' but use '-O2', because gcc since some version may generate incorrect code with '-O3'. that was the time i switched to '-O2' but i cannot find the recommendation now to link to it.
i remember when i took out my hard drive on which i compiled gentoo with '-march pentium3' from pentium3 machine and booted a pentium2 machine with it.
i thinx it booted okay, then gnome2 programs and gnome itself were crashing with illegal instruction errors.
Random stupidity — I like to tinker with things. A few months ago I had decided to rebuild most of my system with -Ofast to see what would break. (If anyone's interested, very little breaks right away, but you get a lot of subtle bugs and crashes that show up apparently at random.) Well, I rebuilt *almost* everything with sane CFLAGS, but I missed the qtdeclarative package. I just spent hours trying to analyze why Lagrange kept crashing on my machine whenever I enabled or disabled a certificate...