Skip to content

Sysroots should contain shared object stubs #3

@calebzulawski

Description

@calebzulawski

Since the sysroots are strictly for linking, the shared objects should be stubbed.

A quick experiment using llvm-ifs showed some errors when trying to stub some libraries, notably glibc. Something like objcopy --strip-all --remove-section=.rodata --remove-section=.text --remove-section=.data appears to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions