kern/51120: MSGBUF_SIZE doesn't work in makefiles

Vladimir V. Kalashnikov root at ksue.edu.ua
Thu Apr 17 23:00:26 PDT 2003


>Number:         51120
>Category:       kern
>Synopsis:       MSGBUF_SIZE doesn't work in makefiles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 17 23:00:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir V. Kalashnikov <root at ksue.edu.ua>
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
Kharkov State University of Economics
>Environment:
System: FreeBSD mirinda.local 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Fri Apr 4 11:09:29 EEST 2003 root at mirinda.local:/usr/src/sys/compile/MIRINDA i386


	
>Description:
when option MSGBUF_SIZE is specified in configuration
file it doesn't affect making process of new kernel, so configuration
files should be inspected and rearrangement of include files should be
done to specify option MSGBUF_SIZE before the first access to it inside
sources will occure
	
>How-To-Repeat:
in msgbuf.h  (size: 2477 bytes) replace
#define MSGBUF_SIZE     32768
   with
#error "MSGBUF_SIZE isn't specified"

and do compilation of new kernel,
i.e. config xyz; make depend; make

even if "options MSGBUF_SIZE=91920" is placed somewhere in config
file the #error "MSGBUF_SIZE isn't specified" will be hit.

	
>Fix:
sorry, dunno exact recipe :-(
	
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list