Code Monkey home page Code Monkey logo

Comments (3)

jpoimboe avatar jpoimboe commented on September 28, 2024

The second clang failure occurs for .L.str[.X] symbols (added debugging):

create-diff-object: ERROR: af_netlink.o: find_local_syms: 191: couldn't find matching af_netlink.c local symbols in vmlinux symbol table
  locals_match failed for table_sym: .L.str
create-diff-object: ERROR: fork.o: find_local_syms: 191: couldn't find matching fork.c local symbols in vmlinux symbol table
  locals_match failed for table_sym: .L.str
create-diff-object: ERROR: aio.o: find_local_syms: 191: couldn't find matching aio.c local symbols in vmlinux symbol table
  locals_match failed for table_sym: .L.str
create-diff-object: ERROR: exit.o: find_local_syms: 191: couldn't find matching exit.c local symbols in vmlinux symbol table
  locals_match failed for table_sym: .L.str.33
create-diff-object: ERROR: sys.o: find_local_syms: 191: couldn't find matching sys.c local symbols in vmlinux symbol table
  locals_match failed for table_sym: .L.str.105
create-diff-object: ERROR: n_tty.o: find_local_syms: 191: couldn't find matching n_tty.c local symbols in vmlinux symbol table
  locals_match failed for table_sym: .L.str.6

These symbols appear in the vmlinux.symtab for their given FILE, but not in the individual original or patched object files:

$ grep 'fork\.c' vmlinux.symtab 
 14271: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS fork.c
 ...
 14464: ffffffff82804060    14 OBJECT  LOCAL  DEFAULT    3 .L.str
 14465: ffffffff82804058     0 NOTYPE  LOCAL  DEFAULT    3 .LCPI20_0

$ readelf --wide --symbols ~/repro-local_syms/fork.PATCHED.o | grep '.L.str'
$ readelf --wide --symbols ~/repro-local_syms/fork.ORIG.o | grep '.L.str'

Skipping these symbols in the table_sym check in locals_match() does appease the build.

from kpatch.

github-actions avatar github-actions commented on September 28, 2024

This issue has been open for 30 days with no activity and no assignee. It will be closed in 7 days unless a comment is added.

from kpatch.

github-actions avatar github-actions commented on September 28, 2024

This issue was closed because it was inactive for 7 days after being marked stale.

from kpatch.

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.