Control: reassign -1 libtsan0 On Thu, 2015-08-20 at 19:59 +0200, Jerome Robert wrote: > Package: src:linux > Version: 4.1.5-1 > Severity: normal > > Dear Maintainer, > > Starting with 4.1.3-1 I'm no longer able to use ThreadSanitizer: > > $ echo 'void main(void){}' | gcc -pie -fPIE -fsanitize=thread -xc - && ./a.out > FATAL: ThreadSanitizer: unexpected memory mapping 0x55d400945000-0x55d40094600 > > I don't know if this is a gcc or Linux bug but downgrading Linux to 4.0.8-2 or > 3.16.7-ckt11-1 fix the problem. The problem can be reproduced with both gcc > 4.9.3 > and gcc 5.2.1.
There was an intentional change in the kernel that causes PIEs to be loaded in a different address range: https://git.kernel.org/linus/d1fd836dcf00d2028c700c7e44d2c23404062c90 I think ThreadSanitizer is just going to have to learn about this. Ben. -- Ben Hutchings The generation of random numbers is too important to be left to chance. - Robert Coveyou
signature.asc
Description: This is a digitally signed message part