Skip to content

Build warning about "LOAD segment with RWX permissions" #1322

Open
@nyh

Description

@nyh

When building OSv, I see the warning messages:

LINK loader.elf
ld.bfd: warning: build/release.x64/loader.elf has a LOAD segment with RWX permissions
LINK zfs_builder.elf
ld.bfd: warning: build/release.x64/zfs_builder.elf has a LOAD segment with RWX permissions

I don't know what it means, or if there's any harm in these "RWX permissions" and what it takes to fix them.

This warning message isn't new - I think it's around for at least a year, but I only got fed up with it now :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions