Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2013 15:39:53 +0000
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        Rene Ladan <rene@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r330229 - head/www/chromium/files
Message-ID:  <CAOFF%2BZ1F9fXj9hJgPm-XNW9GznLWq=jQKDCNQLh7U84XQw7CSg@mail.gmail.com>
In-Reply-To: <201310131330.r9DDUISh069545@svn.freebsd.org>
References:  <201310131330.r9DDUISh069545@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I think Chromium is broke now, I have a fresh ports tree after this commit
and I can't compile with clang

uname -a
FreeBSD NewBSD 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256428: Sun Oct 13
12:12:23 EDT 2013     root@Sam:/usr/obj/usr/src/sys/GENERIC  amd64



root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
/usr/local/bin/ninja  -j8 -C out/Release chrome
ninja: Entering directory `out/Release'
[534/12186] CC obj/third_party/libXNVCtrl/libXNVCtrl.NVCtrl.o
In file included from ../../third_party/libXNVCtrl/NVCtrl.c:38:
In file included from /usr/local/include/X11/Xlibint.h:43:
/usr/local/include/X11/XlibConf.h:33:9: warning: 'XTHREADS' macro redefined
#define XTHREADS 1
        ^
../../third_party/libXNVCtrl/NVCtrl.c:31:9: note: previous definition is
here
#define XTHREADS
        ^
1 warning generated.
[3295/12186] CXX obj/v8/src/v8_base.x64.platform-freebsd.o
FAILED: clang++ -MMD -MF obj/v8/src/v8_base.x64.platform-freebsd.o.d
-DANGLE_DX11 -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL
-DCHROMIUM_BUILD -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1
-DUSE_NSS=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN
-DGTK_DISABLE_SINGLE_INCLUDES=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1
-DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY
-DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_GPU=1
-DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1
-DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1
-DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1
-DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_FULL_PRINTING=1
-DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_MANAGED_USERS=1
-DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DV8_I18N_SUPPORT
-DU_USING_ICU_NAMESPACE=0 -DU_STATIC_IMPLEMENTATION -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../v8/src
-I../../third_party/icu/source/i18n -I../../third_party/icu/source/common
-fstack-protector --param=ssp-buffer-size=4  -pthread -fno-exceptions
-fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers
-fvisibility=hidden -pipe -fPIC -Wheader-hygiene -Wno-char-subscripts
-Wno-unused-function -Wno-covered-switch-default -Wstring-conversion
-Wno-c++11-narrowing -Wno-reserved-user-defined-literal
-Wno-deprecated-register -fcolor-diagnostics -I/usr/local/include
-Wno-format -fdata-sections -ffunction-sections -fdata-sections
-ffunction-sections -O3 -O2 -pipe -fno-stack-protector
-Wno-unknown-warning-option -fno-strict-aliasing -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11
-Wno-deprecated  -c ../../v8/src/platform-freebsd.cc -o
obj/v8/src/v8_base.x64.platform-freebsd.o
../../v8/src/platform-freebsd.cc:130:24: error: non-type template argument
of type 'int (void **, int)' cannot be converted to a value of type 'size_t
(*)(void **, size_t)'
  POSIXBacktraceHelper<backtrace, backtrace_symbols>::DumpBacktrace();
                       ^~~~~~~~~
../../v8/src/platform-posix.h:44:19: note: template parameter is declared
here
template<size_t (*backtrace)(void**, size_t),
                  ^
../../v8/src/platform-freebsd.cc:232:31: error: non-type template argument
of type 'int (void **, int)' cannot be converted to a value of type 'size_t
(*)(void **, size_t)'
  return POSIXBacktraceHelper<backtrace,
backtrace_symbols>::StackWalk(frames);
                              ^~~~~~~~~
../../v8/src/platform-posix.h:44:19: note: template parameter is declared
here
template<size_t (*backtrace)(void**, size_t),
                  ^



On Sun, Oct 13, 2013 at 1:30 PM, Rene Ladan <rene@freebsd.org> wrote:

> Author: rene
> Date: Sun Oct 13 13:30:17 2013
> New Revision: 330229
> URL: http://svnweb.freebsd.org/changeset/ports/330229
>
> Log:
>   Remove two patches from extra-patch-gcc that are now applied
>   unconditionally.  This fixes 'make patch' when selecting the GCC option.
>
>   Reported by:  Carlos Jacobo Puga Medina <cjpugmed@gmail.com>
>   Reported by:  olgeni@
>
> Modified:
>   head/www/chromium/files/extra-patch-gcc
>
> Modified: head/www/chromium/files/extra-patch-gcc
>
> ==============================================================================
> --- head/www/chromium/files/extra-patch-gcc     Sun Oct 13 13:06:50 2013
>      (r330228)
> +++ head/www/chromium/files/extra-patch-gcc     Sun Oct 13 13:30:17 2013
>      (r330229)
> @@ -28,26 +28,3 @@
>   #include <string>
>
>   #include "base/gtest_prod_util.h"
> ---- third_party/libjingle/source/talk/base/network.h.orig      2013-05-26
> 21:44:12.257312749 +0200
> -+++ third_party/libjingle/source/talk/base/network.h   2013-05-26
> 21:45:08.869297313 +0200
> -@@ -38,6 +38,10 @@
> - #include "talk/base/messagehandler.h"
> - #include "talk/base/sigslot.h"
> -
> -+#if defined(OS_FREEBSD)
> -+#include <sys/types.h>
> -+#endif
> -+
> - #if defined(POSIX)
> - struct ifaddrs;
> - #endif  // defined(POSIX)
> ---- base/sys_info_freebsd.cc.orig      2013-05-17 22:44:42.000000000 +0200
> -+++ base/sys_info_freebsd.cc   2013-05-26 22:57:45.885322785 +0200
> -@@ -4,6 +4,7 @@
> -
> - #include "base/sys_info.h"
> -
> -+#include <sys/types.h>
> - #include <sys/sysctl.h>
> -
> - #include "base/logging.h"
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
>



-- 

Sam Fourman Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOFF%2BZ1F9fXj9hJgPm-XNW9GznLWq=jQKDCNQLh7U84XQw7CSg>