Building FreeBSD 9.0-CUR/amd64 with CLANG fails
Olivier Smedts
olivier at gid0.org
Tue May 3 19:13:24 UTC 2011
2011/5/3 O. Hartmann <ohartman at mail.zedat.fu-berlin.de>:
> On 05/02/11 14:19, Olivier Smedts wrote:
>>
>> 2011/5/1 O. Hartmann<ohartman at mail.zedat.fu-berlin.de>:
>>>
>>> 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 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=
>> WERROR=
>>
>>> 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:
>
> ##
> ## CLANG
> ##
> .if defined(USE_CLANG)
Why do you have the previous line ? Can you try without it and the last endif ?
> .if !defined(CC) || ${CC} == "cc"
> CC=clang
> .endif
> .if !defined(CXX) || ${CXX} == "c++"
> CXX=clang++
> .endif
> # Don't die on warnings
> NO_WERROR=
> WERROR=
> # Don't forget this when using Jails!
> NO_FSCHG=
> .endif
>
>
> I think I should file a PR ...
>
> oliver
>
--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: olivier at gid0.org - against HTML email & vCards X
www: http://www.gid0.org - against proprietary attachments / \
"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
et ceux qui ne le comprennent pas."
More information about the freebsd-current
mailing list