From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 25 17:39:50 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B36C9106566B; Thu, 25 Mar 2010 17:39:50 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f214.google.com (mail-ew0-f214.google.com [209.85.219.214]) by mx1.freebsd.org (Postfix) with ESMTP id 199908FC1B; Thu, 25 Mar 2010 17:39:49 +0000 (UTC) Received: by ewy6 with SMTP id 6so2411245ewy.4 for ; Thu, 25 Mar 2010 10:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:cc:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=NmdXkf3z8GXP5YSKHhvKdpAzO3QJ3gD3mPviz79nRDE=; b=rO2MdrcwGhB999dpy5PWx0akzbhgnpwlfp++opqhaGLCNIdPg6a99a1MvwE1F8KGgi dqkGYAJu823DtgbUO0bJOlt3y/wLHaSkD9qx7Zl/ooEhv0AiJsH9rsApbRyqIDr5M4mW NA1EkiyNBarE7awAQ50uJGE1ARKW97SE4ZR10= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=W8t69+e6wlDs5t5A3g1Hvzq3EiLA364n48BS5bAjbm2PPS4NKh1OfAZTeNfBXIpykG s1wl2Sax90TD60PSTuhojI6PaV91L0DKCV5KEWGUHAMQ4bq41N3u6Jw9QfUaRPcc9858 Wj3mmSFT6ol2sJVr+VDD3+JYuy8cUb8xhjsE4= Received: by 10.213.109.201 with SMTP id k9mr3079598ebp.95.1269537165949; Thu, 25 Mar 2010 10:12:45 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 13sm949990ewy.5.2010.03.25.10.12.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Mar 2010 10:12:44 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Mario Lobo" , FreeBSD-Questions@freebsd.org References: <201003242258.05830.lobo@bsd.com.br> <9884b5281003250924i462eee68uf2a7eba7dd864033@mail.gmail.com> Date: Thu, 25 Mar 2010 19:12:42 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: <9884b5281003250924i462eee68uf2a7eba7dd864033@mail.gmail.com> User-Agent: Opera Mail/10.10 (FreeBSD) Cc: freebsd-hackers@freebsd.org Subject: Re: Compiling kernel with gcc43 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 17:39:50 -0000 On Thu, 25 Mar 2010 18:24:10 +0200, Mario Lobo wrote: > Should I just dump the gcc43 idea and try this with clang/llvm? > > I've seen http://wiki.freebsd.org/BuildingFreeBSDWithClang. > > Anything else to watch out for when building world/kernel/ports? ClangBSD had little to no runtime testing, so you should be careful with it. I'm not saying it won't work, but make sure you have backups in case something goes wrong. Also, if you just want to build the kernel, you don't need ClangBSD, you can just install llvm-devel from ports and use > make CC=/usr/local/bin/clang buildkernel Some people ran or are running their systems with clang compiled kernel. You should still be careful, and some things (like snd_hda on amd64) are known to have problems. -- Andrius