Hi all!
[please Cc]
When building an external modules (pwc) I always get segfaults of
modpost:
/bin/sh: line 1: 6586 Segmentation fault (core dumped) scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers -o /src/kernel/pwc/pwc-10.0.12-rc1/Modules.symvers vmlinux /src/kernel/pwc/pwc-10.0.12-rc1/pwc.o
make[2]: *** [__modpost] Error 139
the gdb modpost core backtrace gives:
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Failed to read a valid object file image from memory.
Core was generated by `scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /src/ker'.
Program terminated with signal 11, Segmentation fault.
#0 0xb7e471db in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7e471db in strlen () from /lib/tls/libc.so.6
#1 0xb7e19b00 in vfprintf () from /lib/tls/libc.so.6
#2 0xb7e38671 in vsnprintf () from /lib/tls/libc.so.6
#3 0x08049229 in buf_printf ()
#4 0x000001f4 in ?? ()
#5 0x0804e6ad in _IO_stdin_used ()
#6 0xbf815e88 in ?? ()
#7 0xb7de9b6e in ?? () from /lib/tls/libc.so.6
#8 0x00000027 in ?? ()
#9 0x00000000 in ?? ()
(gdb)
Do I do something wrong?
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GREAT WAKERING (participial vb.)
Panic which sets in when you badly need to go to the lavatory and
cannot make up your mind about what book or magazine to take with you.
--- Douglas Adams, The Meaning of Liff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]