From owner-freebsd-current@FreeBSD.ORG Fri Apr 20 21:11:17 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E6F0106566C; Fri, 20 Apr 2012 21:11:17 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 38EF18FC14; Fri, 20 Apr 2012 21:11:17 +0000 (UTC) Received: from julian-mac.elischer.org (c-67-180-24-15.hsd1.ca.comcast.net [67.180.24.15]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id q3KLB5xZ087427 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 20 Apr 2012 14:11:06 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4F91D0E4.7030004@freebsd.org> Date: Fri, 20 Apr 2012 14:11:00 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Dimitry Andric References: <20120420125718.GD1582@albert.catwhisker.org> <20120420165558.b51c8b66.misho@aitbg.com> <4F91BDE1.4080802@FreeBSD.org> <4F91C2BB.1000808@FreeBSD.org> <99ABB17E-C564-475E-92B0-7DF92EE4CFEC@freebsd.org> <4F91C8FE.4070807@FreeBSD.org> In-Reply-To: <4F91C8FE.4070807@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Michael Pounov , Jason Evans , current@freebsd.org Subject: Re: /usr/bin/as: out of memory allocating 4194304 bytes after a total of 524288000 bytes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 20 Apr 2012 21:11:17 -0000 On 4/20/12 1:37 PM, Dimitry Andric wrote: > On 2012-04-20 22:21, Jason Evans wrote: >> On Apr 20, 2012, at 1:14 PM, Jason Evans wrote: >>> On Apr 20, 2012, at 1:10 PM, Dimitry Andric wrote: >>>> On 2012-04-20 21:54, Jason Evans wrote: >>>>> On Apr 20, 2012, at 12:49 PM, Dimitry Andric wrote: >>>>>> I think the best solution would be for jemalloc to avoid using >>>>>> obvious >>>>>> names like "chunksize" for its globals, because it is basically a >>>>>> library that could be linked to any sort of program out there. >>>>>> >>>>>> For example, it could prefix all its internal-use only globals >>>>>> with >>>>>> "jemalloc_" or some other mangling scheme. Jason, any thoughts? >>>>> >>>>> jemalloc has optional namespace mangling support built in for >>>>> just this reason. I'll turn it on, hopefully today. >>>> >>>> Indeed, I had just found jemalloc/internal/private_namespace.h. >>>> :) It >>>> does seem to list only functions, not variables, is that right? We do that with our driver.. variables and functions.. the symbols are all mangled in the .o file. >>> >>> Ah right, functions only. Well then, I don't have any bright >>> ideas for solving this problem in the short run. >> >> I take it back. There's spotty mangling coverage for variables. >> I'll try to add full coverage. > > I'm now using the attached. It seems to work... > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"