Skip to content

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

Open
@tmandry

Description

@tmandry

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.O-fuchsiaOperating system: FuchsiaT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions