From nobody@FreeBSD.org  Sun Feb 10 00:21:05 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 096A5176
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2013 00:21:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id E462AF6E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2013 00:21:04 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1A0L4u2089899
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2013 00:21:04 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1A0L4M8089898;
	Sun, 10 Feb 2013 00:21:04 GMT
	(envelope-from nobody)
Message-Id: <201302100021.r1A0L4M8089898@red.freebsd.org>
Date: Sun, 10 Feb 2013 00:21:04 GMT
From: Dewayne <dewayne@heuristicsystems.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Setting MALLOC_PRODUCTION stops buildworld
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175995
>Category:       docs
>Synopsis:       Setting MALLOC_PRODUCTION stops buildworld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 10 00:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dewayne
>Release:        9.1Stable
>Organization:
>Environment:
FreeBSD hs3.hs 9.1-STABLE FreeBSD 9.1-STABLE #0: Thu Feb  7 21:38:50 EST 2013     root@hs3.hs:/usr/obj/prod/901/D/CORE2/usr/src/sys/hqdev-amd64-padlock-smp-vga  amd64

>Description:
Would it be possible to modify the man page for make.conf 

The option for MALLOC_PRODUCTION= was disabled in 2011 (revision 226405).  And if set from make.conf, the 9.1 Stable build, will stop.

cc -fpic -DPIC  -O2 -pipe -pipe -O2 -g0 -march=prescott -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS  -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/..
/usr/src/lib/libc/stdlib/malloc.c:126:1: error: "MALLOC_PRODUCTION" redefined
<command-line>: error: this is the location of the previous definition
*** [malloc.o] Error code 1
*** [malloc.So] Error code 1
2 errors
*** [lib/libc__L] Error code 2
1 error
*** [libraries] Error code 2
1 error
*** [_libraries] Error code 2
1 error
*** [buildworld] Error code 2
1 error
>How-To-Repeat:
MALLOC_PRODUCTION=yes && make buildworld (would be a fair guess)
>Fix:
Remove MALLOC_PRODUCTION from man make.conf or better, advise that it is not applicable from Nov-2011.

>Release-Note:
>Audit-Trail:
>Unformatted:
