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
stolen has quit [Quit: Connection closed for inactivity]
gog has quit [Quit: byee]
karenw has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
<geist> yah i choose to not interact with assholes if i have the choice in general
<geist> one of the nice things about work, as sortie was pointing out, is folks are generally nice
<geist> if they're not nice it's always in an indirect passive-aggressive way, and even then it's usually more subtle than run of the mill PA
<geist> and all told that's generally more pleasant life
<heat> but are they being corporate nice or real nice?
<geist> perhaps both, but i think if you do that it tends to over time make you real nice
<geist> as in you have almost a certainty that if you hang out with a work person after work they're actually pleasant to be around
<geist> like pretending to be nice makes you nice eventually
<geist> i know i'm certainly far more sensitive to saying bad things to people i didn't intend to
<bslsk05> ​man7.org: PAGEMAP_SCAN(2const) - Linux manual page
<heat> EINTR Fetal signal is pending.
<nikolar> no, not the fetal signal
<heat> i guess the fetal sign is SIGABRT :v
mavhq has quit [Ping timeout: 248 seconds]
<the_oz> I decided to try out 4M recordsize on my zfs zpool
<the_oz> put it on /
<the_oz> And then rebooted a day or so later
<the_oz> congratulations, couldn't reac more than 128k on boot on the Boot Environment
<the_oz> read*
<the_oz> well done, self, fire aim ready
goliath has quit [Quit: SIGSEGV]
vai has quit [Ping timeout: 272 seconds]
raphaelsc has quit [Ping timeout: 252 seconds]
heat has quit [Ping timeout: 252 seconds]
clever has joined #osdev
karenw has quit [Ping timeout: 244 seconds]
karenw has joined #osdev
karenw has quit [Client Quit]
karenw has joined #osdev
Fingel has joined #osdev
griddle has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
griddle has quit [Quit: griddle]
vdamewood has joined #osdev
craigo has quit [Quit: Leaving]
karenw has quit [Ping timeout: 244 seconds]
Stary has quit [Quit: ZNC - http://znc.in]
CompanionCube has quit [Quit: ZNC - http://znc.in]
X-Scale has joined #osdev
Stary has joined #osdev
CompanionCube has joined #osdev
guideX has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has joined #osdev
netbsduser has joined #osdev
vinc has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]
obrien has joined #osdev
netbsduser has quit [Ping timeout: 255 seconds]
zaquest has joined #osdev
GeDaMo has joined #osdev
X-Scale has joined #osdev
obrien has quit [Remote host closed the connection]
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
Fingel has quit [Quit: Fingel]
X-Scale has quit [Quit: Client closed]
_ngn has quit [Ping timeout: 260 seconds]
muffin has joined #osdev
<muffin> Anyone know how ACPI OSPM is supposed to flush disk caches before entering S5 state? There's nothing I could find in the ACPI spec about that.
<muffin> Does that even matter if I don't have device drivers yet?
_ngn has joined #osdev
muffin has quit [Quit: Reconnecting]
muffin has joined #osdev
solaare has joined #osdev
muffin has quit [Quit: leaving]
Lucretia has quit [Quit: Konversation terminated!]
Lucretia has joined #osdev
spare has joined #osdev
vinc has quit [Ping timeout: 252 seconds]
spare has quit [Read error: Connection reset by peer]
vinc has joined #osdev
Left_Turn has joined #osdev
vinc has quit [Ping timeout: 252 seconds]
vinc has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 265 seconds]
foudfou has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
foudfou has quit [Quit: Bye]
foudfou has joined #osdev
<sortie> geist: 100% what you say about niceness. I didn't think of it that way but it's a good point. Also, honestly, being nice to work with is a prerequisite for having a career.
<sortie> I mean at my old office I would say that half of the people, I didn't really click with, but there always was a good baseline of decency and being considered part of the community
<sortie> But a lot of it is also what you tolerate
<sortie> Part of why I haven't upstreamed many of my patches was also ... dealing with all the upstreams.
vinc has quit [Ping timeout: 260 seconds]
vinc has joined #osdev
ersant_ has joined #osdev
ersant_ has quit [Quit: WeeChat 4.4.3]
torresjrjr has quit [Ping timeout: 265 seconds]
gog has joined #osdev
torresjrjr has joined #osdev
vdamewood has quit [Quit: Life beckons]
stolen has joined #osdev
Mutabah has quit [Quit: Rebooting]
Mutabah has joined #osdev
vinc has quit [Quit: Lost terminal]
heat has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
jedesa has joined #osdev
Mutabah has quit [Quit: Rebooting again]
xenos1984 has quit [Read error: Connection reset by peer]
Mutabah has joined #osdev
xenos1984 has joined #osdev
Gordinator has joined #osdev
jedesa has quit [Remote host closed the connection]
jedesa has joined #osdev
X-Scale has joined #osdev
foudfou_ has joined #osdev
foudfou has quit [Ping timeout: 260 seconds]
jedesa has quit [Remote host closed the connection]
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 265 seconds]
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
<sortie> Who wants to pay me for making vim cross-compile out of the box
<heat> my vim cross compiles just fine?
<sortie> You have to set a bunch of cache variables for it
<heat> sgtm
<sortie> It's better if packages assume the best by default, otherwise you end up having to set endless cache variables to just say that you're not a buggy obscure system
<kof673> sympathy for the autoconf devil?
<heat> if packages assume the best by default they might also silently break systems
<heat> e.g autoconf will see a epoll_create symbol for onyx but you'll get ENOSYS'd :)
<sortie> That sounds like you're the one fucking up. Don't provide functions if they don't work. If you do, the burden is on you to set the cache variables to say you're a buggy OS.
<heat> it's quite easy to provide a function that doesn't work
<sortie> Yeah. So don't do it.
<heat> try a new glibc on an old kernel
<heat> or a new glibc on a new kernel with a seccomp filter on top :)
<sortie> Yeah but if you're cross-compiling, the best you can do is to assume it's a modern gcc, if the user hasn't said it's and old one explicitly
ogray has quit [Quit: ayt]
<sortie> Or just catch ENOSYS at runtime
<sortie> https://github.com/vim/vim/pull/15983 ← Doing the lord's work making cross-compilation easier. Previously I had to tell vim that toupper(3) works.
<bslsk05> ​github.com: Assume features work when cross-compiling. by sortie · Pull Request #15983 · vim/vim · GitHub
goliath has joined #osdev
Arthuria has joined #osdev
FreeFull has quit []
Arthuria has quit [Ping timeout: 260 seconds]
FreeFull has joined #osdev
<kof673> > but you'll get ENOSYS'd yes, and this means to test autoconf-like, requires being able to run test programs on the target
<kof673> or that someone pre-made a configuration already
X-Scale has quit [Ping timeout: 256 seconds]
Arthuria has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
Arthuria has joined #osdev
X-Scale has joined #osdev
goliath has quit [Quit: SIGSEGV]
goliath has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]
nur has joined #osdev
spareproject has joined #osdev
X-Scale has joined #osdev
Gordinator has quit [Quit: My client has closed - perhaps I did that, perhaps I didn't]
edr has joined #osdev
<SystemPrompt> autoconf was designed to detect all the systems in existence at the time they made autoconf, and sometimes gets updated with new ones; it's not designed to detect every possible syste
<SystemPrompt> it has a more than negligible chance of detecting unknown systems correctly but who knows for sure
Starfoxxes has joined #osdev
<kof673> i just meant you need a toolchain + a way to run programs on the target for that style
<kof673> "wisdom is double-sided" so i mean, you could support either mode perhaps, but more complicated, and then bomb if someone did not already write a configuration for the target
<kof673> *bomb if do not have a way to run a test program on the target from script
muffin has joined #osdev
muffin has quit [Quit: leaving]
<heat> sortie, gosh system bootstrap is horrible
<heat> how do you enjoy this
<heat> everything depends on everything else and libxml2 seems to be the most core piece of software there ever was
xenos1984 has quit [Ping timeout: 252 seconds]
<sortie> heat: Because I'm awesome at it and I'm ready to pick a fight with whatever dictators I come across
Terlisimo has quit [Quit: Connection reset by beer]
xenos1984 has joined #osdev
<bslsk05> ​www.linuxfromscratch.org: GnuPG-2.4.6
<sortie> heat: Basically there's a set of core packages that you need to build the rest of them. You need to cross-compile that set at the very least. If you only got part of that set, you run into cyclic dependencies
<heat> libassuan, libgcrypt, gnutls (yay two more tls/crypto libraries!), libksba, npth, openldap, CURL, FUSE, IMAGEMAGICK, LIBFUCKINGUSB, SQLITE, A MAIL TRANSPORT AGENT, TEX LIVE??!??!?!
<sortie> Sure those are optional
<sortie> A lot of those crazy optional dependencies are for tests or documentation
<sortie> I was thinking of using GnuPG myself but now I just see that it depends on npth so you know it's bad
Terlisimo has joined #osdev
<heat> basically what im figuring out is that this is all hell and fedora's 4 or 5 stage bootstrap isn't all that bad
<sortie> I'm confused by what you're doing lol
<sortie> Because just do it single stagew
<heat> bringing up a functioning system under onyx
<sortie> I cross-compile everything and boom single stage
<sortie> Then I recompile everything natively too, single stage too
<heat> particularly this red hat software man, it depends on so much stuff
<heat> dnf5 has optional systemd integration, optional gpg2 support, optional libfuckme support
<sortie> Do you need a ports tree with a sane dependency graph that cross-compiles?
<heat> rpm needs sqlite and properly done would also need RUST
<sortie> Sure it's the rust package manager
<kof673> *bsd used to e.g. not try to require perl or python for base system, but ..... :D other distros, not sure who does that anymore :D
<heat> yeah.... basically 1/4 of the packages i have depend in some way shape or form on perl
<sortie> perl and python are 100% in the set needed to rebuild the core of set ports
<sortie> It was a sucky port but it was truly needed and happy I got through it
<kof673> i'm talking kof era years/decade ago. this is not a criticism either, just without a rule...anything goes
<kof673> i mean what is the criteria for e.g. deciding whether a rust dependency is ok or not?
<sortie> Partially if you can get away with it and downstream pushback
<heat> all dependencies are okay-ish if you dont need to bootstrap anything
<sortie> I'll say that rust is __unacceptable__ in the core set of ports because it does not bootstrap
<heat> if rust is already built and installed through rpm, rpm can now require rust to build
<kof673> exactly. re: if someone else is building, binaries for end-user, will not even notice per se ^^^^
<sortie> rpm is also only used by a distro
<heat> no?
<sortie> Different for perl that is used for everyone
<sortie> So it still needs to bootstrap for everyone
xenos1984 has quit [Ping timeout: 246 seconds]
X-Scale has quit [Ping timeout: 256 seconds]
<heat> perl is actually not a bad bootstrap
<heat> if you forget the shambolic build system, it's all in C and ends up using gnu make
<Matt|home> o\
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
xenos1984 has joined #osdev
<kof673> https://lists.freebsd.org/archives/freebsd-hackers/2024-January/002875.html i don't follow these things, just remember way back when perl was discussed "Perl got in, and got thrown out again"
<bslsk05> ​lists.freebsd.org: Re: The Case for Rust (in the base system)
Fingel has joined #osdev
Turn_Left has quit [Ping timeout: 252 seconds]
Turn_Left has joined #osdev
Arthuria has quit [Ping timeout: 276 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
craigo has joined #osdev
netbsduser has joined #osdev
LainExperiments has joined #osdev
mavhq has joined #osdev
karenw has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
LainExperiments has quit [Quit: Client closed]
Turn_Left has joined #osdev
<sortie> https://github.com/vim/vim/commit/2cf145b78b888fa03d3b26280fcd405b3c946bef ← I contributed to vim and now any osdever porting vim to their OS will have an easier time :)
<bslsk05> ​github.com: patch 9.1.0837: cross-compiling has some issues · vim/vim@2cf145b · GitHub
Left_Turn has quit [Ping timeout: 265 seconds]
<nikolar> neat
<zid`> imagine being the maintainer for vim though
<sortie> They have a really weird way of committing patches tho
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
Starfoxxes has quit [Remote host closed the connection]
Turn_Left has quit [Ping timeout: 276 seconds]
<kof673> he died awhile ago Bram Moolenaar was a Dutch software engineer and activist who was the creator, maintainer, and benevolent dictator for life of Vim
foudfou_ is now known as foudfou
mavhq has quit [Ping timeout: 244 seconds]
ooberbanana has joined #osdev
Fingel has quit [Quit: Fingel]
mavhq has joined #osdev
eddof13 has joined #osdev
mavhq has quit [Read error: Connection reset by peer]
youcai has quit [Ping timeout: 260 seconds]
LainExperiments has joined #osdev
LainExperiments has quit [Write error: Broken pipe]
youcai has joined #osdev
ooberbanana has quit [Quit: Leaving]
mavhq has joined #osdev
eddof13 has quit [Quit: eddof13]
netbsduser has quit [Ping timeout: 260 seconds]
Turn_Left has joined #osdev
sprocket has joined #osdev
sprock has quit [Ping timeout: 245 seconds]
troseman has quit [Quit: troseman]
spareproject has quit [Remote host closed the connection]
X-Scale has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
Turn_Left has joined #osdev
troseman has joined #osdev
Left_Turn has quit [Ping timeout: 265 seconds]
stolen has quit [Quit: Connection closed for inactivity]
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
j00ru has quit [Read error: Connection reset by peer]
j00ru has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
goliath has quit [Quit: SIGSEGV]
<heat> is 1G ram for 4 cores too little for most builds?
<zid`> for C I like a gig per thread, and for C++, 2-4
<heat> yeah my onyx vm is struggling when it sees some actual C++
<heat> 1G for 4 cores kinda works juuuuuuust fine for C
<heat> as soon as i get into the GNU gold bit of the binutils build it just booms