Date: Tue, 03 May 2011 21:17:58 +0200 From: "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> To: Olivier Smedts <olivier@gid0.org> Cc: freebsd-current@freebsd.org Subject: Re: Building FreeBSD 9.0-CUR/amd64 with CLANG fails Message-ID: <4DC054E6.3030801@mail.zedat.fu-berlin.de> In-Reply-To: <BANLkTi=0PTfWBC8QoZfYZZ766Ja33K0E_w@mail.gmail.com> References: <4DBDB8D4.6050102@mail.zedat.fu-berlin.de> <BANLkTimAhmHh33FuwB6o%2BB5iSOORV-PmMQ@mail.gmail.com> <4DC04F29.2050401@mail.zedat.fu-berlin.de> <BANLkTi=0PTfWBC8QoZfYZZ766Ja33K0E_w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/03/11 21:13, Olivier Smedts wrote: > 2011/5/3 O. Hartmann<ohartman@mail.zedat.fu-berlin.de>: >> On 05/02/11 14:19, Olivier Smedts wrote: >>> >>> 2011/5/1 O. Hartmann<ohartman@mail.zedat.fu-berlin.de>: >>>> >>>> Well, >>>> I tried the first time building FreeBSD 9.0-CURRENT/amd64 (sources f= rom >>>> today's latest svn) and it failed (taken the /etc/make.conf addition= from >>>> 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 t= he >>>> 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= =2E >> Same error. >> >> This is the addendum I made to the /etc/make.conf: >> >> ## >> ## =EF=BF=BD =EF=BF=BD =EF=BF=BDCLANG >> ## >> .if defined(USE_CLANG) > > Why do you have the previous line ? Can you try without it and the last= endif ? Setting USE_CLANG=3Dyes at the beginning of /etc/make.conf avoids=20 commenting out or uncommenting the CLANG-stuff. I'll try. > >> .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 >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DC054E6.3030801>