[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-31 Thread Launchpad Bug Tracker
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

[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-15 Thread Heinrich Schuchardt
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

[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-15 Thread Heinrich Schuchardt
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

[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-15 Thread Dimitri John Ledkov
** 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

[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-09 Thread Dimitri John Ledkov
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

[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-09 Thread Heinrich Schuchardt
** 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

[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-09 Thread Heinrich Schuchardt
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

[Bug 1964335] Re: Excessive size of kernel modules on RISC-V - modules unstripped

2022-03-09 Thread Dimitri John Ledkov
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