Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 20:35:06 +0100
From:      Miguel Clara <miguelmclara@gmail.com>
To:        Carlos Jacobo Puga Medina <cpm@fbsd.es>
Cc:        chromium-list freebsd <freebsd-chromium@freebsd.org>
Subject:   Re: chromium 37 up for testing (and polishing)
Message-ID:  <CADGo8CU_XiZKtLkki=xHZPUjpK-RuYdevWuEEy5CDfpjsqfL_A@mail.gmail.com>
In-Reply-To: <20140827193937.addcbccde67b842f7ee12e47@fbsd.es>
References:  <20140827193937.addcbccde67b842f7ee12e47@fbsd.es>

next in thread | previous in thread | raw e-mail | index | archive | help
With that I get:
gcc47: error: unrecognized command line option '-Wheader-hygiene'
gcc47: error: unrecognized command line option '-Wstring-conversion'
gcc47: error: unrecognized command line option '-fcolor-diagnostics'
FAILED: gcc47 -MMD -MF
obj/base/third_party/xdg_mime/xdg_mime.xdgmimecache.o.d
-DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DCR_CLANG_REVISION=209387 -DTOOLKIT_VIEWS=1 -DUSE_AURA=1 -DUSE_ASH=1
-DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1
-DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1
-DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1
-DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY
-DENABLE_NOTIFICATIONS -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1
-DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1
-DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1
-DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1
-DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1
-DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1
'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"'
'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"'
'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"'
'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"'
'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"'
-DUSE_NSS=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-D_DEBUG -Igen -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-unneeded-internal-declaration
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing
-Wno-reserved-user-defined-literal -Wno-deprecated-register
-fcolor-diagnostics -Wno-format -m64 -march=x86-64 -O0 -g -funwind-tables
-pipe -fno-stack-protector -Wno-unknown-warning-option -g
-Wl,-rpath=/usr/local/lib/gcc47  -c
../../base/third_party/xdg_mime/xdgmimecache.c -o
obj/base/third_party/xdg_mime/xdg_mime.xdgmimecache.o
gcc47: error: unrecognized command line option '-Wheader-hygiene'
gcc47: error: unrecognized command line option '-Wstring-conversion'
gcc47: error: unrecognized command line option '-fcolor-diagnostics'
FAILED: gcc47 -MMD -MF
obj/base/third_party/xdg_mime/xdg_mime.xdgmimeglob.o.d
-DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DCR_CLANG_REVISION=209387 -DTOOLKIT_VIEWS=1 -DUSE_AURA=1 -DUSE_ASH=1
-DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1
-DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1
-DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2 -DENABLE_REMOTING=1
-DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY
-DENABLE_NOTIFICATIONS -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1
-DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1
-DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1
-DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1
-DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1
-DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1
'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"'
'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"'
'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"'
'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"'
'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"'
-DUSE_NSS=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-D_DEBUG -Igen -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-unneeded-internal-declaration
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing
-Wno-reserved-user-defined-literal -Wno-deprecated-register
-fcolor-diagnostics -Wno-format -m64 -march=x86-64 -O0 -g -funwind-tables
-pipe -fno-stack-protector -Wno-unknown-warning-option -g
-Wl,-rpath=/usr/local/lib/gcc47  -c
../../base/third_party/xdg_mime/xdgmimeglob.c -o
obj/base/third_party/xdg_mime/xdg_mime.xdgmimeglob.o
gcc47: error: unrecognized command line option '-Wheader-hygiene'
gcc47: error: unrecognized command line option '-Wstring-conversion'
gcc47: error: unrecognized command line option '-fcolor-diagnostics'
ninja: build stopped: subcommand failed.





Melhores Cumprimentos // Best Regards
-----------------------------------------------
*Miguel Clara*
*IT - Sys Admin & Developer*
*E-mail:    *miguelmclara@gmail.com
         www.linkedin.com/in/miguelmclara/


On Wed, Aug 27, 2014 at 6:39 PM, Carlos Jacobo Puga Medina <cpm@fbsd.es>
wrote:

> Hi,
>
> > I was trying to build the port on poudriere and it fails, so I wonder if
> > this is related to the patches.
> >
> > poudriere 10-amd64 jail
> >
> > tail -30
> >
> /usr/local/poudriere/data/logs/bulk/10x64-default/latest/logs/chromium-37.0=
> > .2062.94.log
> >
> > In file included from ../../ui/gl/gl_bindings.h:230:
> > gen/ui/gl/gl_bindings_autogen_gl.h:70:81: error: unknown type name
> > 'GLeglImageOES'
> > typedef void (GL_BINDING_CALL *glEGLImageTargetTexture2DOESProc)(GLenum
> > target, GLeglImageOES image);
> >
> > ^
> > gen/ui/gl/gl_bindings_autogen_gl.h:71:91: error: unknown type name
> > 'GLeglImageOES'
> > typedef void (GL_BINDING_CALL
> > *glEGLImageTargetRenderbufferStorageOESProc)(GLenum target, GLeglImageOES
> > image);
> >
> > ^
> > gen/ui/gl/gl_bindings_autogen_gl.h:543:62: error: unknown type name
> > 'GLeglImageOES'
> >   virtual void glEGLImageTargetTexture2DOESFn(GLenum target,
> GLeglImageOES
> > image) =3D 0;
> >                                                              ^
> > gen/ui/gl/gl_bindings_autogen_gl.h:544:72: error: unknown type name
> > 'GLeglImageOES'
> >   virtual void glEGLImageTargetRenderbufferStorageOESFn(GLenum target,
> > GLeglImageOES image) =3D 0;
> >                                                                        ^
> > In file included from
> ../../gpu/command_buffer/service/buffer_manager.cc:10=
> > :
> > In file included from
> ../../gpu/command_buffer/service/context_state.h:16:
> > ../../gpu/command_buffer/service/vertex_attrib_manager.h:204:29: error:
> use
> > of undeclared identifier 'GL_FIXED'
> >       if (attrib->type() =3D=3D GL_FIXED) {
> >                             ^
> > ../../gpu/command_buffer/service/vertex_attrib_manager.h:207:19: error:
> use
> > of undeclared identifier 'GL_FIXED'
> >       if (type =3D=3D GL_FIXED) {
> >                   ^
> > 6 errors generated.
> > ninja: build stopped: subcommand failed.
> > *** Error code 1
> >
> > Stop.
>
> The type GLeglImageOES is from GLES/glext.h which it is included in
> chromium and is not present in any of the GL/*.h headers. In GLES/glext.h
> it is defined like this:
>
> /* GL_OES_EGL_image */
> #ifndef GL_OES_EGL_image
> typedef void* GLeglImageOES;
> #endif
>
> Regarding to GL_FIXED is from GL/glext.h header.
>
> To avoid quick-and-dirty hacks to fix it, please build chromium with
> USE_GCC=4.7+ instead of Clang.
>
> Regards,
> --
> Carlos Jacobo Puga Medina <cpm@fbsd.es>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CU_XiZKtLkki=xHZPUjpK-RuYdevWuEEy5CDfpjsqfL_A>