Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2012 12:34:44 +0200
From:      Niclas Zeising <zeising@daemonic.se>
To:        Kimmo Paasiala <kpaasial@gmail.com>
Cc:        Boris Samorodov <bsam@passap.ru>, freebsd-ports@freebsd.org
Subject:   Re: x11-servers/xorg-server, clang as system compiler
Message-ID:  <501511C4.9050301@daemonic.se>
In-Reply-To: <CA%2B7WWSeJr8bQBguqW3qFK5_AiVgR7xVxor%2BMo-ZxGpn_Dy5DvA@mail.gmail.com>
References:  <50142EF3.5000708@passap.ru> <CA%2B7WWScci=BtQhXb4D1P9_fSQQuepUnyxt-Oj4rSvG7f%2BgPRhA@mail.gmail.com> <CA%2B7WWSeJr8bQBguqW3qFK5_AiVgR7xVxor%2BMo-ZxGpn_Dy5DvA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-07-29 09:47, Kimmo Paasiala wrote:
> On Sun, Jul 29, 2012 at 8:54 AM, Kimmo Paasiala <kpaasial@gmail.com> wrote:
>> On Sat, Jul 28, 2012 at 9:26 PM, Boris Samorodov <bsam@passap.ru> wrote:
>>> Hi All,
>>>
>>> I use clang as default system compiler (WITH_CLANG_IS_CC="YES"
>>> at /etc/make.conf). The system is i386-current as of yesterday,
>>> fresh ports as of yesterday.
>>>
>>> I get this configure error while building x11-servers/xorg-server:
>>> -----
>>> [...]
>>> checking for cpp... /usr/bin/cpp
>>> checking if /usr/bin/cpp requires -undef... yes
>>> checking if /usr/bin/cpp requires -traditional... configure: error:
>>> /usr/bin/cpp does not preserve whitespace with or without -traditional.  I
>>> don't know what to do.
>>> ===>  Script "configure" failed unexpectedly.
>>> -----
>>>
>>> What should I do? Thanks!
>>> --
>>> WBR, Boris Samorodov (bsam)
>>> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
>>> _______________________________________________
>>> freebsd-ports@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>>
>> Hi,
>>
>> Take a look a bug report
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166373.
> 
> While at it, could someone with commit rights find some time to see if
> any of the fixes proposed at the PR comments could be committed? It
> would be one less nuisance for those who have WITH_CLANG_IS_CC="YES".
> 
> This one works for me but I haven't tested it on a system where cpp is
> the gcc4.2.1 one:
> 
Check out the experimental xorg tree.  There is a fix for this issue
there, but more testing would be nice.
See http://wiki.freebsd.org/Xorg for details.
Regards!
-- 
Niclas Zeising



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501511C4.9050301>