Re: [Mesa-dev] [PATCH 1/2] scons: Allow building with Address Sanitizer.

2016-04-13 Thread Jose Fonseca
On 13/04/16 14:41, Emil Velikov wrote: Hi Jose, On 12 April 2016 at 17:03, Jose Fonseca wrote: libasan is never linked to shared objects (which doesn't go well with -z,defs). It must either be linked to the main executable, or (more practically for OpenGL drivers) be

Re: [Mesa-dev] [PATCH 1/2] scons: Allow building with Address Sanitizer.

2016-04-13 Thread Emil Velikov
Hi Jose, On 12 April 2016 at 17:03, Jose Fonseca wrote: > libasan is never linked to shared objects (which doesn't go well with > -z,defs). It must either be linked to the main executable, or (more > practically for OpenGL drivers) be pre-loaded via LD_PRELOAD. > >

Re: [Mesa-dev] [PATCH 1/2] scons: Allow building with Address Sanitizer.

2016-04-12 Thread Roland Scheidegger
Am 12.04.2016 um 18:03 schrieb Jose Fonseca: > libasan is never linked to shared objects (which doesn't go well with > -z,defs). It must either be linked to the main executable, or (more > practically for OpenGL drivers) be pre-loaded via LD_PRELOAD. > > Otherwise works. > > I didn't find

[Mesa-dev] [PATCH 1/2] scons: Allow building with Address Sanitizer.

2016-04-12 Thread Jose Fonseca
libasan is never linked to shared objects (which doesn't go well with -z,defs). It must either be linked to the main executable, or (more practically for OpenGL drivers) be pre-loaded via LD_PRELOAD. Otherwise works. I didn't find anything with llvmpipe. I suspect the fact that the JIT