9-STABLE buildworld compile error

Dmitry Luhtionov dmitryluhtionov at gmail.com
Tue Apr 2 11:28:16 UTC 2013

When I put MALLOC_PRODUCTION=yes in /etc/make/conf, make buildworld hangs
with error
malloc.c:126:1: error: "MALLOC_PRODUCTION" redefined
<command-line>: error: this is the location of the previous definition

This is a patch, which avoid this error

--- /usr/src/lib/libc/stdlib/Makefile.inc.orig    2012-12-04
11:53:28.000000000 +0200
+++ /usr/src/lib/libc/stdlib/Makefile.inc    2013-04-02 14:14:35.000000000
@@ -51,7 +51,3 @@
     malloc.3 realloc.3 malloc.3 reallocf.3 malloc.3 malloc_usable_size.3
 MLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3


More information about the freebsd-stable mailing list