Thanks to visit codestin.com
Credit goes to github.com

Skip to content

'strip' binary included in linuxdeploy bundle fails when binaries contain section `.relr.dyn' [0x13] #311

@speachy

Description

@speachy
linuxdeploy version 1-alpha (git commit ID c28054b), GitHub actions build 307 built on 2025-04-01 01:43:45 UTC
[...]
ERROR: Strip call failed: /tmp/.mount_linuxdCNeGkO/usr/bin/strip: /home/pizza/devel/rockbox/build-rbutil/AppImage-RockboxUtility/usr/lib/libFLAC.so.12: unknown type [0x13] section `.relr.dyn'
/tmp/.mount_linuxdCNeGkO/usr/bin/strip: Unable to recognise the format of the input file `/home/pizza/devel/rockbox/build-rbutil/AppImage-RockboxUtility/usr/lib/libFLAC.so.12'
[...]

I am attempting to run this on Fedora 41; the binaries are built with gcc 14.2, binutils 2.43.1, and glibc 2.40, which is fairly recent but I note that support for section 0x13 was added in binutils 2.38, released more than three years ago (Feburary 2022).

...So if linuxdeploy used the system 'strip' binary instead of the bundled one, this error would have not occurred.

Is it possible to update the bundled strip binary (and other binutils bits) to 2.38 or newer?

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