-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: invalid ancestor arch/arm64/kernel/vdso/vdso.so.dbg for arch/arm64/kernel/vdso/vgettimeofday.o. #1227
Comments
Hi @Conleyfree , Q1: Ancestor refers to the "parent" object that a given object file is build for. For example, kpatch-build detects a change in Q2: Well, according to the arm64 vdso Makefile, it builds its only C file without
|
Thanks for your answer, @joe-lawrence I used kpatch version 0.6.1 for creating livepatches. In my patch, I just add a "pr_info" statement in function "do_task_stat" at fs/proc/array.c. I'm not sure why it affects vdso files. And I tried to modify other files, and the same error was reported.
According your answer, when we create a livepatch for vmlinux, it seems that arm64 vdso is not supported livepatchable. |
I wouldn't think that a change to
We would need support for arm64 for that patch to be useful. There is some interest (see #1216), so you may want to check in on that issue if you have patches or ideas for supporting that architecture. |
Thanks for your answer, @joe-lawrence |
In kernel 5.10, I built a livepatch for vmlinux with kpatch, and give errors as following:
ERROR: invalid ancestor arch/arm64/kernel/vdso/vdso.so.dbg for arch/arm64/kernel/vdso/vgettimeofday.o.
Q1, What does this error mean?
I learn a way to resolve this probelm from this issue https://github.com/dynup/kpatch/issues/518
Then I ignored the "arch/arm64/kernel/vdso/*" in kpatch-gcc, and it works!
Q2, Can I really safly ignored thie path?
The text was updated successfully, but these errors were encountered: