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

-Zlink-native-libraries=no causes link to fail with missing __libc_start_main on fuchsia #84733

Open
tmandry opened this issue Apr 30, 2021 · 0 comments
Labels
A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. O-fuchsia Operating system: Fuchsia requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@tmandry
Copy link
Member

tmandry commented Apr 30, 2021

This test, which is built with -Zlink-native-libraries=no -Cdefault-linker-libraries=yes, fails on fuchsia with a linker error due to missing __libc_start_main.

The feature (#70093) it's trying to test should work on Fuchsia (and probably Windows? it isn't clear why that's disabled), so filing this issue to track that.

@tmandry tmandry added A-linkage Area: linking into static, shared libraries and binaries T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-bug Category: This is a bug. O-fuchsia Operating system: Fuchsia requires-nightly This issue requires a nightly compiler in some way. labels Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. O-fuchsia Operating system: Fuchsia requires-nightly This issue requires a nightly compiler in some way. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant