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
xenos1984 has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
bauen1 has joined #osdev
Burgundy has quit [Ping timeout: 256 seconds]
Matt|home has quit [Remote host closed the connection]
vdamewood has quit [Read error: Connection reset by peer]
isaacwoods has quit [Quit: WeeChat 3.7.1]
vdamewood has joined #osdev
epony has quit [Ping timeout: 268 seconds]
gxt_ has quit [Ping timeout: 255 seconds]
mahk has quit [Ping timeout: 265 seconds]
gxt_ has joined #osdev
epony has joined #osdev
[itchyjunk] has quit [Ping timeout: 260 seconds]
[itchyjunk] has joined #osdev
Matt|home has joined #osdev
heat has quit [Remote host closed the connection]
heat has joined #osdev
chartreuse has quit [Read error: Connection reset by peer]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
MiningMarsh has quit [Quit: ZNC 1.8.2 - https://znc.in]
heat has quit [Remote host closed the connection]
heat has joined #osdev
MiningMarsh has joined #osdev
gildasio has quit [Ping timeout: 255 seconds]
gildasio has joined #osdev
heat has quit [Remote host closed the connection]
heat has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
heat has quit [Ping timeout: 256 seconds]
<zid`> day 10 advent piece of piss
zid` is now known as zid
chartreuse has joined #osdev
bradd has quit [Ping timeout: 256 seconds]
gxt_ has quit [Ping timeout: 255 seconds]
gxt_ has joined #osdev
jafarlihi has joined #osdev
<jafarlihi> Can someone please tell me why this script builds GCC twice?: https://github.com/theseus-os/Theseus/blob/theseus_main/scripts/install_x86_64-elf-gcc.sh Can I get rid of the first step and use my system GCC instead to build the second one?
<bslsk05> ​github.com: Theseus/install_x86_64-elf-gcc.sh at theseus_main · theseus-os/Theseus · GitHub
bradd has joined #osdev
<geist> If you’re just trying to build a generic gcc for various targets i have a project for it too, and a bunch of prebuilts if you want to skip that step
<kazinsal> yeah that's what I use
<kazinsal> (I say, having not written a line of osdev code in six months)
<bslsk05> ​travisg/toolchains - Shell script to build gcc for various architectures (32 forks/62 stargazers/MIT)
<jafarlihi> geist: But does it remove redzone for x86-64?
<geist> Yes, it does
<geist> See one of the few patches it applies to gcc before building it
<geist> It create a multilib for mno-redzone
<geist> That being said you can generally speaking get away without using libgcc for your kernel for x86-64, since it’s rarely needed, and if it is needed you should probably reconsider what you’re doing
<geist> 32bit arches are more likely to need libgcc for various assist
<jafarlihi> Ok, thanks, looks good
<jafarlihi> geist: Would you accept a PR for upgrading minor versions of GCC and binutils?
jafarlihi has quit [Quit: WeeChat 3.7.1]
jafarlihi has joined #osdev
<jafarlihi> geist: Does the redzone patch break if I upgrade GCC version?
k0valski18891 has joined #osdev
<geist> not necessarily. actually i have a branch for 12.2 but just havent rolled it
<geist> in general minor revisions are just a matter of rolling the version file and the hash
<geist> sometimes major revisions require some work for the patches
jafarlihi has quit [Quit: WeeChat 3.7.1]
gxt_ has quit [Ping timeout: 255 seconds]
gildasio has quit [Ping timeout: 255 seconds]
gxt_ has joined #osdev
gildasio has joined #osdev
mahk has joined #osdev
ThinkT510 has quit [Quit: WeeChat 3.7.1]
ThinkT510 has joined #osdev
bgs has joined #osdev
gxt_ has quit [Ping timeout: 255 seconds]
gxt_ has joined #osdev
Maja[m] has quit [Quit: You have been kicked for being idle]
GeDaMo has joined #osdev
bgs has quit [Remote host closed the connection]
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #osdev
Burgundy has joined #osdev
potash has joined #osdev
chartreuse has quit [Ping timeout: 268 seconds]
nyah has joined #osdev
wootehfoot has joined #osdev
gog has quit [Ping timeout: 268 seconds]
gog has joined #osdev
isaacwoods has joined #osdev
gxt_ has quit [Ping timeout: 255 seconds]
gxt_ has joined #osdev
terminalpusher has joined #osdev
wereii has quit [Quit: ZNC - https://znc.in]
poyking16 has joined #osdev
puck has quit [Excess Flood]
puck has joined #osdev
wereii has joined #osdev
jafarlihi has joined #osdev
<jafarlihi> I changed i386 GCC to x86_64 in https://github.com/jafarlihi/x86nix Without -m32 it complains about instructions in assembly not having valid suffix or not being supported in 64-bit mode, with -m32 there are bunch of errors like "i386 architecture of input file `./build/boot.o' is incompatible with i386:x86-64 output". What am I doing wrong?
<bslsk05> ​jafarlihi/x86nix - [WIP] x86 OS (0 forks/0 stargazers/MIT)
<jafarlihi> I just want to switch to long mode
gog has quit [Read error: Connection reset by peer]
terminalpusher has quit [Remote host closed the connection]
gog has joined #osdev
gxt_ has quit [Remote host closed the connection]
gxt_ has joined #osdev
sortie has quit [Ping timeout: 268 seconds]
<jafarlihi> Sir pls to help do not redeem
gog has quit [Ping timeout: 256 seconds]
heat has joined #osdev
<Mutabah> jafarlihi: I've not used gas... but in nasm you can have 32-bit code in a 64-bit assembly file by using an assembler directive to switch to 32-bit encoding
<Mutabah> that is what you'll need for the 32-bit portions
<heat> .bits 32 in gas
<Mutabah> thanks heat
<jafarlihi> Error: unknown pseudo-op: `.bits'
isaacwoods has quit [Quit: WeeChat 3.7.1]
<heat> erm sorry
<heat> .code32
<heat> wrong assembler lol
<Mutabah> heh
<Mutabah> thought it looked too like nasm
<heat> it's code16, code32 and code64
<jafarlihi> aww yiss, it worked, but now says no multiboot header found
<jafarlihi> any idea why?
<Mutabah> Either it's not emitted, or it's too deep in the file
<Mutabah> a common quirk/issue with 64-bit elf files is being aligned to 2MB, causing the multiboot header to be far out of range
<jafarlihi> How do I fix that?
<zid> You find out what's wrong with it first.
<Mutabah> try putting `. += SIZEOF_HEADERS;` just after the `. = 1M` line in your linker script
<zid> or randomly guess, I suppose
<Mutabah> ... it's an obscure fix to an obscure quirk of ld
<jafarlihi> Nah, same issue
<Mutabah> Check an objdump (or hexdump) to see if the multiboot signature is in the output file (and where)
<jafarlihi> Right, on it
<Mutabah> if it's near the end, then check your sections
<Mutabah> (e.g. with objdump/readelf)
gog has joined #osdev
sortie has joined #osdev
<jafarlihi> hexdump on elf shows it is on line 11
<jafarlihi> the magic
<Mutabah> strange
<Mutabah> and aligned?
<jafarlihi> its the first thing in line so i guess
<Mutabah> and is line 11 actually early in the file?
<Mutabah> no large omitted zeroes before it?
<jafarlihi> 0000000 457f 464c 0102 0001 0000 0000 0000 0000
<jafarlihi> 0000010 0002 003e 0001 0000 3cc0 0010 0000 0000
<jafarlihi> 0000020 0040 0000 0000 0000 64b8 0010 0000 0000
<jafarlihi> 0000030 0000 0000 0040 0038 0001 0040 000e 000d
<jafarlihi> 0000040 0001 0000 0007 0000 0000 0000 0000 0000
<jafarlihi> 0000050 0000 0000 0000 0000 0000 0000 0000 0000
<jafarlihi> 0000060 5100 0010 0000 0000 aaa0 0010 0000 0000
<jafarlihi> 0000070 1000 0000 0000 0000 0000 0000 0000 0000
<jafarlihi> 0000080 0000 0000 0000 0000 0000 0000 0000 0000
<jafarlihi> *
<jafarlihi> 0101000 b002 1bad 0003 0000 4ffb e452 1f0f 0040
<jafarlihi> 1badb002 is magic
<heat> lmao
<heat> <Mutabah> and is line 11 actually early in the file?
<heat> <Mutabah> no large omitted zeroes before it?
<Mutabah> It's the 1MB alignment bug again
<gog> hi
<heat> gog
<heat> gog
<heat> gog
<gog> heat heat
<jafarlihi> Mutabah: How do I fix it?
<heat> gog, bazumba
<heat> *latin music starts playing*
<Mutabah> I think it's a quirk of the linker script... but the hack I tend to include didn't work, so I'm stumped :)
<Mutabah> Time for some googling from you I guess
<jafarlihi> Wait, shouldn't this happen to everyone who does this?
<Mutabah> Or, find an existing 64-bit kernel and copy from them
<gog> Mutabah: -zmax-page-size or smith??
<Mutabah> gog: maybe
<heat> -z max-page-size=0x1000 should help
<jafarlihi> Do I pass it to gcc?
<Mutabah> jafarlihi: to ld
<jafarlihi> But I don't call ld explicitly in my makefile
<heat> yes gcc
<heat> -Wl,-z,max-page-size=0x1000 I think
<gog> something like that
<jafarlihi> damn, now I get black screen
<jafarlihi> no vga output
<jafarlihi> not sure if it boots
<heat> shame
<jafarlihi> what are commas for?
<heat> punctuation
<jafarlihi> oh
<jafarlihi> passes to linker
<heat> if you mean gcc, well, thankfully you have a nice helpful manual
<jafarlihi> Thanks I guess it boots
<jafarlihi> It outputs vga stuff if I do it in boot.s
<jafarlihi> But not in C
sortie has quit [Ping timeout: 256 seconds]
jafarlihi has quit [Ping timeout: 260 seconds]
heat_ has joined #osdev
heat has quit [Ping timeout: 256 seconds]
elastic_dog has quit [Killed (lithium.libera.chat (Nickname regained by services))]
elastic_dog has joined #osdev
heat_ has quit [Remote host closed the connection]
heat has joined #osdev
gxt_ has quit [Ping timeout: 255 seconds]
gildasio has quit [Ping timeout: 255 seconds]
<mrvn> Mutabah: you have to set the default page size for the linker.
<Mutabah> mrvn: yeah, found that in my config after heat mentioned it
jafarlihi has joined #osdev
<jafarlihi> I guess rather than dealing with this shit I should get bootloader that gets me directly to 64, is there any reason to choose bootboot or limine one or the other?
<gog> you can write a pretty simple EFI stub
<gog> but linking it is slightly complicated
<mrvn> or multiboot stub
<jafarlihi> I don't want to deal with x86 crap, just want to code some OS
<jafarlihi> Wait, if you write UEFI app you don't need to manually switch all the way from real mode to long mode?
<jafarlihi> I mean UEFI starts out at 64?
gog` has joined #osdev
gog has quit [Quit: byee]
gog has joined #osdev
gog has quit [Client Quit]
gog` is now known as gog
<gog> hihi
<zid> eep
<zid> glog I finally did advent 2015 day 7, only took me 7 years
<gog> nice
<gog> i am not doing it
gildasio has joined #osdev
<zid> I wrote 3/4 of a compiler to solve it
gxt_ has joined #osdev
<zid> cus I hate myself
<gog> but i lov you
<zid> does that come with any perks
sortie has joined #osdev
<gog> just the knowledge that you're loved
<zid> can I redeem it for more ram
<gog> not as of yet
<gog> but i'll call some people
<zid> (what I need is a new monitor, but it's best to aim realistically)
<gog> do you want a crt
<zid> I have a CRT, it's 1280x1024
<zid> but I'd have to reinstall my 670 to be able to use it, need the ramdac
<gog> oh right because it's got a weird refresh rate
<zid> nah because it's analogue
<gog> o
<zid> if my LCD literally stops working rather than just being janky and moody, I will be doing that
<zid> hdmi and displayport are both digitalis
heat has quit [Remote host closed the connection]
<zid> dvi-d was digital, dvi-a analogue, dvi-both
<zid> last card with a dvi-i port was 980 ti
heat has joined #osdev
<zid> dvi-i both*
<gog> my last standalone vdideo card was a 760
<gog> edits analog on the dvi was wir
<gog> wired
<zid> the four little pins in a square at one edge are the analoguey ones
<zid> I think it's just r/g/b/ground
<zid> with sync muxed onto green
<gog> yeh
<gog> sync on green
<gog> standard stuff
joe9_ has quit [Quit: leaving]
joe9 has joined #osdev
gog` has joined #osdev
gog` has quit [Client Quit]
jafarlihi has quit [Quit: WeeChat 3.7.1]
bauen1 has quit [Ping timeout: 268 seconds]
bauen1 has joined #osdev
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
dude12312414 has joined #osdev
\Test_User has quit [Ping timeout: 260 seconds]
dude12312414 has quit [Ping timeout: 255 seconds]
gxt_ has quit [Ping timeout: 255 seconds]
gildasio has quit [Ping timeout: 255 seconds]
gxt_ has joined #osdev
gildasio has joined #osdev
heat has joined #osdev
heat_ has quit [Ping timeout: 248 seconds]
k8yun has joined #osdev
wootehfoot has quit [Ping timeout: 268 seconds]
dude12312414 has joined #osdev
gildasio has quit [Remote host closed the connection]
heat_ has joined #osdev
gildasio has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat_ has quit [Remote host closed the connection]
heat_ has joined #osdev
Terlisimo has quit [Quit: Connection reset by beer]
terrorjack has quit [Ping timeout: 256 seconds]
heat_ is now known as heat
gildasio has quit [Ping timeout: 255 seconds]
gareppa has joined #osdev
Terlisimo has joined #osdev
gildasio has joined #osdev
gxt_ has quit [Ping timeout: 255 seconds]
gareppa has quit [Quit: Leaving]
gxt_ has joined #osdev
dude12312414 has quit [Ping timeout: 255 seconds]
terrorjack has joined #osdev
[itchyjunk] has joined #osdev
sortiecat has joined #osdev
terrorjack has quit [Ping timeout: 256 seconds]
terrorjack has joined #osdev
FreeFull has joined #osdev
* mjg dry scoops pre workout
* mjg snorts fentanyl
<mjg> ready to write some php
* heat snorts industrial amounts of heroin
<heat> ready to write some freebsd code
* gog eats three strips of acid
<gog> ready to do web development
<heat> ACID3 you mean
<gog> yes
poyking16 has quit [Quit: WeeChat 3.6]
<zid> wow, random supermarket spring rolls and they aren't trash
<gog> yum
<mjg> kazinsal: so i finished the wire
<mjg> kazinsal: pretty good
<mjg> kazinsal: albeit not everyone the show is NATURAL POLICE
<mjg> on the show*
<gog> there you go giving a fuck when it ain't your turn to give a fuck
<Ermine> Well said!
<mjg> bringing in bugs which don't mean shit to anybody
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<heat> football's shit anyway
<Ermine> Ice hockey is better.
<heat> i'll need a few hours to switch into it's coming home mode so until then football's shit sports are shit
<kaichiuchi> i just realized I don't have enough room for anything anymore
<kaichiuchi> what do I do
<heat> idk
<heat> stop software engineering and become a doctor or something
<mjg> how is portugal doing anyway
<mjg> did you leave the group even
<heat> just got eliminated by fucking morocco
<heat> ronaldo even cried
<heat> it hurts even though i've historically been a ronaldo hater
<mjg> lol
<mjg> haha
<mjg> 1:0
<mjg> PORTUGAL SUCKS BRO
<mjg> morocco probably has literal disabled people playing
<mjg> so you are no longer a football fan?
<heat> no i'm pulling for england now
<heat> it's coming home lads and shit
<heat> s/shit/bollocks/g
<heat> if I take two L's today i'll lose my shit
<mjg> well i am disappointed there are people on this channel who give a fuck about that sport
<mjg> youth today
<mjg> i guess
<heat> it's a religion here
<mjg> you mean portugal
<heat> yes
<mjg> it is super popular in pl
<mjg> and of course there is a big hooligan population
<heat> but you're not very good at it
<mjg> i hear our hools are the bestest
<Ermine> Sports are more interesting to do than to watch.
<mjg> at beating up competing teams
<heat> wow 0 - 1
<heat> i'm really taking Ls today am I not
<mjg> your teams lose, you write bullshit for freebsd
<mjg> you may want to call suicidewatch
<mjg> heat, you have value despite onyx
<mjg> i hope that's good enough pep talk
<mjg> it's ok heat, not everyone can write code which scales past 4 cpus
<mjg> look at theo
nyah has quit [Quit: leaving]
<heat> i don't think you understand how seriously i take this
<heat> i would sacrifice every BSD out there for a world cup
<heat> hell, i'd do it for a euro
* gog pays heat a euro
<gog> get to it
<heat> european championship OR currency
<heat> paypal me
<heat> i don't do god's work for free
<gog> what's yoru paypal
* Ermine types paypal...
MiningMarsh has quit [Ping timeout: 260 seconds]
<heat> idk, i have no idea how paypal works
<heat> i just sometimes pay stuff with it
<gog> send me money
<mjg> Elon
<heat> football, beer, sarcasm
<heat> england is perfect
<gog> heat
<gog> i need money
<heat> i also need money
<heat> the cloudflare monies don't last forever
<heat> have you tried asking tu jefe for a raise
<gog> i'll send you $3 on tuesday if you send me $1 today
<heat> gog
<heat> are you doing a ponzi scheme
<gog> no absolutely not
<heat> oh you!
<gog> what i am doing is offering you an opportunity to be your own boss
<gog> i'll send you $3 worth of products you can sell to your friends and family for $1
<Ermine> no ponzi scheme condition asks some integral to be less than infinity. Therefore, no ponzi scheme detected.
<heat> #bossgirl
<mjg> i have an affiliate marketing offer
<mjg> all you need to do is simply invest $100 USD
<heat> little known fact: mjg is an avon retailer
<Ermine> Better than amway.
<mjg> heat: mary kay, thank you very much!
<mjg> 1. i'm my own boss
<heat> 2. you can take care of the kids while making money on the side
<mjg> 2. i manage a team of indepdent employees
<bslsk05> ​old.reddit.com: Stop MLM schemes from draining your friends dry.
<mjg> OOOH
<mjg> you fucking naysayer
<mjg> GeDaMo: you need a lesson in positive thinking
<GeDaMo> How much are you going to charge for that? :P
<mjg> normally $3000, but there is a time limited discounted price at $197
<mjg> this is a bargain
<heat> i have a better offer
<bslsk05> ​'Contrepreneur Bingo • Grant Cardone' by Mike Winnet (00:08:58)
<heat> sub to my stock investment course ($3000) and learn how to be a millionaire like me by day trading
<heat> just like grant cardone that cunt
<heat> stole my techniques
<mjg> i'm literally grant cordone's father
<mjg> cardone even
* Ermine studies stocks for two years...
<CompanionCube> does anyone want to make money with a forex bot? :p
<heat> no need for a bot
<heat> sub to my course and I'll give you all the tips
<Ermine> sub to my course to learn how to earn money on crypto
<mjg> i'm SBF's nephew
<mjg> AMA
<heat> buy my monkey
<gog> billion dollar fraud polycule is my dream
<gog> ngl
<mjg> heat: ok but no mre than 100 FTX tokens
<CompanionCube> all of ftx's apes are now funged with restructuring
<GeDaMo> They all have fungal infections? :|
<mjg> my friends at herbalife have a cure, let me hit you up
<gog> hey if you rip people off and then file chapter 11 bankruptcy you still get to keep shit you bought with their money for as long as it takes for auditors to track it down
<heat> lmao
<heat> shut up and get an offshore
<gog> exactly
<heat> people these days don't know how to fraud
<mjg> at least some people outside of portugal know how to play football
MiningMarsh has joined #osdev
<heat> not polish for sure
<geist> eeyoo football trash talkin
<gog> hi
<heat> 2/2 L's
<heat> today has not been my day has it
k8yun has quit [Quit: Leaving]
<bslsk05> ​tenor.com: Sports GIF - Tim And Eric - Discover & Share GIFs
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
<heat> this is one of the gifs of all time
<mrvn> *brrrrr* It's cold outside, the supermarket only played X-mas gingles and then the Food stand closed down early and had no more fries or chicken wings. How am I going to code through the night now?
<geist> but... have you heard little drummer boy yet?
<geist> also i just lost the game, darn
<mrvn> now you made me loose
<geist> sorry!
nvmd has joined #osdev
nvmd has quit [Quit: WeeChat 3.7.1]
<gog> chicken whings?
<mrvn> buffal wings
<mrvn> +o
<mrvn> fried chicken
<mrvn> Oder es muss irgendwo 4 spurig sein das sie ueberholen kann ohne in den gegenverkehr zu geraten.
<mrvn> ups
<geist> nümberwang!
<mjg> "that's numberwang" is my goto response to bullshit perf numbers
<mjg> all these people were on peep show
<mjg> the black guy played Johnson, a real mofo
<mjg> pretty hilarious contrast
<bslsk05> ​'I'm Going To Treat You Like A Turkey Fucker - Peep Show' by Peep Show (00:00:54)
<gog> 3.17
wootehfoot has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
TkTech has joined #osdev
MiningMarsh has quit [Read error: Connection reset by peer]
<geist> ahaha
<geist> that's hilariou
<gog> lmao
<gog> peep show is amazing
<geist> omg i've watched a bunch of mithchell and webb but this also looks great
<gog> yeh they have another show too
<geist> wait it's not the same show is it?
<geist> now i'm getting confuse
<gog> no a third one
<gog> iirc
<gog> maybe i'm misremembering i'm trying to find it
<gog> it's called "back"
<geist> ah looks like M&W show was actually before peep show
<mjg> peep show is the fucking best man
<gog> oh there's another one too, the mitchell and webb situation
<geist> yeah now i gotta add this to the list
<gog> it only ran one series of 6 episodes tho
<gog> british tv
<mjg> internal monologues are killing me
<j`ey> peep show is top tier
<bslsk05> ​'Jez Tries To Ruin His Own Interview | Peep Show' by Peep Show (00:03:04)
<mjg> a mild spoiler at best for one of the first episodes
<mrvn> Anyone remember Tom Scott going to Iceland to see an erupting vulcano and it stopped right before he arived? Guess what: He went again: https://www.youtube.com/watch?v=ULoZP4GIcbg
<bslsk05> ​'Tom takes a walk up a hill' by The Technical Difficulties (00:21:59)
<geist> sound lsike someone rewrote the volcano in RUSUSSSSSSTTTTt
<mrvn> now it's safe
<mjg> no overflows anymore amirite
<gog> mrvn: hahaha
<gog> he at least tried to go
<gog> the second one stopped before i could even make arrangements to get out there and spend a day hiking :(
<gog> ooh the lava show
<jjuran> "internal monologues are killing me" <— Yours, or someone else's?
FreeFull has quit []
MiningMarsh has joined #osdev
pounce has joined #osdev
\Test_User has joined #osdev
Matt|home has quit [Quit: Leaving]
gildasio has quit [Ping timeout: 255 seconds]
chartreuse has joined #osdev