[Mesa-dev] [PATCH 00/13] ARB_debug_output

Jose Fonseca jfonseca at vmware.com
Sun Mar 11 04:19:50 PDT 2012


I saw the same w/ MinGW. I think my latest patch series should fix it.

Jose

----- Original Message -----
> On 15 February 2012 13:28, Marek Olšák <maraeo at gmail.com> wrote:
> > Hi everyone,
> >
> > this series adds the ARB_debug_output extension. It implements the
> > minimum feature set required by the spec, which is GL API error
> > logging.
> >
> > I've added a new piglit test for this: arb_debug_output-api_error.
> > I'd like to push this series in a week if there are no concerns.
> >
> > The whole series is also available here:
> >  git://people.freedesktop.org/~mareko/mesa arb-debug-output
> >
> > Marek Olšák (3):
> >  mesa: print GL errors via debug_output
> >  mesa: display list dispatch for ARB_debug_output
> >  mesa: expose ARB_debug_output
> >
> > nobled (10):
> >  mesa: split error handling into its own file
> >  glapi: add ARB_debug_output.xml
> >  mesa: add infrastructure for GL_ARB_debug_output
> >  mesa: add some GL_ARB_debug_output functions
> >  mesa: add message-toggle booleans for GL_ARB_debug_output
> >  mesa: add glDebugMessageControlARB
> >  mesa: add yet more context fields for GL_ARB_debug_output
> >  mesa: add control for categories of application-provided messages
> >  mesa: add struct for managing client debug namespaces
> >  mesa: implement the last of GL_ARB_debug_output
> >
> > Marek
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
> Hi Marek
> 
> Ever since these patches went in by 32bit build broke with the
> following error (the 64bit one is fine):
> 
> gmake[2]: Entering directory
> `/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/mapi/glapi'
> x86_64-pc-linux-gnu-gcc -c -I../../../include -I../../../src/mapi
> -I../../../src/mesa -DMAPI_MODE_BRIDGE
> -DMAPI_ABI_HEADER=\"glapi/glapi_mapi_tmp.h\" -O2 -march=native -pipe
> -m32 -Wall -std=c99 -Werror=implicit-function-declaration
> -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp
> -O2 -march=native -pipe -m32  -fPIC   -D_GNU_SOURCE -DPTHREADS
> -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER
> -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
> -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
> -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV
> -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -D__STDC_CONSTANT_MACROS
> -DHAVE_LLVM=0x0300 -fvisibility=hidden ../../../src/mapi/mapi/entry.c
> -o entry.o
> In file included from ../../../src/mapi/mapi/mapi_tmp.h:48:0,
>                  from ../../../src/mapi/mapi/entry.c:69:
> ../../../src/mapi/glapi/glapi_mapi_tmp.h:883:1: error: conflicting
> types for 'glDebugMessageCallbackARB'
> ../../../include/GL/glext.h:7576:21: note: previous declaration of
> 'glDebugMessageCallbackARB' was here
> In file included from ../../../src/mapi/mapi/mapi_tmp.h:48:0,
>                  from ../../../src/mapi/mapi/entry.c:69:
> ../../../src/mapi/glapi/glapi_mapi_tmp.h:7330:1: error: conflicting
> types for 'glDebugMessageCallbackARB'
> ../../../include/GL/glext.h:7576:21: note: previous declaration of
> 'glDebugMessageCallbackARB' was here
> gmake[2]: *** [entry.o] Error 1
> gmake[2]: Leaving directory
> `/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src/mapi/glapi'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/media-libs/mesa-32bit-9999/work/Mesa-32bit-9999/src'
> make: *** [default] Error
> 
> Can you let me know if I'm doing something wrong
> 
> Cheers
> 
> Mike
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list