diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-04 17:37:38 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-05 11:48:10 +1030 |
commit | ea4054a2384a115cd340151f4bb4628bfaee41a1 (patch) | |
tree | 9446e973e135a1ee51c446d593b4bc414027ed2c /scripts/bloat-o-meter | |
parent | 712f9b46843d941347e86dcd2e1d63f9d3b112cb (diff) | |
download | op-kernel-dev-ea4054a2384a115cd340151f4bb4628bfaee41a1.zip op-kernel-dev-ea4054a2384a115cd340151f4bb4628bfaee41a1.tar.gz |
modpost: handle huge numbers of modules.
strace shows:
72102 execve("/bin/sh", ["/bin/sh", "-c", "echo ' scripts/mod/modpost -m -a
-o /cc/wfg/sound-compiletest/Module.symvers -s'; scripts/
mod/modpost -m -a -o /cc/wfg/sound-compiletest/Module.symvers -s vmlinux
arch/x86/crypto/ablk_helper.o arch/x86/crypto/aes-i586.o arch
/x86/crypto/aesni-intel.o arch/x86/crypto/crc32-pclmul.o
...
drivers/ata/sata_promise.o "...], [/* 119 vars */] <unfinished ...>
71827 wait4(-1, <unfinished ...>
72102 <... execve resumed> ) = -1 E2BIG (Argument list too long)
So we re-run the shell command which produces the list and feed it into modpost -T -.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts/bloat-o-meter')
0 files changed, 0 insertions, 0 deletions