<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Dec 12, 2018 at 2:42 PM Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Most assertions and checks are enabled, because NDEBUG is not defined, but DEBUG is not defined either, which is a Mesa-specific definition.<br></div><div><br></div><div>The default debug build for autotools is debugoptimized (-g -O2 -DDEBUG). meson changed that behavior by removing -DDEBUG. Autotools doesn't have what meson calls "debug", which indicates that most people don't want to use "debug" much. People who wanted to -O0 had to set CFLAGS. Now people who want the autotools debug build have to add -DDEBUG into CFLAGS.<br></div></div></blockquote><div><br></div><div>For whatever it's worth, I never do a debug build with either build system without throwing in -O0 because otherwise the symbols are nearly useless.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><div>On top of that, I discovered a 3rd issue with meson:</div><div>* meson --reconfigure doesn't re-run llvm-config.</div><div><br></div><div>Marek<br></div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 12, 2018 at 3:13 PM Bas Nieuwenhuizen <<a href="mailto:bas@basnieuwenhuizen.nl" target="_blank">bas@basnieuwenhuizen.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Dec 12, 2018 at 8:59 PM Marek Olšák <<a href="mailto:maraeo@gmail.com" target="_blank">maraeo@gmail.com</a>> wrote:<br>
><br>
> There are 2 issues with meson:<br>
> * -DDEBUG is not present in debugoptimized builds.<br>
<br>
Do people expect -DDEBUG for debugoptimized? I would think that debug<br>
optimized would be an optimized build with debug symbols, but not<br>
expensive checks & asserts, which would match the current<br>
debugoptimized build?<br>
<br>
> * meson ignores CFLAGS with --reconfigure, for example: CFLAGS="-DDEBUG" meson --reconfigure ... doesn't update CFLAGS.<br>
><br>
> Marek<br>
><br>
> On Mon, Dec 10, 2018 at 6:11 PM Dylan Baker <<a href="mailto:dylan@pnwbakers.com" target="_blank">dylan@pnwbakers.com</a>> wrote:<br>
>><br>
>> Meson 0.49.0 has been out for a couple of days now, and I'd like to make the<br>
>> final call for autotools. My patch is so massive that it's a huge pain to send<br>
>> to the list, the latest versions is here:<br>
>> <a href="https://gitlab.freedesktop.org/dbaker/mesa/commits/delete-autotools" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/dbaker/mesa/commits/delete-autotools</a><br>
>><br>
>> Dylan<br>
>> _______________________________________________<br>
>> mesa-dev mailing list<br>
>> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
>> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div></div></div>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div></div>