<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Debug mesa]. Dirt 4 crashes after launching"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111339#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Debug mesa]. Dirt 4 crashes after launching"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111339">bug 111339</a>
from <span class="vcard"><a class="email" href="mailto:leozinho29_eu@hotmail.com" title="leozinho29_eu@hotmail.com">leozinho29_eu@hotmail.com</a>
</span></b>
<pre>I tried building Mesa with the same settings as yours, using both gcc-7 and
gcc-8 (and its g++ counterparts), and in both cases the game worked well,
having no crashes. Probably, what is triggering this bug are some different
build settings.
My build commands are based on the build settings used on Ubuntu to build Mesa,
so the meson command is really, really long:
env PREFIX="/usr/local/mesa64" \
CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall"
\
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wall" \
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"
\
PKG_CONFIG_PATH="/usr/local/mesa64/lib/pkgconfig" CC=/usr/bin/gcc-8
CXX=/usr/bin/g++-8 /usr/local/bin/meson build/ \
-Dprefix="/usr/local/mesa64" -Dlibdir="/usr/local/mesa64/lib" \
-Dplatforms="x11,drm,surfaceless" -Ddri3=true \
-Ddri-drivers="i965" -Dgallium-drivers="iris,swrast,virgl"
-Dgallium-vdpau=false -Dgallium-xvmc=false \
-Dgallium-omx=disabled -Dgallium-va=false -Dgallium-xa=false
-Dgallium-nine=false -Dgallium-opencl=disabled \
-Dvulkan-drivers="intel" -Dshader-cache=true -Dshared-glapi=true -Dgles1=true
-Dgles2=true -Dopengl=true -Dgbm=true \
-Dglx=dri -Degl=true -Dglvnd=true -Dasm=true -Dllvm=true -Dlmsensors=true
-Dosmesa=gallium -Dosmesa-bits=8 -Dglx-direct=true
I will try disabling certain settings and removing certain environment
variables to check which parameter is causing the crash.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>