From owner-freebsd-ports@FreeBSD.ORG Tue Aug 5 15:10:16 2014 Return-Path: Delivered-To: freebsd-ports@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 ESMTPS id 97C72C02; Tue, 5 Aug 2014 15:10:16 +0000 (UTC) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 51C382A2D; Tue, 5 Aug 2014 15:10:16 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id at20so1208101iec.39 for ; Tue, 05 Aug 2014 08:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=U9uTm0DZCOFykuqEoE8911tZOnesVrRCGpTcEF5O1yw=; b=byUVXyXRBMZiq2cSLptW4SE3ZugqB0byZs2XiYPvRvhVqeWBypF1cuodrt05stiAHq R007GdF52Yov1/VPucQgyvp/MgTbUdkWIlsH9cKaTTM+8N5OjtxEEY52O96X3tXBQ8nQ 52IMO4xMnxKr1ifaEjS+lFOdzI/NiZphWLfYOvF3/IP9JJPJ19jxIuPgfuf0u07bGAqf 2Nyqs6K6Wg6xtdNEpoaBzb0quktSsEklnmT0MfbxvQckfQD031KQKuEfxTdRgiNQ23kt YOi0LqNlJL3T+1+j9um7YStoHbMkP8tozhoUB50W6mzmN2PgbiAOYRJ9Ydk7vwByhQG1 YcOw== X-Received: by 10.42.84.141 with SMTP id m13mr6568360icl.38.1407251415626; Tue, 05 Aug 2014 08:10:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.54.33 with HTTP; Tue, 5 Aug 2014 08:09:55 -0700 (PDT) In-Reply-To: <86ppkblrkw.fsf@orwell.Elisa> References: <20140418081014.2ac2536e@munin.walstatt.dyndns.org> <641C6CAA-C472-4359-9293-E65F16E84DC6@FreeBSD.org> <20140419103237.41962eff.ohartman@zedat.fu-berlin.de> <20140419193019.0ee792e6.ohartman@zedat.fu-berlin.de> <20140420174725.199ec7af.ohartman@zedat.fu-berlin.de> <86ppkblrkw.fsf@orwell.Elisa> From: Luca Pizzamiglio Date: Tue, 5 Aug 2014 17:09:55 +0200 Message-ID: Subject: Re: [9.2-STABLE/CLANG 3.3|3.4] x11/kdelibs4 To: Raphael Kubo da Costa Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 15:10:16 -0000 Hi list, I've updated my system to FreeBSD 9.3, with clang 3.4. My make.conf set clang as default compiler. kdelibs4 seems having a problem, or better, clang 3.4 seems having a problem to compile one specific kdelibs4's file. clang++ compiles the file parser.cpp (khtml/css module) for ever and ever... Looking into it, it seems generated by bison 2.5.1, but the currently installed bison is 2.7.1. It's not the same problem with Kate, (Kate build process needs 5GB RAM, more or less), because I verified the RAM usage: SIZE is ~90-100MB, RSS 70-80MB, swap used 0KB. The current workaround is using gcc. Is it a known issue? Moreover, is it a clang problem? A kdelibs problem? A bison problem? Best regards, pizzamig On Sun, Apr 20, 2014 at 9:38 PM, Raphael Kubo da Costa wrote: > Dimitry Andric writes: > >>> The box in question is a Dell Latitude E6510 notebook with only 4 GB of RAM, could this >>> be the issue? The system very often starts swapping. Even my oldstyle E8400 workstation >>> with only 8 GB (most recent 11.0-CURRENT) starts swapping very often and recently, I saw >>> musterious compiler erros and stopping compiling processes never seen bevor. Restarting >>> the failed portbuild most often finish successfully. >> >> There were some postings recently, about newer versions of FreeBSD being >> supposedly more "swappy", see e.g.: >> >> http://lists.freebsd.org/pipermail/freebsd-stable/2014-April/thread.html#78361 >> >> I have no idea if this is really substantiated with evidence, or just a >> feeling, though. :) >> >> In any case, when you are experiencing mysterious compiler errors, and >> your system is heavily exercising RAM and swap, it is always a good idea >> to do a full hardware diagnostics test. >> >> For your RAM, you can use memtest86+, and since you have a Dell, you can >> use their diagnostics program to test other parts of the machine. > > For what it's worth, ports/187150 might be related to this as well (I've > never experienced those problems myself, but I'm on HEAD). > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"