-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
+gnu.org/glibc #147
base: main
Are you sure you want to change the base?
+gnu.org/glibc #147
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-nostdinc
& -nostdlib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that looks less promising. you sure we want both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it'll stop it using the system headers and libraries… which is surely what we want?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly -nodefaultlibs?
https://stackoverflow.com/questions/10119520/g-static-initialization-and-nostdlib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
@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
libc
s looked for.