From owner-freebsd-current@FreeBSD.ORG Wed Oct 23 00:55:08 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 B66A7F82 for ; Wed, 23 Oct 2013 00:55:08 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5148F256D for ; Wed, 23 Oct 2013 00:55:08 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id hm4so6578578wib.8 for ; Tue, 22 Oct 2013 17:55:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=7UBzaV4PhEhaHaoYHfJcqIsOpF1nb0HiP2YtqHE+1P4=; b=hcb87qHFOOhod6vttLYNE9GKTx1kTsbxOmdJaem9VTeJtGZ54EfLPD+n9K6rEToefn +Hz5oxUvYzyhDO3Z9ETchakB6vlMWtqyc1lOju2eHf3AeAj7xiM/wf8Jd3MWYkGAYnfz AcHHv+eCh6VfsM2s34x6sZyC1czNJlH3b5kNpM1UECymlggwnR0+2n5oQXaNwZ1JA05Q oQCWS+dlLKRlr1iL3guXZ/dXq4L7cLACRXbS+gVFGwRnF8tHobP2Uthg9Hj80sO1D0nF ShMRKUdlVboTvkteicVhj8nTpUScy3fSPNkhBi+lqfDj0q6H5xSaUwUO0T2YmXGKH2MR IAXQ== X-Received: by 10.194.20.202 with SMTP id p10mr9933114wje.39.1382489706748; Tue, 22 Oct 2013 17:55:06 -0700 (PDT) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by mx.google.com with ESMTPSA id e1sm11507729wij.6.2013.10.22.17.55.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 22 Oct 2013 17:55:05 -0700 (PDT) Date: Wed, 23 Oct 2013 02:55:02 +0200 From: Mateusz Guzik To: "Saul A. Peebsen" Subject: Re: make buildworld Message-ID: <20131023005502.GB3421@dft-labs.eu> Mail-Followup-To: Mateusz Guzik , "Saul A. Peebsen" , FreeBSD Current References: <20131022194921.6adebf5d@zeus.saul.homeunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20131022194921.6adebf5d@zeus.saul.homeunix.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Current 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 00:55:08 -0000 On Tue, Oct 22, 2013 at 07:49:21PM -0500, Saul A. Peebsen wrote: > OK, here's a bit of history of this box. Never wanted to run CURRENT, > but had no choice, STABLE wouldn't boot. So I followed all the advice > how to disable all debugging features. Now I'm trying to build latest > 10 and I'm getting the error below. > > What's wrong? > > > cc -O2 -pipe -march=core2 -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS > -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa > -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 > -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE > -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/jemalloc/include > -DMALLOC_PRODUCTION -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -std=gnu99 -Qunused-arguments -fstack-protector > -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum > -Wno-knr-promoted-parameter -c jemalloc_jemalloc.c -o > jemalloc_jemalloc.o In file included from jemalloc_jemalloc.c:2: In > file included > from /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h:64: > In file included > from /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/../jemalloc.h:18: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/../jemalloc_FreeBSD.h:7:9: > 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. -- Mateusz Guzik