From owner-freebsd-ports@FreeBSD.ORG Sun Jul 29 10:34:57 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9A7D106566B for ; Sun, 29 Jul 2012 10:34:57 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 5DD7A8FC0A for ; Sun, 29 Jul 2012 10:34:57 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 9E87D40007 for ; Sun, 29 Jul 2012 12:34:55 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 9390740006; Sun, 29 Jul 2012 12:34:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (h-45-105.a163.priv.bahnhof.se [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id E5D9140004; Sun, 29 Jul 2012 12:34:53 +0200 (CEST) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3WlKzc5Pfhz8gtM; Sun, 29 Jul 2012 12:34:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id W_iRjwZjPe9f; Sun, 29 Jul 2012 12:34:49 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 3WlKzY5t2yz8gtL; Sun, 29 Jul 2012 12:34:49 +0200 (CEST) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 3WlKzY3Sn9z9Ctj; Sun, 29 Jul 2012 12:34:49 +0200 (CEST) Message-ID: <501511C4.9050301@daemonic.se> Date: Sun, 29 Jul 2012 12:34:44 +0200 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Kimmo Paasiala References: <50142EF3.5000708@passap.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Boris Samorodov , freebsd-ports@freebsd.org Subject: Re: x11-servers/xorg-server, clang as system compiler X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2012 10:34:58 -0000 On 2012-07-29 09:47, Kimmo Paasiala wrote: > On Sun, Jul 29, 2012 at 8:54 AM, Kimmo Paasiala wrote: >> On Sat, Jul 28, 2012 at 9:26 PM, Boris Samorodov 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