Jakub Jelinek <ja...@redhat.com> writes: > Actually, the problem was that libasan was linked in after libpthread. > Perhaps we need some driver hacks to make sure -lasan comes before -lpthread > when added automatically for -fsanitize=address (and similarly for -ltsan). > For now just tweaking dg-options.
> Ok for trunk? (of course, depends on all the earlier patches from today and > Wei's patch). This is OK, thanks. -- Dodji