Skip to content

getauxv bloat in static exe #21522

@michaelortmann

Description

@michaelortmann

Zig Version

zig-0.14.0-dev.1646+b19d0fb0f

Steps to Reproduce and Observed Behavior

The following bugreport got lost in a comment of/after merged PR #16977

#16977 (comment)

This bug also contributes to #20711

Expected Behavior

If getauxval() code is not used and unreachable in the final exe, it should not end up there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavioros-linuxstandard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions