Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2011 07:09:54 +0200
From:      George Liaskos <geo.liaskos@gmail.com>
To:        Rene Ladan <rene@freebsd.org>
Cc:        freebsd-chromium@freebsd.org
Subject:   Re: versions shifted
Message-ID:  <AANLkTi=o2sX_dHhWwC875sngx=GUx3keoCDTxpddSKKi@mail.gmail.com>
In-Reply-To: <4D7E83EE.90803@freebsd.org>
References:  <4D7E83EE.90803@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Mar 14, 2011 at 11:09 PM, Rene Ladan <rene@freebsd.org> wrote:
> Hi,
>
> since chromium 9 has reached it end-of-life and has security problems
> [1], I merged the chromium-beta port into the chromium port (they remain
> equal until Google decides to release a new beta version). This
> unfortunately means that the chromium port is now broken (see ticket
> #7). Feel free to fix this if I'm not fast enough ;)
>
> Regards,
> René
>
> [1] : http://www.vuxml.org/freebsd/6887828f-0229-11e0-b84d-00262d5ed8ee.html
> #7  : http://trillian.chruetertee.ch/chromium/ticket/7
> --
> http://www.rene-ladan.nl:8080/
>
> GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
> (subkeys.pgp.net)

The attached patches resolve all the compile errors i found over the
weekend, unfortunatelly there is a bug (stack overflow) in mksnapshot.
I didn't have time to dig deeper.

  export LD_LIBRARY_PATH=/usr/home/gliaskos/devel/chromium/ports/www/chromium/work/chromium-courgette-redacted-10.0.648.133/out/Release/lib.host:/usr/home/gliaskos/devel/chromium/ports/www/chromium/work/chromium-courgette-redacted-10.0.648.133/out/Release/lib.target:$LD_LIBRARY_PATH;
cd v8/tools/gyp; mkdir -p
/usr/home/gliaskos/devel/chromium/ports/www/chromium/work/chromium-courgette-redacted-10.0.648.133/out/Release/obj.target/geni;
"/usr/home/gliaskos/devel/chromium/ports/www/chromium/work/chromium-courgette-redacted-10.0.648.133/out/Release/mksnapshot"
"/usr/home/gliaskos/devel/chromium/ports/www/chromium/work/chromium-courgette-redacted-10.0.648.133/out/Release/obj.target/geni/snapshot.cc"

#
# Fatal error in CALL_AND_RETRY_0
# Allocation failed - process out of memory
#

This patch http://trillian.chruetertee.ch/chromium/browser/ports/www/chromium/files/patch-v8__src__platform-freebsd.cc
removes the closing bracket of Unlock() :)

[-- Attachment #2 --]
--- net/net.gyp.orig	2011-03-15 05:45:28.000000000 +0200
+++ net/net.gyp	2011-03-15 05:50:51.000000000 +0200
@@ -137,8 +137,8 @@
         'base/network_change_notifier_linux.h',
         'base/network_change_notifier_mac.cc',
         'base/network_change_notifier_mac.h',
-        'base/network_change_notifier_netlink_linux.cc',
-        'base/network_change_notifier_netlink_linux.h',
+        #'base/network_change_notifier_netlink_linux.cc',
+        #'base/network_change_notifier_netlink_linux.h',
         'base/network_change_notifier_win.cc',
         'base/network_change_notifier_win.h',
         'base/network_config_watcher_mac.cc',
@@ -1029,7 +1029,7 @@
             ],
           }
         ],
-        [ 'OS == "linux"', {
+        [ 'OS == "linux" or OS=="freebsd"', {
           'conditions': [
             ['linux_use_tcmalloc==1', {
               'dependencies': [
@@ -1194,7 +1194,7 @@
             }],
           ],
         }],
-        ['OS == "linux"', {
+        ['OS == "linux" or OS=="freebsd"', {
           'conditions': [
             ['linux_use_tcmalloc==1', {
               'dependencies': [

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=o2sX_dHhWwC875sngx=GUx3keoCDTxpddSKKi>