Conversation
|
|
I probably need to move the binutils/gcc stuff out to peel out the bootstraps. |
1dce9da to
2f3d528
Compare
4bf6560 to
e3f1734
Compare
2c3a4d0 to
3df19ad
Compare
|
This passes testing, though I'm far from sure it's actually testing what I think it is. Next step is to make |
projects/gnu.org/glibc/package.yml
Outdated
| exit 1 | ||
| ;; | ||
| esac | ||
| gcc \ |
There was a problem hiding this comment.
that looks less promising. you sure we want both?
There was a problem hiding this comment.
it'll stop it using the system headers and libraries… which is surely what we want?
There was a problem hiding this comment.
Possibly -nodefaultlibs?
https://stackoverflow.com/questions/10119520/g-static-initialization-and-nostdlib
There was a problem hiding this comment.
Oh ok I see. gcc considers glibc’s headers and libraries the system libraries…?
The goal is for gcc to only use glibc and tea libs, nothing from /usr/lib or /lib or /include or /usr/include etc.
There was a problem hiding this comment.
which means, I think, providing the init loader from libgcc. we'll see.
79632c8 to
9c54b81
Compare
|
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) |
a4e24ba to
c1201a6
Compare
Adds the glibc package definition. This commit introduces the package configuration for glibc, including build instructions, dependencies, and test suite. It aims to provide a functional and well-tested build environment for the GNU C Library.
@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.