Giter VIP home page Giter VIP logo

Comments (6)

laanwj avatar laanwj commented on June 11, 2024 1

This was already solved upstream!

Diff: https://sourceware.org/git/?p=binutils-gdb.git;a=blobdiff;f=binutils/objdump.c;h=3d70df470f290f7e4dc46cf80bc075f3015e6c14;hp=5acaa54929dbd4bbe37d7a2195ca698bfca603d0;hb=635d05b88f4823f46ef1ddbb3d438db16c0f6e71;hpb=5ce0e02478cc79a260c7e29822450284a32b9b12

i expect this will land in binutils 2.43. No need to keep this issue open.

from bitcoin.

laanwj avatar laanwj commented on June 11, 2024

Okay, may be a objdump bug actually?

readelf -wi (which should be equivalent to objdump -Wi) parses the same section fine. So does gdb it seems?

(FWIW i did try various versions of objdump before reporting this)

from bitcoin.

laanwj avatar laanwj commented on June 11, 2024

Closing for now.

edit: It's this objdump bug in dealing with compressed debug info sections: https://sourceware.org/bugzilla/show_bug.cgi?id=24319
which was supposedly fixed but... sigh

from bitcoin.

laanwj avatar laanwj commented on June 11, 2024

Reopening with more accurate title (phew).

Filed upstream issue: https://sourceware.org/bugzilla/show_bug.cgi?id=31692

from bitcoin.

fanquake avatar fanquake commented on June 11, 2024

Interestingly, the Windows build is unaffected. Maybe because of a different gcc/binutils?

This is probably because the Windows Binutils is configured without support for compressed debug sections, as it was, iirc, causing other windows build issues.

from bitcoin.

laanwj avatar laanwj commented on June 11, 2024

This is probably because the Windows Binutils is configured without support for compressed debug sections, as it was, iirc, causing other windows build issues.

Right, that makes sense. DWARF in PE binaires is a quite peculiar concept in the first place--heck, GNU even has its own way to encode the long section names needed: lief-project/LIEF#1043. i'm not surprised it's not set up to handle compressed sections.

from bitcoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.