Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 12:20:31 +0100
From:      devet@devet.org (Arjan de Vet)
To:        drosih@rpi.edu
Cc:        stable@freebsd.org
Subject:   Re: Has the size of stable /modules increased a lot lately?
Message-ID:  <20011119122031.A8371@adv.devet.org>
In-Reply-To: <p0510100ab81e2921e9dc@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <p0510100ab81e2921e9dc@[128.113.24.47]> you write:

>This is something odd I noticed when I did a buildworld.  It may be due
>to something I did, but I thought I'd mention it in case other people
>start noticing the same thing.  My system is working fine, so this is
>not a crisis for me.  Just an oddity that I thought I'd mention.

I noticed it too recently when my / partition got full during the
installworld phase :-(.

A few weeks ago a change was MFC'd that will also compile modules with
-g if you compile the kernel with -g. That's the reason why you are now
seeing much larger modules than before.

I use this patch until I can increase my / partitions (to at least
256MB):

Index: Makefile.i386
===================================================================
RCS file: /home/freebsd/CVS/src/sys/conf/Makefile.i386,v
retrieving revision 1.179.2.10
diff -u -r1.179.2.10 Makefile.i386
--- Makefile.i386	26 Oct 2001 10:44:15 -0000	1.179.2.10
+++ Makefile.i386	29 Oct 2001 21:16:44 -0000
@@ -241,9 +241,9 @@
 .if defined(MODULES_OVERRIDE)
 MKMODULESENV+=	MODULES_OVERRIDE="${MODULES_OVERRIDE}"
 .endif
-.if defined(DEBUG)
-MKMODULESENV+=	DEBUG="${DEBUG}" DEBUG_FLAGS="${DEBUG}"
-.endif
+#.if defined(DEBUG)
+#MKMODULESENV+=	DEBUG="${DEBUG}" DEBUG_FLAGS="${DEBUG}"
+#.endif
 
 modules:
 	@mkdir -p ${.OBJDIR}/modules

Arjan

-- 
Arjan de Vet, Eindhoven, The Netherlands               <devet@devet.org>
URL : http://www.iae.nl/users/devet/            <Arjan.deVet@adv.iae.nl>
Work: http://www.madison-gurkha.com/  (Security, Open Source, Education)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011119122031.A8371>