Hello everyone, I'd like to build mesa with address sanitizer to help
finding bugs ,

I''m using mesa-11.1.2  autogen.sh/configure with env

CFLAGS="-fsanitize=address" CXXFLAGS="-fsanitize=address"
LDFLAGS="-fsanitize=address"
and then make, but it failed when linking .libs/pipe_r300.so with lots
 undefined reference to `__asan_report_XXXXXX`  error, seems some file
didn't link with LDFLAGS.
I've checked the mail list and found others already have built mesa
with ASAN successfully, so did I miss something?
or I must build with scons ? Thanks for help.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to