[Patch, ARM] Enable libsanitizer

Christophe Lyon christophe.lyon@linaro.org
Thu Mar 28 14:34:00 GMT 2013


>> Note that the testsuite currently fails when executing under qemu:
>> - support of /proc/self/maps does not conform to the kernel format.
>>   One extra space is missing from some lines, which confuses libsanitizer.
>>   Patch proposed to upstream qemu:
>>   http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg03051.html
>
> As we discussed in
> https://code.google.com/p/address-sanitizer/issues/detail?id=160
> this may be fixed in libsanitizer, although i'd still prefer the qemu fix.
>
I'll ping the qemu list.


>>
>> - libsanitizer detects if its output is a tty, and when GCC testsuite
>> is executed under qemu, libsanitizer concludes that it is actually
>> running under a tty, and adds beautyfying characters which confuse
>> dejanu.
>
> Is this again a quemu problem?
I still don't know. I tried to investigate some time ago; I thought it
could be a problem when qemu interprets a ~isatty syscall, but IIRC
this syscall isn't used. So I don't know who finally asnwers to the
isatty() query.

Christophe.



More information about the Gcc-patches mailing list