From owner-freebsd-current@freebsd.org Sat Aug 5 19:55:30 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17696DC700B for ; Sat, 5 Aug 2017 19:55:30 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: from mail-ua0-x22b.google.com (mail-ua0-x22b.google.com [IPv6:2607:f8b0:400c:c08::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4593177C; Sat, 5 Aug 2017 19:55:29 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: by mail-ua0-x22b.google.com with SMTP id w45so18494538uac.5; Sat, 05 Aug 2017 12:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IUmoP2o6uKeqKMAs7HgRH4crtCPreKlhX0XwPLqa2+Y=; b=tJmhjW37UlJ1x57uMD7FkoYyC+p5zkT6C5tDVakrGQISqoCp3fGkBzsUyqTe4+RBN6 GJ/h5G2MSIeYa9FF2SnXmaU+G10u72BGrRE9PRtNnGgSMC/1mPYkj7fR1o0bm0dpXKhe Ot56dSMRIL9bMm6LOwha5zKM6axlvNHU/BG7vOR/53kwW3GlFpjo+qu+WjUgyxrokWl9 2oDO/hvN5P8FjJizsWmL0JSFChSHsoAwEFoAro2zWRIakJU6QyaCd6Q2PP0DnkOGT66E gSQjdPyAoqyitRH6ODjp4HCnk9uVxT8HO1QYfnzGlqhdGyleL2x0b5OHsZHmK3eFnN2p I9iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IUmoP2o6uKeqKMAs7HgRH4crtCPreKlhX0XwPLqa2+Y=; b=N2c1omMDjdslU4gb5aP8B02kIqSQXaVS6Lu3wRh/jhhfIm3qkALmChiFHhlotn5lIO ZHNRVkkUyyyhSUU8RqOcjmTn8QXKywbCdUaelqmKgF3tHBJpBGXYhZOW/Ciec9ApcYcr wJEgcGuTmH+zB8KM84TuXGPFHjdHXjSH3qTo1xZCFlUO/H4O+CltS0coZO+SANQ8PGS4 jrihRJz/mqN2BvdsT1/LTOBMDJ98AFmqCQHyAUGmK3O83UR6ZdiWOLA/Ts/miMdTLhwI Oo5EpJDLsDtLwd3wRGbdN9xv/WlUL75HSQTSVhk0TMTgak1yRZxVe45xRqEKqmTTbKb/ MOMg== X-Gm-Message-State: AHYfb5irbcv6d1R06K3T6GyGDUlA09hNqN5fIpsCXQo4Ga/E8X8UgD7U ZsHZ2/gKuh1SFgfPRLZaOLmnwZ6LyA== X-Received: by 10.176.16.202 with SMTP id x10mr4602521uab.186.1501962928577; Sat, 05 Aug 2017 12:55:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.55.198 with HTTP; Sat, 5 Aug 2017 12:55:28 -0700 (PDT) In-Reply-To: <9C14A21D-1C17-44F9-882B-4A01C311E164@FreeBSD.org> References: <9C14A21D-1C17-44F9-882B-4A01C311E164@FreeBSD.org> From: Aijaz Baig Date: Sun, 6 Aug 2017 01:25:28 +0530 Message-ID: Subject: Re: buildworld fails while building static clang library To: Dimitry Andric Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 05 Aug 2017 19:55:30 -0000 Hi Dmitry I was a bit sceptical of this as it was failing with that same port (or is clang a port by the way?) all the time. So as you suggested, I reduced my '-j' number and it still fails at the very same place with the very same error. Is it because the clang port doesn't allow parallel make jobs? Nonetheless, as to my query regarding building the world, based on what my goals are (as I stated earlier), does it require me to actually build the whole world? Regards, Aijaz Baig On Sat, Aug 5, 2017 at 2:34 PM, Dimitry Andric wrote: > On 5 Aug 2017, at 06:00, Aijaz Baig wrote: > > > > I am trying to buildworld and it works well for quite some time until it > > tries to build the static version of the clang library where it fails. > The > > error it spits is: > > > > Killed > > *** [all_subdir_lib/clang/libclang] Error code 137 > > > > make[5]: stopped in /usr/src/lib/clang > > I'm just guessing, but the most likely cause is lack of memory. Please > check dmesg for any messages like "pid foo (bar), uid baz, was killed: > out of swap space". To work around this, you can temporarily add more > swap space, or lower your -j level. > > -Dimitry > > -- Best Regards, Aijaz Baig