From owner-freebsd-arch@FreeBSD.ORG Thu Sep 6 10:41:41 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB09B1065670 for ; Thu, 6 Sep 2012 10:41:41 +0000 (UTC) (envelope-from jonathan.robert.anderson@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id B10238FC16 for ; Thu, 6 Sep 2012 10:41:41 +0000 (UTC) Received: by iebc12 with SMTP id c12so3511237ieb.13 for ; Thu, 06 Sep 2012 03:41:41 -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:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7AUkjV69lUTG91hAS1J/WFHTC0MDiVba9VXF4TtTdAk=; b=rcauLI9atUSp0117ogp+KE3LirPmh4zeXCTPMRHkAeFWxMeD/fig7b0aeph5+g+M8y FMVk1i5g7DuX9Y3i+4/hC3empGe91dq5QAFSWUY20H3p0JnW1C5D3LPkiuxmPp73O/hu NsocP2PvZG65uxMk5CXByHNO3pmfwU+sHPfl4VLWVTjF5co+g/Jotqd+7fH4/xBlVsqT v2F0bJlPyzVPrnLMefrucD8VmZmQW8oLEf+kgOeBYHFjjyNaPjJiMcdeaAtFdGBs8NLz qsMu1hwywl+LIbH6xDIONtxYf5XxJdIuQLFpx6iDr8ELSbDtLVMEEQOAb2VUpnY4ZTw3 Gs+A== MIME-Version: 1.0 Received: by 10.50.242.3 with SMTP id wm3mr9985913igc.0.1346928100976; Thu, 06 Sep 2012 03:41:40 -0700 (PDT) Sender: jonathan.robert.anderson@gmail.com Received: by 10.64.147.2 with HTTP; Thu, 6 Sep 2012 03:41:40 -0700 (PDT) In-Reply-To: <1135E0EA-319C-4AB9-B282-59CDEA9020C8@neville-neil.com> References: <1135E0EA-319C-4AB9-B282-59CDEA9020C8@neville-neil.com> Date: Thu, 6 Sep 2012 11:41:40 +0100 X-Google-Sender-Auth: FkIJxshraxdfQlX6twQUG0EWPes Message-ID: From: Jonathan Anderson To: George Neville-Neil Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arch@freebsd.org Subject: Re: Call graphs with bsd.obj.mk X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 10:41:42 -0000 On 5 September 2012 21:54, George Neville-Neil wrote: > This would be great to have in the tree as a real build target. Do you mean: a) a manual build target for binaries and libraries (as-is), b) an automatically-built target (for systems with llvm), c) a top-level build target (e.g. "make callgraphs") or d) something else entirely? I'd be very happy to commit (a) almost immediately if there is a consensus to do so; something like (b) would require a more careful approach so as to not break builds on boxes/architectures that don't have llvm-link or opt available. Also, while (a) could be committed almost immediately, using it requires either: - PREFIX_TOOLS not suppressing llvm-link and opt in the bootstrap tools dir (chasing this angle with brooks@) or - installing the llvm-devel port Jon -- Jonathan Anderson jonathan@FreeBSD.org http://freebsd.org/~jonathan/