Skip to content

Deprecate and remove the auto-linking feature (initially in STRICT; this would let us remove llvm-nm) #8912

@kripken

Description

@kripken

Talking to @dschuff it sounds like we can avoid the current llvm-nm stage in our linking. Currently we scan the symbols that way to tell which system libraries to link in. Instead, if we used .a files for system libraries and had a default linker command that included all system libraries, then wasm-ld would do everything for us. It would be simpler, and more efficient too probably. And we could remove the .symbols files.

Emscripten has non-default system libraries too, but those should be added manually anyhow with a -s command etc., that is, we don't use llvm-nm for them.

@sbc100 what do you think?

This might need to wait for after we remove fastcomp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions