Rusty Russell
ea4054a238
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>
2013-04-05 11:48:10 +10:30
..
2013-01-09 11:43:32 +01:00
2013-02-27 12:27:18 -08:00
2012-11-21 15:53:22 +00:00
2013-03-20 11:27:27 +10:30
2013-02-25 21:51:57 +01:00
2013-04-05 11:48:08 +10:30
2013-02-22 10:57:32 +01:00
2012-10-08 13:50:19 +10:30
2012-10-08 13:50:19 +10:30
2013-02-27 19:10:08 -08:00
2013-03-02 20:09:55 +00:00
2012-09-25 08:59:21 -07:00
2013-02-22 14:25:44 +01:00
2012-12-14 14:16:10 +01:00
2013-02-22 11:52:31 +01:00
2012-10-03 09:03:24 +02:00
2012-10-03 09:03:24 +02:00
2012-10-03 09:03:24 +02:00
2013-02-27 19:10:09 -08:00
2013-01-02 17:36:10 -08:00
2012-10-08 07:56:10 +09:00
2013-02-27 19:10:09 -08:00
2013-03-15 15:09:43 +10:30
2012-10-08 13:50:19 +10:30
2012-10-17 12:25:44 +01:00
2013-03-20 11:27:27 +10:30
2012-10-15 13:01:05 -07:00
2013-02-22 11:48:15 +01:00
2013-03-15 15:09:43 +10:30
2012-11-06 11:52:24 +10:30
2013-04-05 11:48:10 +10:30
2012-12-14 13:05:28 +10:30
2012-11-20 11:58:03 +01:00
2013-03-02 20:09:55 +00:00
2013-02-22 14:18:30 +01:00
2013-01-25 16:55:36 +10:30
2012-11-04 10:31:16 +00:00
2013-02-14 15:04:41 +01:00
2013-02-27 12:27:18 -08:00