From owner-freebsd-chromium@FreeBSD.ORG Tue Jul 17 11:55:01 2012 Return-Path: Delivered-To: freebsd-chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30F031065672 for ; Tue, 17 Jul 2012 11:55:01 +0000 (UTC) (envelope-from saper@saper.info) Received: from l.saper.info (l.saper.info [IPv6:2001:41d0:1:d467::1000]) by mx1.freebsd.org (Postfix) with ESMTP id B06FA8FC0A for ; Tue, 17 Jul 2012 11:55:00 +0000 (UTC) Received: from l.saper.info (saper@localhost [127.0.0.1]) by l.saper.info (8.14.5/8.14.5) with ESMTP id q6HBsw6g072127 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 Jul 2012 11:54:59 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Mar2008; t=1342526099; bh=rTmpQ/F4CjMRmWmr4ZAHZTy/Jj9c01xdTITw7j9KIiY=; h=Date:From:To:Subject:In-Reply-To:References; b=yL+HkOQG8CKAgx85OXiHep35UisFDriTbi/FzenW0TdUnh6foQcRH/Lq7wzY84rNS 06T7TShXwIE9ck50pxt8l080kk0ge/ZQLr89pnX1h6GJ7YffAyAGcK7PLqGWGEFRq7 mzX8Saf2uB5WxFT+XXoh0kkVN3fo1lZNcxS77Msc= Received: from localhost (saper@localhost) by l.saper.info (8.14.5/8.14.5/Submit) with ESMTP id q6HBsw7C072124 for ; Tue, 17 Jul 2012 11:54:58 GMT (envelope-from saper@saper.info) X-Authentication-Warning: l.saper.info: saper owned process doing -bs Date: Tue, 17 Jul 2012 11:54:58 +0000 From: Marcin Cieslak To: freebsd-chromium@freebsd.org In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Trouble compiling 20.0.1132.57 w/clang 3.0 (trunk 135360) 20110717 [solved] X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2012 11:55:01 -0000 On Mon, 16 Jul 2012, Marcin Cieslak wrote: > Running > > $ clang --version > FreeBSD clang version 3.0 (trunk 135360) 20110717 > Target: x86_64-unknown-freebsd9.0 > Thread model: posix This problems was solved by installing lang/clang from ports: $ /usr/local/bin/clang -v clang version 3.1 (branches/release_31) Target: amd64-portbld-freebsd9.0 Thread model: posix and patching the Makefile to use clang from ports, not from base: .if ${PORT_OPTIONS:MCLANG} .if ${OSVERSION} < 900033 BUILD_DEPENDS+= clang:${PORTSDIR}/lang/clang .endif CC= /usr/local/bin/clang CXX= /usr/local/bin/clang++ GYP_DEFINES+= clang=1 (Setting CC=/usr/local/bin/clang in /etc/make.conf does not work here of course) //Marcin