From owner-freebsd-current@FreeBSD.ORG Wed Oct 23 12:01:03 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B42C6C72 for ; Wed, 23 Oct 2013 12:01:03 +0000 (UTC) (envelope-from dt71@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 50F372943 for ; Wed, 23 Oct 2013 12:01:03 +0000 (UTC) Received: from [157.181.98.186] ([157.181.98.186]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MZTw5-1VIFBK3h2z-00LE4L for ; Wed, 23 Oct 2013 14:00:55 +0200 Message-ID: <5267BA18.4050207@gmx.com> Date: Wed, 23 Oct 2013 13:59:20 +0200 From: dt71@gmx.com User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Firefox/24.0 SeaMonkey/2.21 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: make buildworld References: <20131022194921.6adebf5d@zeus.saul.homeunix.org> <20131023005502.GB3421@dft-labs.eu> <526724D1.5060406@m5p.com> In-Reply-To: <526724D1.5060406@m5p.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Xmm8glwN5n1ry/KpMjE8HeXxtXvg8HKD9Js/NcWPIcgCDsvcopP sdvIy9VHZ8Z4oAUu3hc4nF/Pe7CLAFPZTNpV8CxEbTCcD6StIcTkEVcS0tGwhv4ORX5DyIn N2MpCQUhGJg7O2yOTH11SPypthm6UELSE4zKThQDQkdCiA46CZxNiRL2kMAous1gnti6ne8 DMrvtDD9mPYGj6o6o7R9A== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 12:01:03 -0000 George Mitchell wrote, On 10/23/2013 03:22: > On 10/22/13 20:55, Mateusz Guzik wrote: >> On Tue, Oct 22, 2013 at 07:49:21PM -0500, Saul A. Peebsen wrote: >>> error: 'MALLOC_PRODUCTION' macro redefined [-Werror] #define >>> MALLOC_PRODUCTION ^ :6:9: note: previous definition is >>> here #define MALLOC_PRODUCTION 1 ^ 1 error generated. *** Error code 1 >> >> Presumably you have MALLOC_PRODUCTION set in src.conf or make.conf, >> remove it. >> > > Ran into this myself. More specifically, you have MALLOC_PRODUCTION > set to something other than the null string. jemalloc_FreeBSD.h, > however, says "#define MALLOC_PRODUCTION". This is okay if you have > > MALLOC_PRODUCTION= > > in src.conf/make.conf, and this is okay if you don't have > MALLOC_PRODUCTION in those files, but if you have it set to foo, > or y, or even "no", you will get this compile error. -- George That shouldn't be the case, either the jemalloc-part of the build system (which apparently -- for no apparently good reason -- translates the said make variable directly to a C preprocessor #define) or the jemalloc header file should be fixed. Or?