[Mesa-dev] [Bug 89363] build error - error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 27 10:46:19 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89363
Bug ID: 89363
Summary: build error - error: pointer of type 'void *' used in
arithmetic [-Werror=pointer-arith]
Product: Mesa
Version: git
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: fabio.ped at libero.it
QA Contact: mesa-dev at lists.freedesktop.org
CC: jfonseca at vmware.com
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:
https://launchpadlibrarian.net/198919571/buildlog_ubuntu-utopic-amd64.mesa_10.6~git1502271930.da85ab~gd~u_BUILDING.txt.gz
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"
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150227/92112d8b/attachment.html>
More information about the mesa-dev
mailing list