Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2013 14:19:06 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        =?UTF-8?B?UmVuw6kgTGFkYW4=?= <rene@freebsd.org>
Cc:        chromium@freebsd.org
Subject:   Re: [CFT] chromium 27 (updated)
Message-ID:  <5194C0AA.3010500@gmail.com>
In-Reply-To: <5194A383.4030801@freebsd.org>
References:  <51926BC3.3070809@freebsd.org> <51949867.1070601@gmail.com> <5194A383.4030801@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<char*>(NULL));
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

-- 
Sphinx of black quartz, judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5194C0AA.3010500>