docs/175995: Setting MALLOC_PRODUCTION stops buildworld
Dewayne
dewayne at heuristicsystems.com.au
Sun Feb 10 00:30:01 UTC 2013
>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 at 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:
More information about the freebsd-doc
mailing list