OK Alexey,
Thank you!
On 18 November 2014 02:30, 'Alexey Samsonov' via thread-sanitizer
<
thread-s...@googlegroups.com> wrote:
> Hi,
>
> I wouldn't call it a bug. GCC driver enforces that user explicitly passes
> "-pie" at link step. Otherwise, TSan wouldn't
> work. Looks like GCC just doesn't respect -Wl flags, only passes them
> directly to linker.
>
> Passing "-pie" to GCC instead of passing it directly to linker makes more
> sense - in this case GCC driver might
> want to adjust all kinds of related flags (for instance, -ftls-model)
> accordingly. I think you should just do that.
>
>
>
> --
> Alexey Samsonov, Mountain View, CA
>
> --