Hi, среда, 16 ноября 2016 г., 10:43:06 UTC+3 пользователь Park Kit написал: > > Hi Sagar, > > Many thanks for a reply. Although I am seeking to have GCC cross compile > working, it would be great to know that ASAN builds for mips on clang. >
AFAIK current GCC doesn't support MIPS, but IMHO it would be quite trivial to support it now because the runtime part already supports it. All you need is: 1) Define TARGET_ASAN_SHADOW_OFFSET somewhere in gcc/config/mips/mips.c. You can see an example how to do this in gcc/config/arm/arm.c. 2) Add mips*-*-linux* (or whatever triplet you use) entry in libsanitizer/configure.tgt. This should enable libsanitizer build for MIPS. 3) If you succeed you can upstream this change though. Hope it helps you. -Maxim > > Looking forward to good news on that. > > Many thanks > Kit > > 2016년 11월 15일 화요일 오후 6시 56분 48초 UTC, [email protected] 님의 말: >> >> Hi Park, >> >> Sorry for the delay. >> >> In order to run ASAN on mips, we always did a native build of compiler-rt >> on a real mips hardware. We never tried the cross build of compiler-rt. >> >> However, since you need the cross build, I will give it a try and get >> back to you as soon as I get success. >> >> Regards, >> Sagar >> >> On Tuesday, November 15, 2016 at 1:59:15 PM UTC+5:30, Park Kit wrote: >>> >>> Hi all, >>> >>> Could anyone please give me some pointers to try? >>> >>> 2016년 10월 15일 토요일 오전 1시 21분 6초 UTC+1, kcc 님의 말: >>>> >>>> Sagar, Simon, >>>> Could you please consult on ASAN for MIPS? >>>> >>>> On Fri, Oct 14, 2016 at 3:04 PM, Park Kit <[email protected]> wrote: >>>> >>>>> Correction. ASN means ASAN of course. :-) >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "address-sanitizer" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
