On Sat, Aug 19, 2000 at 05:30:09AM -0700, Keith Owens wrote:
> depmod in modutils has a hard coded limit of 10000 symbols. This was
> not a problem when reading symbols from /proc/ksyms, it is a potential
> problem when reading from System.map after installing modules. Some
> archs have extra symbols in System.map which blows depmod. The
> modules_install code was changed in 2.4.0-test6.
>
Actually the reason is `weak' symbols in the System.map on alpha,
which looks like this:
w alcor_mv
w alphabook1_mv
....
w xl_mv
w xlt_mv
fffffc0000800000 A swapper_pg_dir
....
depmod seems to break on symbols without addresses.
I posted Makefile patch removing these symbols from System.map,
but vger was down at that time.
Ivan.
--- 2.4.0t7p4/Makefile Wed Aug 16 20:12:09 2000
+++ linux/Makefile Wed Aug 16 20:14:49 2000
@@ -206,7 +206,7 @@
$(LIBS) \
--end-group \
-o vmlinux
- $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
+ $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [awU] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
symlinks:
rm -f include/asm
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
References:
- Re: Compile problem on AlphaKeith Owens <kaos _at_ ocs.com.au>
- Prev by Date: Re: Timezones
- Next by Date: Re: Out of memory?
- Prev by thread: Re: Compile problem on Alpha
- Next by thread: Re: CLONE_PTRACE
- Indexes:[Main][Thread]