Re: [PATCH] Fix PR55599/sanitizer by disabling static libasan on darwin

2012-12-06 Thread Konstantin Serebryany
Done, r194257. On Thu, Dec 6, 2012 at 12:04 PM, Konstantin Serebryany wrote: > On Thu, Dec 6, 2012 at 10:38 AM, Alexander Potapenko > wrote: >> In fact nothing prevents GCC from having a linkable static ASan runtime. > > Except (as Alex mentions) we are not going to support it. > I'll apply thi

Re: [PATCH] Fix PR55599/sanitizer by disabling static libasan on darwin

2012-12-06 Thread Konstantin Serebryany
On Thu, Dec 6, 2012 at 10:38 AM, Alexander Potapenko wrote: > In fact nothing prevents GCC from having a linkable static ASan runtime. Except (as Alex mentions) we are not going to support it. I'll apply this patch later (~today). --kcc > The reason for the static library being unusable is not

Re: [PATCH] Fix PR55599/sanitizer by disabling static libasan on darwin

2012-12-05 Thread Alexander Potapenko
In fact nothing prevents GCC from having a linkable static ASan runtime. The reason for the static library being unusable is not in the dynamic runtime itself, but in mach_override not working well with other GCC libraries (it is unable to parse some function prologues). Because ASan is transitioni

Re: [PATCH] Fix PR55599/sanitizer by disabling static libasan on darwin

2012-12-05 Thread Mike Stump
On Dec 5, 2012, at 10:43 AM, Jack Howarth wrote: > The transition of libasan on darwin from using mach_override to the > replacement mac function > imposition code results in a non-functional static libasan (PR55599). Ok unless the asan people have a better idea...