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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to "[email protected]"

Reply via email to