<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - tools_error2aub-error2aub fails to build"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108120">108120</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>tools_error2aub-error2aub fails to build
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>18.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pmenzel+bugs.freedesktop@molgen.mpg.de
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>I get the error below, building Mesa 18.2.1 with libxcb 1.13.
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-texture-float
```
prefix: /usr
exec_prefix: /usr
libdir: /usr/lib
includedir: /usr/include
OpenGL: yes (ES1: yes ES2: yes)
OSMesa: libOSMesa
DRI platform: drm
DRI drivers: i915 i965 nouveau r200 radeon swrast
DRI driver dir: ${libdir}/dri
GLX: DRI-based
EGL: yes
EGL drivers: builtin:egl_dri2 builtin:egl_dri3
GBM: yes
EGL/Vulkan/VL platforms: drm x11 wayland
Vulkan drivers: radeon
Vulkan ICD dir: ${datarootdir}/vulkan/icd.d
llvm: yes
llvm-config: /usr/bin/llvm-config
llvm-version: 6.0.1
Gallium drivers: nouveau r600 radeonsi svga swrast
Gallium st: mesa xa xvmc vdpau
HUD extra stats: no
HUD lmsensors: no
Shared libs: yes
Static libs: no
Shared-glapi: yes
CFLAGS: -g -O2 -Wall -Werror=implicit-function-declaration
-Werror=missing-prototypes -Wmissing-prototypes -Wno-missing-field-initializers
-fno-math-errno -fno-trapping-math -std=c99
CXXFLAGS: -g -O2 -Wall -fno-math-errno -fno-trapping-math
-Wno-missing-field-initializers
CXX11_CXXFLAGS:
LDFLAGS:
Macros: -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DNDEBUG -DUSE_X86_64_ASM -DHAVE_SYS_SYSCTL_H -DHAVE_DLFCN_H -DHAVE_STRTOF
-DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L
-DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LINUX_FUTEX_H
-DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DGLX_USE_TLS -DHAVE_DRM_PLATFORM -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM
-DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DENABLE_SHADER_CACHE
-DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0600 -DMESA_LLVM_VERSION_PATCH=1
LLVM_CFLAGS: -I/usr/include -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
LLVM_CXXFLAGS: -I/usr/include -std=c++11 -fno-rtti
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
LLVM_CPPFLAGS: -I/usr/include -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
LLVM_LDFLAGS: -L/usr/lib
PYTHON2: python2.7
Run 'make' to build Mesa
[…]
CC tools/tools_error2aub-error2aub.o
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator.c:
In function ‘e
nsure_phys_mem’:
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator.c:208:11:
warning
: unused variable ‘ftruncate_res’ [-Wunused-variable]
int ftruncate_res = ftruncate(mem_fd, mem_fd_len += 4096);
^~~~~~~~~~~~~
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator.c:
In function ‘g
et_ggtt_batch_bo’:
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator.c:321:13:
warning
: unused variable ‘res’ [-Wunused-variable]
void *res = mmap((uint8_t *)bo.map + map_offset, 4096, PROT_READ,
^~~
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator.c:
In function ‘g
et_ppgtt_batch_bo’:
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator.c:382:13:
warning
: unused variable ‘res’ [-Wunused-variable]
void *res = mmap((uint8_t *)bo.map + (page - bo.addr), 4096, PROT_READ,
^~~
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/error2aub.c:
In function ‘fail_if’:
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/error2aub.c:46:4:
error: implicit declaration of function ‘va_start’; did you mean ‘assert’?
[-Werror=implicit-function-declaration]
va_start(args, format);
^~~~~~~~
assert
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/error2aub.c:48:4:
error: implicit declaration of function ‘va_end’; did you mean ‘rand’?
[-Werror=implicit-function-declaration]
va_end(args);
^~~~~~
rand
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator_error_decode.c:
In function ‘main’:
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/aubinator_error_decode.c:759:11:
warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret;
^~~
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/error2aub.c:
In function ‘main’:
/dev/shm/bee-root/mesalib/mesalib-18.2.1-0/source/src/intel/tools/error2aub.c:279:13:
warning: ‘bo_addr’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
aub_write_trace_block(&aub, AUB_TRACE_TYPE_BATCH,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data, bo_size, bo_addr);
~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
```</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>