<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:andrey.simiklit@gmail.com" title="asimiklit <andrey.simiklit@gmail.com>"> <span class="fn">asimiklit</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - The mesa release config doesn't define NDEBUG when building using meson 0.45.0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109791">bug 109791</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Summary</td>
<td>The mesa release configuration can't be build using meson 0.45.0
</td>
<td>The mesa release config doesn't define NDEBUG when building using meson 0.45.0
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - The mesa release config doesn't define NDEBUG when building using meson 0.45.0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109791#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - The mesa release config doesn't define NDEBUG when building using meson 0.45.0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109791">bug 109791</a>
from <span class="vcard"><a class="email" href="mailto:andrey.simiklit@gmail.com" title="asimiklit <andrey.simiklit@gmail.com>"> <span class="fn">asimiklit</span></a>
</span></b>
<pre>(In reply to Eero Tamminen from <a href="show_bug.cgi?id=109791#c1">comment #1</a>)
<span class="quote">> >The mesa release configuration can't be build using meson 0.45.0
>
> Does this mean that the build actually fails, or...
>
> > -DNDEBUG is not passed to GCC, even if buildtype=release b_ndebug=true
>
> ...just that NDEBUG define value (for disabling asserts) is wrong during
> building?
>
>
> I'm asking because Mesa builds and works fine with Meson 0.45.1 in Ubuntu
> 18.04 (latest LTS release) and following options:
> -Ddri-drivers=i965,swrast
> -Dvulkan-drivers=intel,amd
> -Dgallium-drivers=iris,radeonsi
> -Dllvm=true
> -Dplatforms=x11,wayland,drm,surfaceless
> -Ddri3=true
> -Dgbm=true
> -Degl=true
> -Dvalgrind=true
> -Dlibunwind=true
> -Dtools=intel-ui
>
> (Newer Meson version, 0.47.2, comes only in Ubuntu 18.10. It wasn't updated
> with the first HW-enabling 18.04 LTS update, at least not yet.)</span >
Yes, NDEBUG define value is wrong during building.
Maybe we can add at least some warning message for this case buildtype=release
+ b_ndebug=true ?
And I will change bug title to something like:
"The mesa release config doesn't define NDEBUG when building using meson
0.45.0"</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>