eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gog has quit [Read error: Connection reset by peer]
gog has joined #osdev
_xor has quit [Ping timeout: 240 seconds]
_xor has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
<geist>
j`ey: yah dunno what machine you're running on, but if you tell it to load you over the time of rom or mmio it may not error out and just do what you told it
<geist>
and then you just end up running garbage
gog has quit [Ping timeout: 248 seconds]
gog has joined #osdev
smeso has quit [Quit: smeso]
vdamewood has joined #osdev
smeso has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
qubasa has quit [Remote host closed the connection]
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
heat has quit [Remote host closed the connection]
heat has joined #osdev
Lumia has joined #osdev
Matt|home has joined #osdev
Lumia has quit [Quit: ,-]
mzxtuelkl has joined #osdev
Matt|home has quit [Ping timeout: 240 seconds]
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
the_lanetly_052 has joined #osdev
psykose has quit [Remote host closed the connection]
psykose has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
heat has quit [Ping timeout: 272 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #osdev
eroux has joined #osdev
nur has quit [Remote host closed the connection]
liz has joined #osdev
liz has quit [Ping timeout: 240 seconds]
gog has quit [Ping timeout: 240 seconds]
gog has joined #osdev
srjek has quit [Ping timeout: 272 seconds]
the_lanetly_052_ has joined #osdev
the_lanetly_052 has quit [Ping timeout: 248 seconds]
RAMIII has joined #osdev
<j`ey>
geist: i was accidentally running my .elf instead of the flat binary!
gog` has joined #osdev
psykose has quit [Remote host closed the connection]
psykose has joined #osdev
gog has quit [Quit: byee]
gog` is now known as gog
X-Scale` has joined #osdev
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
the_lanetly_052_ has quit [Ping timeout: 248 seconds]
GeDaMo has joined #osdev
kingoffrance has quit [Ping timeout: 265 seconds]
<geist>
oh heh
<j`ey>
so weird, I thought I was overwriting a particular memory location (aka my relocation code was wrong).. but then when I used gdb I accidentally saw all memory was ff :D
<clever>
gdb also has a compare-sections command
<clever>
which will diff what is in ram with what the elf says should be in ram
<clever>
not sure how that will interact with relocations though
heat has joined #osdev
genpaku has quit [Read error: Connection reset by peer]
<GNU\Andrew>
the bootstrapping issue for languages is getting annoying
<GNU\Andrew>
The only way to completely penetrate the bootstrapping issue is to compile the compiler with the human brain
<GeDaMo>
You'd have to build your own hardware too :P
<jafarlihi>
You can't include `cpumask.h` in LKM. How do I know what is includeable in LKM?
andreas303 has joined #osdev
andreas303 has quit [Ping timeout: 272 seconds]
<zid`>
It'd be funny to see the bootstrap needed for various projects, basically the full dep tree
<zid`>
and then ask the people involved if they are ashamed of themselves or not
kkd has joined #osdev
<zid`>
portage gets close but it assumes a bunch of stuff like starting with a pre-compiled binutils
jafarlihi has quit [Quit: WeeChat 3.5]
<sbalmos>
hence why I absolutely abhor, and generally endure, anything JS-related
<clever>
zid`: nixos's bootstrap starts from a tar containing a pre-compiled busybox+gcc+binutils, but then uses that to re-build everything according to the new package definitions
<clever>
and there is a nix package to create a new tar
<clever>
so you can still update that seed it starts from
<mrvn>
gcc -O3 ist just stupid, unrolling loops far too much and such.
<zid`>
that tarball is called the stage3
<zid`>
there used to be a stage 1 and 2 method too but it's so old I've never tried it, and isn't a thing anymore
<mrvn>
clang++ -O2 and -O3 looks like the same code but blocks rearanged a bit because of which side of a branch the compiler figured out is more likely.
<mrvn>
zid`: It used to be you needed all of latex to bootstrap Debian. That was a humongous root set.
<liz_>
this is probably trivial, but in C, is it bad practice to qualify variables in file scope with `extern`? the reason i'm wondering is because the extern is implicit in file scope