klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
<klange> bauen1: scattered around my github; there are a particular package you want to rebuild?
<klange> is there a*
<klange> how am I that tired, it's 9am...
pretty_dumm_guy has joined #osdev
pretty_dumm_guy has quit [Client Quit]
nyah has quit [Ping timeout: 240 seconds]
heat has quit [Remote host closed the connection]
heat has joined #osdev
vdamewood has joined #osdev
Starfoxxes has quit [Ping timeout: 240 seconds]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sonny has joined #osdev
vdamewood has joined #osdev
<sonny> https://unix4lyfe.org//syscalls/ -- On the bottom of the page near "The buffer it passes to the write syscall is the next byte on the stack, but it doesn't set it to anything." it seems like the issue would be with the file descriptor if rdi is clobbered. What would it mean that the buffer is not set? This is for write(3).
<bslsk05> ​unix4lyfe.org: Syscalls
Likorn has quit [Quit: WeeChat 3.4.1]
<graphitemaster> Anyone here know Windows PE / COFF format well?
<sonny> are you looking for a resource?
<graphitemaster> Looking for wisdom
<sonny> ok, that's not me but I found a nice visual document
heat has quit [Ping timeout: 252 seconds]
<graphitemaster> I understand the format, I need to understand how something is _plaussible_ in a corrupted one
sonny has quit [Quit: Client closed]
sonny has joined #osdev
sympt has quit [Remote host closed the connection]
sympt has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
sympt has quit [Remote host closed the connection]
elderK has joined #osdev
sympt has joined #osdev
sonny has quit [Remote host closed the connection]
sympt has quit [Remote host closed the connection]
sympt has joined #osdev
xenos1984 has joined #osdev
wootehfoot has joined #osdev
Starfoxxes has joined #osdev
Starfoxxes has quit [Ping timeout: 252 seconds]
GeDaMo has joined #osdev
<bauen1> klange: no, just generally curious if you needed to patch things, mostly concerning gcc, binutils
<klange> gcc and binutils are probably the most extensively patched, mostly just to teach them targets, but my configs aren't too special for them; those are under the `toaruos` org
elderK has quit [Quit: Connection closed for inactivity]
mahmutov has joined #osdev
Likorn has joined #osdev
sympt has quit [Changing host]
sympt has joined #osdev
gareppa has joined #osdev
gareppa has quit [Quit: Leaving]
Likorn has quit [Quit: WeeChat 3.4.1]
<ddevault> whoever wrote the error handling code for GNU binutils should be shot
<kingoffrance> explain, so we know what not to do
<ddevault> objdump -t /tmp/hare/temp..22.o | grep main # exists
<ddevault> ld -T rt/hare.sc -o helios /tmp/hare/temp..22.o [...]
<ddevault> /tmp/hare/temp.rt.1.s:446: undefined reference to `main'
<ddevault> it works if I comment out a function some assembly code which calls a function unrelated to main
<ddevault> I eventually figured out it was something entirely unrelated by dumb luck
<ddevault> at no point was ld even a little bit helpful
<ddevault> not the first time binutils has handed me a pile of nonsense instead of something useful when it fucks up
<zid> yea binutils' error messages are not the best
xenos1984 has quit [Read error: Connection reset by peer]
zaquest has quit [Remote host closed the connection]
<zid> I'm not sure how much of it is it not understanding your intent so it can't
<zid> and how much of it is it just being bad
pretty_dumm_guy has joined #osdev
xenos1984 has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
pretty_dumm_guy has joined #osdev
Likorn has joined #osdev
sonny has joined #osdev
sonny has quit [Remote host closed the connection]
sonny has joined #osdev
sonny has quit [Quit: Client closed]
nyah has joined #osdev
sonny has joined #osdev
eroux has joined #osdev
mahmutov has quit [Ping timeout: 260 seconds]
irl25519 has joined #osdev
heat has joined #osdev
sonny has quit [Ping timeout: 252 seconds]
scoobydoo_ has joined #osdev
scoobydoob has quit [Ping timeout: 240 seconds]
mahmutov has joined #osdev
zaquest has joined #osdev
irl25519 has quit [Quit: irl25519]
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #osdev
dude12312414 has joined #osdev
Matt|home has quit [Quit: Leaving]
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
Vercas has quit [Ping timeout: 240 seconds]
Vercas has joined #osdev
irl25519 has joined #osdev
sonny has joined #osdev
troseman has joined #osdev
sonny has quit [Ping timeout: 252 seconds]
sonny has joined #osdev
eroux has quit [Ping timeout: 240 seconds]
<ddevault> triple faults trying to jump to userspace :(
<j`ey> bloody users!
<jimbzy> They're the worst part of computing, j`ey.
irl25519 has quit [Quit: irl25519]
irl25519 has joined #osdev
elastic_dog has quit [Ping timeout: 248 seconds]
elastic_dog has joined #osdev
irl25519 has quit [Quit: irl25519]
irl25519 has joined #osdev
<heat> why do the "users" need "space"
irl25519 has quit [Quit: irl25519]
<mrvn> ddevault: great. A chance to test and fix your double fault handler.
<kingoffrance> where else you gonna store their blood? i thought bloody users was the best part, i feel like i am doing it all wrong now
<mrvn> kingoffrance: Don't forget to feed them (cat videos) to keep the blood fresh.
<heat> kingoffrance, in struct page along with everything else
<kingoffrance> speaking of summon i saw a doug16k nick but he didnt reply. he might live
irl25519 has joined #osdev
<kingoffrance> could be a stalker, who knows
pretty_dumm_guy has quit [Ping timeout: 252 seconds]
irl25519 has quit [Quit: irl25519]
sonny has quit [Ping timeout: 252 seconds]
<ddevault> mrvn: one way of looking at it
irl25519 has joined #osdev
<heat> ddevault, writing an OS in your new language?
<ddevault> yeah
<bslsk05> ​sr.ht: helios: An experimental microkernel
<jimbzy> Nice
irl25519 has quit [Quit: irl25519]
irl25519 has joined #osdev
irl25519 has quit [Quit: irl25519]
irl25519 has joined #osdev
irl25519 has quit [Quit: irl25519]
irl25519 has joined #osdev
irl25519 has quit [Quit: irl25519]
heat has quit [Remote host closed the connection]
heat has joined #osdev
irl25519 has joined #osdev
pretty_dumm_guy has joined #osdev
irl25519 has quit [Quit: irl25519]
irl25519 has joined #osdev
sonny has joined #osdev
irl25519 has quit [Quit: irl25519]
<geist> cool
sonny has quit [Quit: Client closed]
<bslsk05> ​'Fish Heads' by Barnes & Barnes - Topic (00:02:26)
<geist> haha i know that one too
<GeDaMo> I've never heard Dr Demento but that's the song I associate with the name :P
<geist> i remember years ago i used t have some cassette tape of a Dr Demento show off the radio that i used to listen to
<geist> it was I think a weekly radio show with silly and joke songs
<geist> i think weird al got started on it
<geist> looksl ike he ran the show from 74 to 92. syndicated, so a local station must have picked it up at the time
<GeDaMo> Apparently it's still running https://en.wikipedia.org/wiki/Dr._Demento
<bslsk05> ​en.wikipedia.org: Dr. Demento - Wikipedia
<GeDaMo> One half of Barnes & Barnes is Bill Mumy, the actor who played Will Robinson in Lost in Space and Lenier in Babylon 5
<zid> The other half is the barn he grew up in
<bslsk05> ​stackoverflow.com: c++ - Address-ordering of members of a class / struct - Stack Overflow
<mrvn> Finally we can use public/private/protected and still arrange data for cacheline usage.
sonny has joined #osdev
nur has quit [Ping timeout: 248 seconds]
nur has joined #osdev
GeDaMo has quit [Quit: There is as yet insufficient data for a meaningful answer.]
<geist> yah thats one of those surprising things (reordering of member fields)
<geist> i'm not sure i've ever seen a compiler actually do it though
<mrvn> I guess if you had some form of hardware protection for private data so only the code of the class can access it then you would.
<geist> yah unclear exactly why that older carveout exists
<geist> acts like it was a rule to work around some previous feature of a compiler somewhere
<geist> maybe something to do with multiple inheiritance and some way to merge bits from various subclasses
<mrvn> Or the private parts can be tucked into the padding holes of a base class.
<geist> yah something like that
<mrvn> gcc puts data into the padding at the end of a base class if it's not POD.
<geist> yah i was actually just thinking that: how are subclasses padded out relative to the base class
<geist> especially if each class/struct thats inheriting has different alignment constraints
<mrvn> let me correct that: Win ABI add it after the padding, SYSV ABI adds it in the padding.
<mrvn> I guess in c++23 adding adding to the padding at the end is still ok but using holes would not.
heat has quit [Remote host closed the connection]
heat has joined #osdev
heat has quit [Remote host closed the connection]
heat has joined #osdev
bauen1 has quit [Ping timeout: 248 seconds]
sonny has quit [Ping timeout: 252 seconds]
Ali_A has joined #osdev
bauen1 has joined #osdev
dennisschagt has quit [Ping timeout: 248 seconds]
dennisschagt has joined #osdev
mahmutov has quit [Ping timeout: 240 seconds]
heat has quit [Remote host closed the connection]
wootehfoot has quit [Quit: Leaving]
heat has joined #osdev
sonny has joined #osdev
sympt has quit [Quit: The Lounge - https://thelounge.chat]
sympt has joined #osdev
gildasio1 has joined #osdev
gildasio has quit [Ping timeout: 240 seconds]
Likorn has quit [Quit: WeeChat 3.4.1]
sonny has quit [Ping timeout: 252 seconds]
Likorn has joined #osdev
<mrvn> https://godbolt.org/z/fGbjc3czd Why does this not report heap corruption with glibc?
<bslsk05> ​godbolt.org: Compiler Explorer
<zid> rounding
<mrvn> zid: say what?
<mrvn> I'm assuming 64 bytes is large enough that there is no extra padding. Increasing to 1024 byte doesn't change anything. I would expect to have the canary/prev/next/canary values following right before/after the allocation
<heat> the canary might be a part of the allocation, so it rounds up
<mrvn> x = 14: output.s: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
<mrvn> heat: spot on
<mrvn> I always have the canary as part of the metadata block because then it's easy to align everything to 16byte boundaries.
srjek has quit [Quit: Leaving]
<heat> what's the point of nvme namespaces?
<heat> i don't really get it
<heat> you're like creating a new disk inside the nvme drive, but why
<mrvn> So OEM vendors can put an install medium on the nvme?
<heat> hm?
<heat> what do you mean
<mrvn> so you have a (virtual) cdrom drive and the rest of the nvme to install to.
<mrvn> just a guess but OEMs used to do that with harddisks.
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
<heat> that sounds useless to me
<heat> and you could make a sort of partitioning hack for that I would say
sympt has quit [Read error: Connection reset by peer]
<mrvn> means the OEM can just dump the same install medium on every system and the user does the work of actually installing windows.
<heat> it's not like resizing a namespace is done just like that, you'll need to adjust partitions, the GPT, etc
<mrvn> isn't the namesapce outside the partitions? Wouldn't the namespaces show up as separate drives in the bios?
<heat> a namespace is pretty much a drive
sympt has joined #osdev
<mrvn> So the user can partition the first "drive" and the install medium is the second "drive"
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev