Summary: | insmod needs /usr/lib/libz.so.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben Lutgens (RETIRED) <lamer> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | cretin, mjc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ben Lutgens (RETIRED)
2002-06-19 11:53:50 UTC
My booboo, as I added the "zlib" USE flag, and did not make modutils compile static. Fixed in modutils-2.4.16-r1, thanks. If you want to know why insmod segfaults with zlib as static read this: Compile insmod using gcc-2.95.3 with zlib and make it static. (gcc 3.1 doesn't have this bug) Then run "insmod -s anything", it segfaults. This is because the function "atexit" from glibc doesn't work with static binaries compiled with gcc 2.95.3. "atexit" is used by insmod if you pass it the -s switch. (see source) It works fine with static gcc 3.1 binaries and dynamic binaries with gcc-2.95.3. It does not segfault here, but just dont want to load the module on demand. called from command line, it works fine though. Weird, I know. |