This bug was fixed in the package linux-riscv - 5.15.0-1005.5
---
linux-riscv (5.15.0-1005.5) jammy; urgency=medium
* jammy/linux-riscv: 5.15.0-1005.5 -proposed tracker (LP: #1965783)
* Packaging resync (LP: #1786013)
- [Packaging] resync getabis
* dependency on crda obsol
Cf. "Why is .symtab so huge on riscv?" #1036 (https://github.com/riscv-
collab/riscv-gnu-toolchain/issues/1036)
--
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
Cf. [PATCH] UBUNTU: SAUCE: scripts/Makefile.modinst discard-locals from modules
(https://lists.ubuntu.com/archives/kernel-team/2022-March/128534.html)
** Bug watch added: github.com/riscv-collab/riscv-gnu-toolchain/issues #1036
https://github.com/riscv-collab/riscv-gnu-toolchain/issues/1036
** Changed in: linux-riscv (Ubuntu)
Status: Confirmed => In Progress
--
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 unstripp
we are investing things further.
it seems like debug symbol stripping is fine.
but the input .ko are huge, and much larger than on other arches, for currently
unknown reason.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bug
** Changed in: linux-riscv (Ubuntu)
Status: New => Confirmed
--
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 m
If I compile Linux v5.15.26 with RISC-V defconfig + CONFIG_SATA_MV=y,
I get a drivers/ata/sata_mv.ko with 103960 bytes.
With additionally CONFIG_MODULE_SIG=y after make modules_install: 104673
bytes.
So the problems seems not to exist in upstream.
--
You received this bug notification because y
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]=6c48292f27241752d4993a6854e9eee38ab3