pantry icon indicating copy to clipboard operation
pantry copied to clipboard

+gnu.org/glibc

Open jhheider opened this issue 2 years ago • 5 comments

  • [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.

jhheider avatar Jan 28 '23 02:01 jhheider

  • 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 grep with the -s flag so that it will exit nonzero if no match is found

what-the-diff[bot] avatar Jan 28 '23 02:01 what-the-diff[bot]

I probably need to move the binutils/gcc stuff out to peel out the bootstraps.

jhheider avatar Jan 28 '23 05:01 jhheider

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. 👀

jhheider avatar Mar 31 '23 18:03 jhheider

this pr has become epic in scope and effort

mxcl avatar Sep 13 '23 19:09 mxcl

no wonder, it basically solves one of the world's biggest problems (i.e allows to run anything on alpine)

felipecrs avatar Sep 13 '23 20:09 felipecrs