Skip to content
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

options/internal: -fstack-protector is not supported in libc.a #535

Open
64 opened this issue Jun 23, 2022 · 4 comments
Open

options/internal: -fstack-protector is not supported in libc.a #535

64 opened this issue Jun 23, 2022 · 4 comments

Comments

@64
Copy link
Member

64 commented Jun 23, 2022

This shouldn't be too hard to implement.

@64 64 added the enhancement label Jun 23, 2022
@Geertiebear
Copy link
Member

Stack protection is already implemented.

@64
Copy link
Member Author

64 commented Jun 23, 2022

Oh, my bad. Why do we need -fno-stack-protector then?

@64
Copy link
Member Author

64 commented Jun 23, 2022

Ah, I see. We disable it in ld.so but allow it in libc.so. But in the static case, we disable it in libc.a even though I don't think that is strictly necessary?

@Geertiebear
Copy link
Member

Hmm, I'm also not sure if that's necessary.

@64 64 changed the title options/internal: -fstack-protector is not supported options/internal: -fstack-protector is not supported in libc.a Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants