Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g19BdrC19155 for linux-xfs-outgoing; Sat, 9 Feb 2002 03:39:53 -0800 Received: from mxzilla4.xs4all.nl (mxzilla4.xs4all.nl [194.109.6.48]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g19BdlA19132 for ; Sat, 9 Feb 2002 03:39:47 -0800 Received: from xs3.xs4all.nl (dirk@xs3.xs4all.nl [194.109.6.44]) by mxzilla4.xs4all.nl (8.12.0/8.12.0) with ESMTP id g19BdjIa056382 for ; Sat, 9 Feb 2002 12:39:45 +0100 (CET) Received: (from dirk@localhost) by xs3.xs4all.nl (8.9.0/8.9.0) id MAA29979 for linux-xfs@oss.sgi.com; Sat, 9 Feb 2002 12:39:45 +0100 (CET) Date: Sat, 9 Feb 2002 12:39:45 +0100 From: dirk To: xfs ml Subject: vmlinux.lds question Message-ID: <20020209123944.A26476@xs4all.nl> Mail-Followup-To: xfs ml Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Hi all, When trying to recompile my 2.4.14 kernel I had a linking error. I have succeeded in the past to compile this kernel and as of now it doesn't work anymore. I am using debian woody and I think that my current ld differs somewhat from the one that I used when I succeeded in the kernel compile. (last one 7 Dec, 2001) ld complains about some "undefined reference to `local symbols in discarded section .text.exit'" In vmlinux.lds there is a "section to be discarded" section, there ".text.exit" is mentioned. What I did was comment out the line with ".text.exit" and this works. But... to be honest I have no clue what I am doing. Can someone enlighten me? Also, can I trust this kernel? Actually I just wanted to make some additional modules and ran in this problem, so a better question is, can trust modules that I build this way? Of course I can just try it out but before that I want to understand a little what I have done. Maybe useful: ld is 2.11.92.0.12.3 ggc is 2.95.4 TIA, Dirk