i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm -Os -mtune=pentium-m -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize -ftree-loop-linear -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -maccumulate-outgoing-args -findirect-inlining -floop-interchange -floop-block -floop-strip-mine -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DCOMPILE_R300 -DR200_MERGED=0 -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 r300_queryobj.c -o r300_queryobj.o r300_queryobj.c:98:111: error: macro "radeon_bo_open" requires 7 arguments, but only 6 given r300_queryobj.c: In function 'r300BeginQuery': r300_queryobj.c:98: error: 'radeon_bo_open' undeclared (first use in this function) r300_queryobj.c:98: error: (Each undeclared identifier is reported only once r300_queryobj.c:98: error: for each function it appears in.) gmake[5]: *** [r300_queryobj.o] Error 1 gmake[5]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/mesa/drivers/dri/r300' gmake[4]: *** [subdirs] Error 1 gmake[4]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/mesa/drivers/dri' gmake[3]: *** [default] Error 1 gmake[3]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/mesa/drivers' gmake[2]: *** [driver_subdirs] Error 2 gmake[2]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src/mesa' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/var/tmp/paludis/media-libs-mesa-9999/work/Mesa-9999/src' make: *** [default] Error 1 /usr/libexec/paludis/utils/emake: emake returned error 2 Reproducible: Always Patch: diff --git a/src/mesa/drivers/dri/r300/r300_queryobj.c b/src/mesa/drivers/dri/r300/r300_queryobj.c index df1fb32..3f3b7e8 100644 --- a/src/mesa/drivers/dri/r300/r300_queryobj.c +++ b/src/mesa/drivers/dri/r300/r300_queryobj.c @@ -95,7 +95,11 @@ static void r300BeginQuery(GLcontext *ctx, struct gl_query_object *q) assert(r300->query.current == NULL); if (!query->bo) { - query->bo = radeon_bo_open(r300->radeon.radeonScreen->bom, 0, PAGE_SIZE, PAGE_SIZE, RADEON_GEM_DOMAIN_GTT, 0); + query->bo = radeon_bo_open(r300->radeon.radeonScreen->bom, 0, PAGE_SIZE, PAGE_SIZE, RADEON_GEM_DOMAIN_GTT, 0 +#ifdef RADEON_DEBUG_BO + ,"OQ" +#endif + ); } query->curr_offset = 0;
Please contact upstream directly. The -9999 ebuilds are provided as a convenience. Thanks