[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/24431] New: abidw can't interpret ksymtab with Kernel 4.19+
https://sourceware.org/bugzilla/show_bug.cgi?id=24431
Bug ID: 24431
Summary: abidw can't interpret ksymtab with Kernel 4.19+
Product: libabigail
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: default
Assignee: dodji at redhat dot com
Reporter: maennich at google dot com
CC: libabigail at sourceware dot org
Target Milestone: ---
Since upstream Linux Kernel commit 7290d5809571 ("module: use relative
references for __ksymtab entries") [1], abidw is not able to extract
information from the ksymtab anymore when modules are enabled.
Reproducer:
$ git checkout 7290d5809571~1
$ make allnoconfig && scripts/config --file .config -e MODULES -e DEBUG_KERNEL
-e DEBUG_INFO && make olddefconfig && make vmlinux && abidw vmlinux | head -n
10
<abi-corpus path='vmlinux' architecture='elf-intel-80386'>
<elf-function-symbols>
<elf-symbol name='___ratelimit' type='func-type' binding='global-binding'
visibility='default-visibility' is-defined='yes'/>
...
$ git checkout 7290d5809571
$ make allnoconfig && scripts/config --file .config -e MODULES -e DEBUG_KERNEL
-e DEBUG_INFO && make olddefconfig && make vmlinux && abidw vmlinux | head -n
10
<abi-corpus path='vmlinux' architecture='elf-intel-80386'>
<abi-instr version='1.0' address-size='32' path='arch/x86/kernel/head32.c'
comp-dir-path='/ws/contrib/linux' language='LANG_C89'>
<type-decl name='void' id='type-id-1'/>
...
As you can see the <elf-function-symbols> are absent from the representation.
[1]
https://github.com/torvalds/linux/commit/7290d58095712a89f845e1bca05334796dd49ed2
--
You are receiving this mail because:
You are on the CC list for the bug.