From owner-freebsd-toolchain@FreeBSD.ORG Tue Mar 31 01:53:41 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 079625D8 for ; Tue, 31 Mar 2015 01:53:41 +0000 (UTC) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) (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 C91FEBD4 for ; Tue, 31 Mar 2015 01:53:40 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so5494809ied.1 for ; Mon, 30 Mar 2015 18:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=IKjmz5R62guuMwc90v1EZtWfsmCvgcTwWboCohwGV3g=; b=tUKL96SFKz0sfQ8OjUnb0g4QYLPRXRA7j8HoAR+pyJn9Ib5VHCyM9Ar/OZCFxuo8U8 9kwFY/zcierJOXARVDHqM+2EvDCKnbjtzKmHqnfd2xpPwZ++RE59A5TqlYCZSY3gEC8d 7dmRUYlkumUXymoXLLwXCzAPrDDySRniA1eMrjWweLemrfEpHSTeBKjtA78/svjPVZNI ePiC5wLrjmAGIgQB5+RQVna8o43AS/Oqc7p9xlC84Psj4U6QtJjDPgoxqrbObG5hAd6s tzY28h4/fLsTfxkqzmS3mNe5V5ploSUfYQxXtFmydUj95et729BwTvOqUs8xF675DWcT 7VNQ== X-Received: by 10.107.15.155 with SMTP id 27mr53109059iop.49.1427766819941; Mon, 30 Mar 2015 18:53:39 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.158.19 with HTTP; Mon, 30 Mar 2015 18:53:19 -0700 (PDT) In-Reply-To: <9A38D7D9218ED246802DA890D11AF6120EF108@wtl-exchp-1.sandvine.com> References: <9A38D7D9218ED246802DA890D11AF6120EF108@wtl-exchp-1.sandvine.com> From: Ed Maste Date: Mon, 30 Mar 2015 21:53:19 -0400 X-Google-Sender-Auth: G7BLmxYt4T66wN0QSlGYu06ulgs Message-ID: Subject: Re: Compiling LLDB To: Kenan Ali Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-toolchain@freebsd.org" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2015 01:53:41 -0000 On 30 March 2015 at 19:18, Kenan Ali wrote: > Hi, > > I would like to see if I could get involved with contributing to the kern= el core support for LLDB under FreeBSD. I'm running a FreeBSD-head build (o= n a VM) from a week or two ago, and I'm following the instructions from her= e: https://wiki.freebsd.org/lldb > > Once I get to the 'ninja lldb' step, it seems that I always end up with t= he following error: > > CC: error: unable to execute command: Killed > CC: error: linker command failed due to signal (use -v to see invocation) > Ninja: build stopped: subcommand failed. > > I've tried passing the '-v' flag to ninja, which lists a large invocation= before spewing out the errors above. However, I cannot seem to figure out = how to get the '-v' command passed to LLVM's linker. Neither ninja's help o= utput or some basic Googling seem to be helping me diagnose this issue, so = I was wondering if anyone here could help? I'd suggest checking /var/log/messages for further information. Is this i386 or amd64, how much memory does your build host have, and are you compiling with debug information or no? If had to guess, you're running out of memory (or running into ulimit) during linking, and the process is being killed as a result.