rustyy has quit [Remote host closed the connection]
rustyy has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lanodan has quit [Quit: WeeChat 3.4.1]
lanodan has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
gog has quit [Ping timeout: 256 seconds]
srjek has joined #osdev
nyah has quit [Ping timeout: 256 seconds]
<zid>
tom7's got a new video out, so far it's about the ip filesystem where you keep packets in-flight as storage..
<clever>
sounds like it wont survive a power outage!
<clever>
even more volatile then a tmpfs!
<moon-child>
isn't that old news tho?
<moon-child>
he usually does original stuff
<zid>
I think he's implementing it in full, using the entire ipv4 address space, and making a real filesystem and stuff, but I've not finished the vid yet
<moon-child>
oh neat
jimbzy has quit [Remote host closed the connection]
qubasa_ has joined #osdev
Retr0id has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
<Griwes>
I thought clang's driver code structure (with separate classes for target specific toolchain types and whatnot) was fine, but the first answer I've gotten on the llvm discord for how to force a flag for a specific target was "add an if checking for your target in Clang::ConstructJob", which has got to be one of the longest functions in existence and which handles most of the flag logic of the driver...
<Griwes>
Customizing it to add a macro definition? Trivial. Customizing it to flip a default for a flag? Haha no.
knusbaum has joined #osdev
<geist>
yah hacking on clang definitely seems like a learning wall
<Griwes>
See, after looking at the macro definition thing, it seemed like they had a nice modular design for this kind of a thing
<Griwes>
I stole the fuchsia linker definition and molded it to my needs, and that was also fine... but I guess that's only because there's just a handful of flags to handle there
<Griwes>
Whelp, I guess I'm adding more lines of code to the (possibly) longest function in the universe, what could possibly go wrong with that
<mrvn>
there is no function so long it can't be longer
sonny has joined #osdev
sonny has quit [Quit: Client closed]
<heat>
that seems nonsense
<heat>
what do you want to add
<heat>
Griwes
<heat>
ah wait I see, ConstructJob is only a part of the linker class
<heat>
still, what do you want to add
<Griwes>
-fno-plt, but to *compiler*, not the linker
pretty_dumm_guy has quit [Ping timeout: 246 seconds]
<Griwes>
And the general clang ConstructJob is enormous, and its design is that it both constructs the list of flags passed down and actually *uses* that list and there's no way to wrap it or anything
<bslsk05>
redirect -> photos.google.com: Shared album - Travis Geiselbrecht - Google Photos
<kingoffrance>
IIRC the unbreakable law mentioned clang as a flowcharts within flowcharts :)
<kingoffrance>
so, i believe it
<heat>
geist, looking nice!
wand has quit [Ping timeout: 240 seconds]
<papaya>
geist: what are you building exactly?
<geist>
it's a 68k board to hack on
<geist>
10Mhz 68010 w/1MB ram (4 more MB incoming from Mouser)
<Griwes>
heat, turns out that I did already have an override of that, but it was blindly copied over from elsewhere, and there was no indication that it's invoked from the too-large-to-exist function. oh well
mahmutov has quit [Ping timeout: 246 seconds]
<heat>
does it work at least?
<Griwes>
we'll see in a moment
<heat>
30 minutes later
<heat>
geist, are you gonna port lk to it?
<geist>
of course
sonny has quit [Ping timeout: 250 seconds]
<heat>
heh, how little ram does it need?
<geist>
oh lets see. the little build i have right now is about 60k
lainon has joined #osdev
<geist>
could trim back a bit more, but just picked a default set of modules
lainon has quit [Remote host closed the connection]
<Griwes>
you were almost spot on about 30 minutes, but it's not because of rebuilding llvm from scratch, but rather because I was tinkering with how far I can push some things (and decided not to because (1) I do still need toolchain files for cmake and (2) that deals with cc1 args and replicating some of the logic from the clang toolchain would be too much work)
<Griwes>
I did mess up something else, hmm ;p
lainon has joined #osdev
<Griwes>
ah, I removed a new environment I added for freestanding and it now requires -ffreestanding to link without -pie
<geist>
huh having trouble connecting to github
<geist>
oh nvm
<heat>
docs.github.com was pretty dead a few hours ago
gog has quit [Ping timeout: 246 seconds]
<Griwes>
heat, thanks for the pointer at that function!
<heat>
no problem
<heat>
i never dangle ;)
* Griwes
boos the terrible joke
<jimbzy>
10mhz and 1 whole megabyte of ram?
<kingoffrance>
General purpose 16-/32-bit control processor, 13.295 MHz RAM: 2 MB on a 64-bit bus using 4 16-bit fast-page-mode DRAMs (80 ns) he's building a jaguar!
<jimbzy>
No program can generate enough data to need 1MB, so I think he's just showing off...
* sortie
has his semantic mdoc(7) laughing at your poorly thought out non-semantic and non-existent documentation
<heat>
wrong
<heat>
the oldies that wrote my packages put manpages in there
<sortie>
mdoc(7) is for everyone :)
<jimbzy>
Documentation? Pssh... My motto is "Let the users figure it out for themselves!"
<sortie>
s/figure it out for themselves/fight each other for my amusement/
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jimbzy>
Code that has not been written needs no documentation. ;)
<heat>
when my OS goes to space I'll let them fight each other for my amusement
<heat>
moon battle royale
<jimbzy>
PPV
<jimbzy>
Right after the Logan Paul vs. A Preschooler
<sortie>
jimbzy, ah code that hasn't been written, that's blog posts “here's how you would do X if you wanted to”
<jimbzy>
I thought about creating a blog, but then I realized nobody cares about what I have to say.
<heat>
why
<jimbzy>
Have you actually read the things I write in here? ;)
<heat>
yeah and they're relatively interesting
<heat>
:)
<jimbzy>
The ultimate outsider's perspective on technology ;)
<sortie>
My plan is to write some blog posts when I some day do my next stable release, mostly for promo purposes, with a bunch of "here's how to do $COOL_THING using my OS“ and “cool tech details” to get some interest :)