IRC channel logs
2023-07-27.log
back to list of logs
<oriansj>lanodan: yeah cproc is starting to look very promising <oriansj>muurkha: no worries, we all need reminders some days <oriansj>with a bit more love, it'll probably become a very strong bootstrapping competitor to tcc <oriansj>but yeah, any "simple" C or scheme or (insert language bootstrappable from assembly here) compiler able to build GCC definitely are interesting <luke-jr>has anyone recently built Guix from source-only? getting stuck on Mes not building :/ <luke-jr>unhandled exception: unbound-variable: (export) <luke-jr>during CC ../lib/linux/x86_64-mes-mescc/crt1.c <stikonas>if you build mes manually, then you need quite a few env variables <luke-jr>well, what's the best approach to this? <stikonas>have you exported path to nyacc modules? <luke-jr>no, though nyacc is installed too :x <luke-jr>I'm not dead-set on the mes path, just thought that was "the way" to do this <luke-jr>couldn't find a walkthrough outlining the process <stikonas>well, live-bootstrap is basically a script to build gcc/guile/other things starting from nothing <luke-jr>but I have those things already, my goal is to get to Guix ;) <oriansj>luke-jr: live-bootstrap is the one you probably want (guix includes things like a guile blob as a driver and some pregenerated files) <stikonas>ACTION is running live-bootstrap on riscv64 HW for the first time <oriansj>well how many bogomips does the cpu cores have? <oriansj>(a core2duo @2.4Ghz from 2008 is 4800.16 on a librebooted x200 for reference) <stikonas>I think on newer ISAs Linux does not calculate bogomips <stikonas>I couldn't find any storage media to boot from... <vagrantc>anyways, seems like some appluase is in order, yay! <stikonas>oriansj: I don't have a booted system yet... <stikonas>for my first test I compiled linux kernel and netbooted kernel and initramfs with partial live-bootstrap image (no distfiles after tcc) <stikonas>maybe it could be a bit faster once I get heatsink... <oriansj>is it an in-order cpu core? running at 100Mhz? <luke-jr>oriansj: but live-bootstrap doesn't end with a guix system, does it? <oriansj>luke-jr: it could be as we bootstrap guile <oriansj>stikonas: looks like it is supposed to have up to 3840 DMIPS which puts it behind a PowerPC G4 <oriansj>and in comparison core2duo is 27,079 DMIPS <stikonas>yeah, so I guess emulated core on amd64 is comparable to real riscv64 core <stikonas>full system qemu would have been much slower <oriansj>well assuming a 2-4x performance drop for virtualization <stikonas>my riscv64 user emulated bootstrap runs for maybe 6h <stikonas>but natively it can finish in 20 minutes <luke-jr>oriansj: I have a fully installed and working system that I've already bootstrapped; the trouble is getting a Guix environment that can match hashes with normal Guix systems <oriansj>luke-jr: ah, sorry for misunderstanding your problem <stikonas>it's definitely more power efficient to run on real HW though.... <oriansj>yeah, 130 mW should definitely be much less than an x86 system (unless one has a Via C7M system)