chromium 37 up for testing (and polishing)

Carlos Jacobo Puga Medina cpm at fbsd.es
Wed Aug 27 17:41:01 UTC 2014


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 at fbsd.es>


More information about the freebsd-chromium mailing list