<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 - build error - error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89363">89363</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>build error - error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fabio.ped@libero.it
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jfonseca@vmware.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I get this build error after latest today commits:
  CC       shared_glapi_libglapi_la-entry.lo
In file included from ../../../../src/mapi/entry.c:49:0:
../../../../src/mapi/entry_x86-64_tls.h: In function 'entry_generate':
../../../../src/mapi/entry_x86-64_tls.h:105:29: error: pointer of type 'void *'
used in arithmetic [-Werror=pointer-arith]
    *((unsigned int *) (code + 5)) = addr;

Full build log:
<a href="https://launchpadlibrarian.net/198919571/buildlog_ubuntu-utopic-amd64.mesa_10.6~git1502271930.da85ab~gd~u_BUILDING.txt.gz">https://launchpadlibrarian.net/198919571/buildlog_ubuntu-utopic-amd64.mesa_10.6~git1502271930.da85ab~gd~u_BUILDING.txt.gz</a>

configure options:
../../configure --prefix=/usr --mandir=\${prefix}/share/man \
             --infodir=\${prefix}/share/info --sysconfdir=/etc \
             --libdir=\${prefix}/lib/x86_64-linux-gnu \
             --localstatedir=/var \
             --build=x86_64-linux-gnu --enable-dri --with-sha1=libnettle
--with-dri-drivers=" nouveau i915 i965 r200 radeon swrast"
--with-dri-driverdir=/usr/lib/x86_64-linux-gnu/dri
--with-dri-searchpath='/usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri'
--enable-osmesa --enable-glx-tls --enable-shared-glapi --enable-texture-float
--enable-driglx-direct --enable-dri3 --with-egl-platforms="x11 wayland drm"
--enable-xa --enable-gallium-llvm ac_cv_path_LLVM_CONFIG=llvm-config-3.6
--enable-vdpau --enable-omx --enable-va --enable-xvmc --enable-opencl
--enable-opencl-icd --enable-nine --enable-r600-llvm-compiler
--with-gallium-drivers=" nouveau svga swrast r600 r300 i915 ilo radeonsi"
--enable-gles1 --enable-gles2  CFLAGS="-g -O2 -fstack-protector-strong -Wformat
-Werror=format-security  -O2 -fno-omit-frame-pointer -ggdb -g -gdwarf-2
-gstrict-dwarf" CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2
-fstack-protector-strong -Wformat -Werror=format-security  -O2
-fno-omit-frame-pointer -ggdb -g -gdwarf-2 -gstrict-dwarf" FCFLAGS="-g -O2
-fstack-protector-strong" FFLAGS="-g -O2 -fstack-protector-strong" GCJFLAGS="-g
-O2 -fstack-protector-strong" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro"
OBJCFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security"
OBJCXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security"</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>