Modules appear to be unstripped. Debugging why that it is so:

$ file ./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko
./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko: ELF 64-bit LSB 
relocatable, UCB RISC-V, version 1 (SYSV), 
BuildID[sha1]=6c48292f27241752d4993a6854e9eee38ab3b503, not stripped

$ du ./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko
16968   ./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko

$ riscv64-linux-gnu-strip
./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko

$ file ./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko
./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko: ELF 64-bit LSB 
relocatable, UCB RISC-V, version 1 (SYSV), 
BuildID[sha1]=6c48292f27241752d4993a6854e9eee38ab3b503, stripped

$ du ./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko
1384    ./lib/modules/5.15.0-1004-generic/kernel/fs/btrfs/btrfs.ko


** Summary changed:

- Excessive size of kernel modules on RISC-V
+ Excessive size of kernel modules on RISC-V - modules unstripped

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1964335

Title:
  Excessive size of kernel modules on RISC-V - modules unstripped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1964335/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to