From owner-freebsd-current@FreeBSD.ORG Sat Apr 21 17:21:44 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47F6E1065672; Sat, 21 Apr 2012 17:21:44 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id F27E48FC0A; Sat, 21 Apr 2012 17:21:43 +0000 (UTC) Received: from pd4ml1so-ssvc.prod.shaw.ca ([10.0.141.141]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 21 Apr 2012 11:21:37 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=zu4PKjlF+9DoPrG/TPTQ4CC8dREy1gI1uGhqrRhVwqE= c=1 sm=1 a=2J3hSh7yEiUA:10 a=QrugwKR0C_UA:10 a=wAGQQ9Az6v0A:10 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10 a=kj9zAlcOel0A:10 a=IbtKDeXwb2+SRU442/pi3A==:17 a=6I5d2MoRAAAA:8 a=BWvPGDcYAAAA:8 a=mUnMXC0EB8wEwjUtL-MA:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=V7tsTZBp22UA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO spqr.komquats.com) ([96.50.7.119]) by pd4ml1so-dmz.prod.shaw.ca with ESMTP; 21 Apr 2012 11:21:37 -0600 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id E309780; Sat, 21 Apr 2012 10:21:36 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.5/8.14.5) with ESMTP id q3LHLZTa007501; Sat, 21 Apr 2012 10:21:35 -0700 (PDT) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201204211721.q3LHLZTa007501@slippy.cwsent.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: Dimitry Andric In-Reply-To: Message from Dimitry Andric of "Fri, 20 Apr 2012 22:37:18 +0200." <4F91C8FE.4070807@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Apr 2012 10:21:35 -0700 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 Reply-To: Cy Schubert List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2012 17:21:44 -0000 In message <4F91C8FE.4070807@FreeBSD.org>, Dimitry Andric writes: > This is a multi-part message in MIME format. > --------------030506060901050002030508 > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > Content-Transfer-Encoding: 7bit > > 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? > >> > >> Ah right, functions only. Well then, I don't have any bright ideas for so > lving 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... It didn't work for me. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org