[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile problem on Alpha


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/

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: