Skip to content

Program headers not in the first page when trying to run on FreeBSD #27

@probonopd

Description

@probonopd

When trying to run binaries treated with polyfill-glibc on FreeBSD (using its built in Linux compatibility layer, the Linuxulator), I get Program headers not in the first page.

user@user-ghostbsd ~/D/polyfill-glibc % ./polyfill-glibc --target-glibc=2.30 ../dexed-0.9.8-lnx/Dexed
user@user-ghostbsd ~/D/polyfill-glibc %  ../dexed-0.9.8-lnx/Dexed
Program headers not in the first page
zsh: exec format error: ../dexed-0.9.8-lnx/Dexed

So the question is, can polyfill-glibc be modified so that it always writes program headers in the first page?

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions