From owner-freebsd-current@FreeBSD.ORG Tue May 3 19:13:24 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16339106564A for ; Tue, 3 May 2011 19:13:24 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id EB7138FC22 for ; Tue, 3 May 2011 19:13:23 +0000 (UTC) Received: by pwj8 with SMTP id 8so251015pwj.13 for ; Tue, 03 May 2011 12:13:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.4.129 with SMTP id k1mr291275pbk.72.1304450003381; Tue, 03 May 2011 12:13:23 -0700 (PDT) Received: by 10.68.40.4 with HTTP; Tue, 3 May 2011 12:13:23 -0700 (PDT) In-Reply-To: <4DC04F29.2050401@mail.zedat.fu-berlin.de> References: <4DBDB8D4.6050102@mail.zedat.fu-berlin.de> <4DC04F29.2050401@mail.zedat.fu-berlin.de> Date: Tue, 3 May 2011 21:13:23 +0200 Message-ID: From: Olivier Smedts To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Building FreeBSD 9.0-CUR/amd64 with CLANG fails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 03 May 2011 19:13:24 -0000 2011/5/3 O. Hartmann : > On 05/02/11 14:19, Olivier Smedts wrote: >> >> 2011/5/1 O. Hartmann: >>> >>> Well, >>> I tried the first time building FreeBSD 9.0-CURRENT/amd64 (sources from >>> today's latest svn) and it failed (taken the /etc/make.conf addition fr= om >>> the wiki), giving the below showed error. >> >> Did you follow the instructions on the wiki ? Do you have the >> following lines in your /etc/make.conf ? >> NO_WERROR=3D >> WERROR=3D >> >>> Is this a well known issue and FreeBSD isn't building correctly at the >>> moment or did I miss something (not mentioned on the wiki's page)? >>> > > Today, I tried again, after CLANG/LLVM has been updated to version 3.0. > Same error. > > This is the addendum I made to the /etc/make.conf: > > ## > ## =A0 =A0 =A0CLANG > ## > .if defined(USE_CLANG) Why do you have the previous line ? Can you try without it and the last end= if ? > .if !defined(CC) || ${CC} =3D=3D "cc" > CC=3Dclang > .endif > .if !defined(CXX) || ${CXX} =3D=3D "c++" > CXX=3Dclang++ > .endif > # Don't die on warnings > NO_WERROR=3D > WERROR=3D > # Don't forget this when using Jails! > NO_FSCHG=3D > .endif > > > I think I should file a PR ... > > oliver > --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."