From owner-freebsd-stable@FreeBSD.ORG Tue Apr 2 11:28:16 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4DE8A712 for ; Tue, 2 Apr 2013 11:28:16 +0000 (UTC) (envelope-from dmitryluhtionov@gmail.com) Received: from mail-ia0-x22a.google.com (mail-ia0-x22a.google.com [IPv6:2607:f8b0:4001:c02::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 27D8DB58 for ; Tue, 2 Apr 2013 11:28:16 +0000 (UTC) Received: by mail-ia0-f170.google.com with SMTP id h8so227420iaa.29 for ; Tue, 02 Apr 2013 04:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=tgILAM/Q7+NPnv+f5gHgd/p3EGKmOVPGrobt4D6sE/E=; b=GcODZSe9ikS29atzB3cZiybIvTwqVr03CZCxLQgajQpKwjJ9r4nFr9iOmcGacmI289 Pazgvj9Oyy0DnhAs5Q4687MRTtb4P0X72XJ89qK3k62Kxd8lTxlAYPhEdXK0aMF0h1NG LW5fcOp2l1DqXH55QQMAowBeCgEUl/4JpUF/ljUwR6Thhl9CdnA0T2Ib8SkCi4YOkZSm 296kBDfLEe73bbprKHyOK+//YzdPwX9XLVGFlQLmvZsfsQDy99ig58+oE5EZR/OZWshU ifxhQxWZcS26/6+RXGEwZpZw2Gwc6T2kvHho2btmKmsrp2lhDLQ6nt89E/H4PiAENS9Q nOmw== MIME-Version: 1.0 X-Received: by 10.50.17.234 with SMTP id r10mr4739691igd.102.1364902095412; Tue, 02 Apr 2013 04:28:15 -0700 (PDT) Received: by 10.43.138.10 with HTTP; Tue, 2 Apr 2013 04:28:15 -0700 (PDT) Date: Tue, 2 Apr 2013 14:28:15 +0300 Message-ID: Subject: 9-STABLE buildworld compile error From: Dmitry Luhtionov To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 11:28:16 -0000 When I put MALLOC_PRODUCTION=yes in /etc/make/conf, make buildworld hangs with error /usr/src/lib/libc/stdlib/ malloc.c:126:1: error: "MALLOC_PRODUCTION" redefined : 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 +0300 @@ -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 -.if defined(MALLOC_PRODUCTION) -CFLAGS+= -DMALLOC_PRODUCTION -.endif -