On Tue, Sep 23, 2014 at 10:42:31PM +0200, François Dumont wrote: > No I hadn't and try since but without success. When I build with > -fsanitize=thread the produced binary just segfault at startup. It > complained about using -fPIE at compilation time and -lpie at link time but > even with those options it segfault. Don't know what is going wrong. Maybe
At link time it should be -pie, not -lpie. Marek