From owner-freebsd-questions@FreeBSD.ORG Sun Oct 17 16:47:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F72610656C3 for ; Sun, 17 Oct 2010 16:47:11 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B915F8FC0A for ; Sun, 17 Oct 2010 16:47:10 +0000 (UTC) Received: by bwz16 with SMTP id 16so74102bwz.13 for ; Sun, 17 Oct 2010 09:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=gxvZl4DuldWeK3JJTk5unc/sPOGihXNJBVLVub5VYJM=; b=VUa5Xu91vmyTg4kHBjoTLpPOH9Cv6btKuoKXuu2zBa8ruYB+nCldFEoXY1ZceZE3Ss RxG3ySfJZVmgXIEeT/IbuwOHb4jkCCLI5MN9jt86uTUaN8PmgNZo5M8NkGntu6D7wdxx GAN0ZtlU+xA4AnPr54obTFWygPxvIZuccRIbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wm9K3uEqLc6ezCZJcMiG7G/7xrBAg+LXIuFkxqvggX41XCZcd5xPzLxZzEkMJl8g6T 6ytrLn+wJ6PLTox5AtKzbKdXJvCC4x02ZlR2Nc7F+1hr9/jqzr0gn3RYP6yjKXcMtbvs BtVOaHfiwd3CTb+SvS8YSCbjajMwxZgn2RWCQ= MIME-Version: 1.0 Received: by 10.204.34.133 with SMTP id l5mr3355505bkd.180.1287334029569; Sun, 17 Oct 2010 09:47:09 -0700 (PDT) Received: by 10.204.148.82 with HTTP; Sun, 17 Oct 2010 09:47:09 -0700 (PDT) In-Reply-To: References: Date: Sun, 17 Oct 2010 18:47:09 +0200 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Rob Farmer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: User Questions Subject: Re: libxul compilation problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2010 16:47:11 -0000 2010/10/16 Rob Farmer : > 2010/10/16 Fernando Apestegu=EDa : >> I didn't run X or whatsoever. That's why I think I should have enough me= mory. >> In fact after getting that error, I rebooted so I could update the >> ports from a "fresh" >> running system (nothing cached or so). But even in that case, I'm gettin= g the >> same error. >> >> Any VM tuning I can try? > > I'm not really knowledgeable about that kind of thing. > > However, the port is marked MAKE_JOBS_SAFE which means that it will > try to run multiple compiler instances in parallel, to speed things up > if you have multiple CPUs/cores. You can try running with "make > -DDISABLE_MAKE_JOBS" to just run one at a time - maybe you have enough > memory for that but not multiple jobs at once? Hi Rob, The machine has one single core cpu. Finally I was able to compile the thing, compiling the offending file by hand (nsHtml5ElementName.cpp) without the -O2 optimization flag. With this flag, cc1plus eats up all the memory of my system in a few seconds. Without the flag, the file is compiled without any problems and quite fast. Should this issue be a candidate for filing a PR? Cheers. > > -- > Rob Farmer >