-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

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 before I thought to double-check my configuration. Jeez!


Posted in: s/Lagrange

๐Ÿ’€ eriounious

May 06 ยท 13 days ago ยท ๐Ÿ‘ norayr


4 Comments โ†“


๐Ÿ•น๏ธ skyjake [mod...] ยท May 06 at 07:09:

> I had decided to rebuild most of my system with -Ofast

Famous last words? ๐Ÿ™‚


๐Ÿ’€ 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).


๐Ÿš€ stack ยท May 06 at 17:22:

Things have gotten WAY too complicated.


๐Ÿ™ norayr ยท May 10 at 00:51:

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.

-- Response ended

-- Page fetched on Sun May 19 15:46:05 2024