Coder Social home page Coder Social logo

Comments (2)

Chilledheart avatar Chilledheart commented on June 2, 2024

Errors showed by orbit in the same machine:

Could not load debug symbols for "/lib64/libc.so.6": Failed to find symbols for module "/lib64/libc.so.6" with build_id="":
- Unable to find local symbols for module "/lib64/libc.so.6": build id is empty.
- Not able to search for symbols on the instance.

Also: Could not load fallback symbols for "/lib64/libc.so.6": 
  * Could not find module file itself in cache: Unable to find object file in cache for module "/lib64/libc.so.6"
  * Could not find module file itself locally.
  * Could not search for module file itself on the instance.

Using readelf tool, it shows there is no build-id section:

➜  build-release git:(develop) readelf -n /lib64/libc.so.6

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000020       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 feature used: x86, x87, XMM, YMM, ZMM, MASK
        x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4

Displaying notes found in: .note.ABI-tag
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 3.2.0

from orbit.

Chilledheart avatar Chilledheart commented on June 2, 2024

It shows /usr/lib/debug is a hard coded path in lldb (debugger)'s source code lldb/source/Symbol/LocateSymbolFile.cpp

    // Add /usr/lib/debug directory.
    {
      FileSpec file_spec("/usr/lib/debug");
      FileSystem::Instance().Resolve(file_spec);
      debug_file_search_paths.AppendIfUnique(file_spec);
    }

from orbit.

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.