Date: Wed, 27 Aug 2014 19:39:37 +0200 From: Carlos Jacobo Puga Medina <cpm@fbsd.es> To: miguelmclara@gmail.com Cc: freebsd-chromium@freebsd.org Subject: Re: chromium 37 up for testing (and polishing) Message-ID: <20140827193937.addcbccde67b842f7ee12e47@fbsd.es>
next in thread | raw e-mail | index | archive | help
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?20140827193937.addcbccde67b842f7ee12e47>