From owner-freebsd-current@freebsd.org Sat Aug 5 04:00:47 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 042DFDB61CF for ; Sat, 5 Aug 2017 04:00:47 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::22f]) (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 B3F1B6365E for ; Sat, 5 Aug 2017 04:00:46 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id d29so14316231uai.2 for ; Fri, 04 Aug 2017 21:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FhXof9csphtgsOPTATs0PPPUaP3w5xD68JSJq4z/V7Y=; b=t+3oXLSZ8CsK1i3scJ8+gAi09ueiFaOGKReZFISputgeaQ5rdRvwfL9rjkxnPKNkdn qZPbDmiiBAW7sYuPPghN93dcVokJd2swES3nYhE+YkobUGqbNGl/enkN/M7GTJKhP7Ht DvlJdriG+Re+QVFCbOGfc/KD6R1v4AdXWzMwMKfhKfS3YfLC34VPC3EQ/GUL3ZM6lYtH ao5H5Vca9sheVER21V1NOFc0WTk8lIZBohIEbaacWQRY7eqsps56A+Bg/4ZtizUMjy1w PDejDEIrNYg0JDdImp5eh+/8JcX1fsMJ6GbsC+SFgZTg2PS4gRXDqXhXorSJItK8MX5j AFbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FhXof9csphtgsOPTATs0PPPUaP3w5xD68JSJq4z/V7Y=; b=Sq0ijey8Lb8N610AAX+WYAUWPVTLhag9g2q04mqMefuozccwBuddeg6RES8bY4uTQv hUH2duS3pR2b5Ycl+YsEVLJtnRxb1lbPrELioicTUgawFq3NsxffFB8ixkhWltw3Y4Yl QadZRrKlO+iUf+75i2GWg1BNZN2dSebiKUHuT7FnzFtnsXKd2oJDak0/rvVwq4g9VsEW mu1w48qs4pzaypuLP1u5WHx1dze2h09bJqULwfAIdC37cHRS1EVrIN5oLQZoiB6gGsN0 7Muane1F7NPtbHqZhWLerkMXP5W105iFavRYc9cgMzAQiPkfVX3ODAsCfW5QYWztFlib kfpA== X-Gm-Message-State: AHYfb5gB6+ioPGj9Q2WiErhQ+BT4TZWdaFbQxAaTKtdeWcaaIHty+ZUo 58rB4a/FK8cHqRVGkf7xOgwKOySddrwu X-Received: by 10.159.33.165 with SMTP id 34mr2832138uac.10.1501905645564; Fri, 04 Aug 2017 21:00:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.55.198 with HTTP; Fri, 4 Aug 2017 21:00:45 -0700 (PDT) From: Aijaz Baig Date: Sat, 5 Aug 2017 09:30:45 +0530 Message-ID: Subject: buildworld fails while building static clang library To: 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 04:00:47 -0000 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 1 error make[5]: stopped in /usr/src/lib/clang *** [all_subdir_lib/clang] Error code 2 make[4]: stopped in /usr/src/lib 1 error make[4]: stopped in /usr/src/lib *** [lib__L] Error code 2 make[3]: stopped in /usr/src 1 error make[3]: stopped in /usr/src *** [libraries] Error code 2 make[2]: stopped in /usr/src 1 error make[2]: stopped in /usr/src *** [_libraries] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src make: stopped in /usr/src The number of files that are passed to the archiver are too many to list here. Here's the pastebin link: https://pastebin.com/3ifFWVdA . Also my MAKEOBJDIRPREFIX is pointing to an NFS share. The reason I am doing so is that I want to create a complete sysroot so I can then use the resulting gdb from it to debug the kernel and the KLDs on this system. That NFS share lies on the machine which will be used to debug this one. Since (I've read that) GDB uses a mechanism similar to libraries when debugging loaded modules, I assume I need to first create the 'world' for this machine on the NFS mount and then use the gdb inside to load symbols files for the KLDs. If this is incorrect or if I am going for an overkill with 'buildworld' please sugggest an optimum way -- Best Regards, Aijaz Baig