View Issue Details

IDProjectCategoryView StatusLast Update
0008514libextractorpluginspublic2026-05-25 10:48
Reporterpinotree Assigned ToChristian Grothoff Due Date
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.12 
Target Version1.14Fixed in Version1.14 
Summary0008514: ELF plugin fails on big endian architectures
DescriptionThe revived ELF plugin (0002516) does not seem to work properly on big endian architectures (such as s390x, ppc64, hppa, etc); this can be seen by its test (i.e. "test_elf") that fails:

FAIL: test_elf
==============

Did not get expected meta data of type 1 and format 1 with value `application/x-executable' from plugin `elf'
Did not get expected meta data of type 83 and format 1 with value `i386' from plugin `elf'
Did not get expected meta data of type 92 and format 1 with value `Executable file' from plugin `elf'
Did not get expected meta data of type 94 and format 1 with value `libc.so.6' from plugin `elf'
FAIL test_elf (exit status: 1)
Steps To ReproduceBuild libextractor 1.12 on a big endian architecture, and also run the test suite.
TagsNo tags attached.

Activities

Christian Grothoff

2024-08-02 20:31

manager   ~0022901

Fix committed to master branch.

Christian Grothoff

2024-08-02 20:31

manager   ~0022902

4de5650..4bf5f20 should fix this, but I don't have a BE machine to test on right now. Can you please confirm the fix?

pinotree

2024-08-03 18:21

reporter   ~0022906

I built upstream git at revision 4bf5f20ad0eb8788fe65d4d2f95028f0c2e5be69, and test_elf still fails with the same output as reported previousy.

pinotree

2024-08-03 18:21

reporter   ~0022907

Forgot to mention: the build mentioned in my previous comment was done on an s390x Debian/unstable system.

Christian Grothoff

2026-05-19 11:39

manager   ~0028653

8bd634b..96894ba tries to fix it again :-)

Issue History

Date ModifiedUsernameFieldChange
2024-02-25 11:30pinotreeNew Issue
2024-07-30 22:59Christian GrothoffAssigned To => Christian Grothoff
2024-07-30 22:59Christian GrothoffStatusnew => assigned
2024-08-02 20:31Christian Grothoff
2024-08-02 20:31Christian GrothoffNote Added: 0022901
2024-08-02 20:31Christian GrothoffStatusassigned => resolved
2024-08-02 20:31Christian GrothoffResolutionopen => fixed
2024-08-02 20:31Christian GrothoffNote Added: 0022902
2024-08-02 20:31Christian GrothoffStatusresolved => feedback
2024-08-02 20:31Christian GrothoffResolutionfixed => reopened
2024-08-02 20:31Christian GrothoffTarget Version => 1.14
2024-08-03 18:21pinotreeNote Added: 0022906
2024-08-03 18:21pinotreeStatusfeedback => assigned
2024-08-03 18:21pinotreeNote Added: 0022907
2026-05-19 11:39Christian GrothoffNote Added: 0028653
2026-05-22 22:01Christian GrothoffStatusassigned => resolved
2026-05-22 22:01Christian GrothoffResolutionreopened => fixed
2026-05-22 22:01Christian GrothoffFixed in Version => 1.14
2026-05-25 10:48Christian GrothoffStatusresolved => closed