story time: when my build system tried to gaslight me

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
austanss
Member
Member
Posts: 377
Joined: Sun Oct 11, 2020 9:46 pm
Location: United States

story time: when my build system tried to gaslight me

Post by austanss »

Yes, I do very much mean gaslight me, in the actual definition of the word.
It lead me to alter my perception of reality.

I recently posted on here with a plethora of bugs, and nothing I tried could fix it.

I was lost for a whole two days.

I was starting to go insane, I had tried the same things over and over...

Was it the compiler optimizations???

Is my math right???

Am I calling this function???

Where are my breakpoints???????????

It was then that I realized, hey, my build system wasn't putting the newly-built kernel into the bin/ directory.

Alas, I try the new kernel, and all my issues are resolved.
Skylight: https://github.com/austanss/skylight

I make stupid mistakes and my vision is terrible. Not a good combination.

NOTE: Never respond to my posts with "it's too hard".
kzinti
Member
Member
Posts: 898
Joined: Mon Feb 02, 2015 7:11 pm

Re: story time: when my build system tried to gaslight me

Post by kzinti »

With time I have grown suspicious of this and similar problems. If it looks like my changes are not being picked up, I just delete my whole build directory just in case.

That said, you should still fix your build problems when you find them... It's been a while since I had one.
User avatar
eekee
Member
Member
Posts: 891
Joined: Mon May 22, 2017 5:56 am
Location: Kerbin
Discord: eekee
Contact:

Re: story time: when my build system tried to gaslight me

Post by eekee »

I had this on 9front once, with the added embarassment that it wasn't me who was writing the fixes. I was saying what was wrong, the kernel dev would write fixes, I'd pull compile reboot and nothing would be fixed! :oops: I wrote a little build script after that. 9ront kernel `mk install` doesn't install the new kernel to the actual boot partition on PCs. Neither does Bell Labs Plan 9, but I think it might work out better there: it loads a boot kernel which can hypothetically read Plan 9's native filesystems and kexec the real kernel. Emphasis on "might" and "hypothetically"; I don't recall if it's set up to do that by default.
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
Post Reply