From owner-freebsd-chromium@FreeBSD.ORG Thu May 16 11:19:09 2013 Return-Path: Delivered-To: chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D0F8A458; Thu, 16 May 2013 11:19:09 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 2A548F34; Thu, 16 May 2013 11:19:08 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id ec20so2540690lab.4 for ; Thu, 16 May 2013 04:19:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=TS3gGjXEH+ro9oRx/MF5s4wJl+TWzYj7mNnGvIhvAow=; b=hf6AcVrB1NiUjWs5eGbvdIfJNClILm6JHuenilcsZrHflVP+/fw1HLvQLshGozRB5i gce2/jGp6IOq0DB6xhnL4OyrbrHYMqX0pN1BManYuL4dIY63USIfiwmTmyGIT6kx/cIK 1gEm3466Yd6QEHlxVZGj4PfTHqnoAP/HYVdYw2OVTuL78uHIfU12RF1URQX47JEkgyac tnEaHWLgcV+Jm2PqUvPdzkDsfe593QwH+0nL4oNTqi6EpAHGpE8yfoB8F7xp7ftBOSd/ z1GZzn+O/uLvUihPvGFIh9aS0Ip5sTMut6wsDdqKU1Noy5BrBH0eykMPqaBci8cbMxw0 Hg6w== X-Received: by 10.112.198.73 with SMTP id ja9mr4046566lbc.112.1368703148102; Thu, 16 May 2013 04:19:08 -0700 (PDT) Received: from [192.168.1.129] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id e3sm2928939lbf.17.2013.05.16.04.19.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 04:19:07 -0700 (PDT) Message-ID: <5194C0AA.3010500@gmail.com> Date: Thu, 16 May 2013 14:19:06 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17 MIME-Version: 1.0 To: =?UTF-8?B?UmVuw6kgTGFkYW4=?= Subject: Re: [CFT] chromium 27 (updated) References: <51926BC3.3070809@freebsd.org> <51949867.1070601@gmail.com> <5194A383.4030801@freebsd.org> In-Reply-To: <5194A383.4030801@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: chromium@freebsd.org X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 11:19:09 -0000 16.05.2013 12:14, René Ladan: > On 16-05-2013 10:27, Volodymyr Kostyrko wrote: >> >> >> 14.05.2013 19:52, René Ladan: >>> Hi, >>> >>> I have uploaded a new version of the patch at >>> ftp://rene-ladan.nl/pub/freebsd/chromium-27.diff >>> SHA256 = acc3416b7a3271143b4b6c1fa9d094cd6a24774f9c225ab7003bd289799e1722 >>> >>> This updates chromium to 27.0.1453.81 and incorporates the npapi (flash) >>> and some other fixes. >>> >>> I tested it to compile succesfully on FreeBSD 8.4 with the GCC46 option. >>> >>> I intend to commit this soon. >> >> Can I chime in? >> >>> uname -a >> FreeBSD ar1l0u 9.1-STABLE FreeBSD 9.1-STABLE #13 r250591M: Mon May 13 >> 10:31:21 EEST 2013 arcade@ar1l0u:/usr/obj/usr/src/sys/MINIMAL amd64 >> >> WITH_LIBCPLUSPLUS, WITH_CLANG_IS_CC >> >>> clang -v >> FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 >> Target: x86_64-unknown-freebsd9.1 >> Thread model: posix >> >> Compilation fails with: Found, everything was due to my extra configuration to disable libc++ for some ports. My config (for portconf) is: *: CXXFLAGS=-stdlib=libc++ -std=c++11 | LDFLAGS=-stdlib=libc++ www/chromium: !CXXFLAGS | !LDFLAGS Looks like in case of chromium this breaks the build. > It looks like you somehow modify CFLAGS yourself (in /etc/make.conf ?), > the port adds -Wno-error to it to not treat warning as errors. > Building/running with WITH_LIBCPLUSPLUS is not tested yet, it would be > interesting to read about the results. First one is: CXX(target) out/Release/obj.target/v8_base/v8/src/stub-cache.o v8/src/stub-cache.cc:1364:33: error: reinterpret_cast from 'nullptr_t' to 'char *' is not allowed : GetCodeWithFlags(flags, reinterpret_cast(NULL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. -- Sphinx of black quartz, judge my vow.