IRC channel logs

2024-08-24.log

back to list of logs

<oriansj>lrvick: well with binutils and gcc; it shouldn't be hard
<matrix_bridge><Andrius Štikonas> lrvick: yes, there is a document to even build gentoo
<matrix_bridge><Andrius Štikonas> By mid-kid
<matrix_bridge><Andrius Štikonas> https://mid-kid.root.sx/git/mid-kid/bootstrap/src/branch/master/gentoo-2024.8
<lrvick>Nice. Was able to glean the bits I needed to make a native glibc package for stagex. Thanks!
<lrvick>was overcomplicating it
<lrvick>as is tradition
<oriansj>lrvick: yeah, we all learn from each other and the parts you might not feel are interesting today might end up being super useful later; And the things you think impossible might end up being far easier than anyone of us guess.
<ludocode>Has anyone worked on bootstrapping Go from source? Is there something like mrustc for Go?
<AwesomeAdam54321>ludocode: Go is already supported by GCC
<AwesomeAdam54321>so the bootstrap is just from GCC's Go to the main version
<nikolar>Or from go 1.14 I think (which was in c) to a newer version
<ludocode>Doesn't GCC use gofrontend which is written in Go?
<sam_>building gccgo does not require go
<ludocode>Ah, it appears you're right. This is confusing because there's a project called gofrontend written in Go, but GCC also calls its frontend gofrontend which is written in C++
<ludocode>I guess the projects are related somehow
<nimaje>I throught the go team decided that the go compiler will be written in go 1.4 forever starting with go 1.5, so build g0 1.4 and then build the current version (?) (or was it 1.14 and 1.15?)
<lanodan>Yeah Go 1.4 can also be used as a bootstrap path, it's documented on https://go.dev/doc/install/source
<matrix_bridge><cosinusoidally> incidentally https://github.com/golang/go/blob/release-branch.go1.4/src/cmd/cc/y.tab.c looks like a pregenerated file
<matrix_bridge><cosinusoidally> bison output that is
<oriansj> https://files.bootstrapping.world/ just had a deploy process update and will just be a mirror of: https://git.sr.ht/~oriansj/sources
<andydude>What is stringprep
<andydude>Whoever is in charge of that directory should probably rename "v2" and "v10" to have the package name first
<oriansj>andydude: those are the upstream packae names that live-bootstrap downloads
<oriansj>^packae^package^
<oriansj> https://docs.python.org/3/library/stringprep.html
<andydude>""v10.0.1.tar.gz" is not a package name