From owner-freebsd-current@FreeBSD.ORG Sat Apr 21 17:52:06 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 15F44106566C for ; Sat, 21 Apr 2012 17:52:06 +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 CCB508FC08 for ; Sat, 21 Apr 2012 17:52:05 +0000 (UTC) Received: from pd3ml2so-ssvc.prod.shaw.ca ([10.0.141.138]) by pd2mo1so-svcs.prod.shaw.ca with ESMTP; 21 Apr 2012 11:52:05 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=w8ylZ/s5/CpB4NtJ57cq/Y3wf+h+jIFeVVN4WVEh/uc= 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=zxA2vyXaAAAA:8 a=6I5d2MoRAAAA:8 a=BWvPGDcYAAAA:8 a=DlZa9VtyO3fBnfWCSA4A:9 a=1m3aibJYaPd7CFqEjLoA:7 a=CjuIK1q_8ugA:10 a=NaE95tUFxIUA:10 a=SV7veod9ZcQA:10 a=V7tsTZBp22UA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO spqr.komquats.com) ([96.50.7.119]) by pd3ml2so-dmz.prod.shaw.ca with ESMTP; 21 Apr 2012 11:52:05 -0600 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id E5F0680; Sat, 21 Apr 2012 10:52:04 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.5/8.14.5) with ESMTP id q3LHq4QJ014466; Sat, 21 Apr 2012 10:52:04 -0700 (PDT) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201204211752.q3LHq4QJ014466@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: Michael Butler In-Reply-To: Message from Michael Butler of "Sat, 21 Apr 2012 13:36:32 EDT." <4F92F020.1000204@protected-networks.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Apr 2012 10:52:04 -0700 Cc: 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:52:06 -0000 In message <4F92F020.1000204@protected-networks.net>, Michael Butler writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/21/12 13:21, Cy Schubert wrote: > > 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 obviou > s > >>>>>>> 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 thi > s > >> 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 tr > y > >> to add full coverage. > >> > >> I'm now using the attached. It seems to work... > > > > It didn't work for me. > > The problem is that /usr/bin/as is statically linked .. rebuild that and > you'll be fine, I did. I restored from backup made a month ago and rebuilt world again. That worked. I then rebuilt world again. That's when it failed. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org