+gnu.org/glibc
- [x] debootstrap binutils/gcc
- [x] build glibc
- [x] use glibc without segfault
@mxcl // @jonchang I'd love some eyes on this. Currently, things using the new glibc like to segfault. I'm guessing I need to runtime.env.$some_env_vars to make it first on the list of libcs looked for.
- binutils:
- added 2.40 version, moved v2.39 to '2.39' (string)
- removed bootstrap block for linux platform in build script; now depends on gcc/binutils package instead of installing via apt-get directly
- changed test from objdump | grep $TEST_STRING to objdump | grep "$TEST_STRING" and also added a second line with the same command but using
grepwith the-sflag so that it will exit nonzero if no match is found
I probably need to move the binutils/gcc stuff out to peel out the bootstraps.
This passes testing, though I'm far from sure it's actually testing what I think it is. Next step is to make tea for linux selectively use it for tea-provided binaries iff the system's glibc is too old. 👀
this pr has become epic in scope and effort
no wonder, it basically solves one of the world's biggest problems (i.e allows to run anything on alpine)