From owner-freebsd-current@FreeBSD.ORG Wed Feb 27 15:25:37 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 549D3996 for ; Wed, 27 Feb 2013 15:25:37 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50]) by mx1.freebsd.org (Postfix) with ESMTP id CEF909A9 for ; Wed, 27 Feb 2013 15:25:36 +0000 (UTC) Received: by mail-bk0-f50.google.com with SMTP id jg9so329544bkc.37 for ; Wed, 27 Feb 2013 07:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=SQV61IQAVUCgPqAEsOLTsdlIyR3Bq4G8/b08BOHGIHU=; b=GswIh0BoCPrKSJPC6Zc6ETniXIlaRhso7hKfAEvwH7EtU7w5l9OYSvhsakVujw6Nn8 h4LFvjsFe+xC6JOxscnAMIOk36TIBJ9wV5dMt+Zkewiye/z4aiYWG/YTN7jna1UKqYe/ xgtbccEMCpPj/FLd2N/uecmeuX+/E66Q++TflgYvEYU38g8/mwuD7gOFXQbYX7le2IzE hG6qMcW/5us8g/04ot80C0BEq6HT7BJpRPcPXHxSN0+q/UCSspsdoQa7BkK7pgF1ajFn zLJCN7E1wQ/ayopQ6iOI7IXJ8+gFUws+D1EC2FzCpRvRW66cgHpl9FFee33iiIuPjQBl 5/fA== X-Received: by 10.204.145.135 with SMTP id d7mr999939bkv.64.1361978730148; Wed, 27 Feb 2013 07:25:30 -0800 (PST) Received: from [192.168.1.80] (dsl51B65532.pool.t-online.hu. [81.182.85.50]) by mx.google.com with ESMTPS id fy17sm764547bkc.6.2013.02.27.07.25.28 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 07:25:28 -0800 (PST) Message-ID: <512E2563.6060507@gmail.com> Date: Wed, 27 Feb 2013 16:25:23 +0100 From: deeptech71 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:18.0) Gecko/20100101 SeaMonkey/2.15 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: the latest version of Clang/LLVM for the world and kernel References: <511E378E.3090200@gmail.com> <511E5B05.5050402@FreeBSD.org> In-Reply-To: <511E5B05.5050402@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 27 Feb 2013 15:25:37 -0000 Excluding the build errors arising from code becoming incompatible with old headers [1], the use of the latest version of Clang/LLVM for the world and kernel is mostly hitch-free, if I (1)remove, from the Clang installation, the headers that are already available in /usr/include, ie., $ cd /home/me/my_compilers/lib/clang/3.3/include $ rm float.h iso646.h limits.h tgmath.h and varargs.h $ rm stdalign.h stdarg.h stdbool.h stddef.h stdint.h stdnoreturn.h and (2) replace -fformat-extensions with -Wno-error-format in sys/conf/kern.mk. On 02/15/2013 16:57, Dimitry Andric wrote: > On 2013-02-15 14:26, deeptech71 wrote: >> During ``make installworld'': >> * btxld: Command not found. >> I had to append not only ``btxld'', but also ``ls dd cp'', to the ITOOLS variable in Makefile.inc1. > > There are apparently several things that can trigger that btxld error, > but the usual one is that your system clock is out of whack. I have > never researched it too deeply; maybe somebody else can chip in here. I did find my system clock "out of whack", but I've already fixed that weeks ago. I get the same error now. I don't recall getting the error when I was using the compiler in ${WORLDTMP} [1]. Also, there are still some eye-popping warnings (-Warray-bounds, -Wsizeof-pointer-memaccess, -Wuninitialized, -Wunsequenced) not apparently "fixed" yet. [1] http://lists.freebsd.org/pipermail/freebsd-current/2013-February/040160.html