Re: ASN for MIPS with either clang or gcc

2016-12-14 Thread Yuri Gribov
On Wed, Dec 14, 2016 at 12:15 PM, Maxim Ostapenko wrote: > Hi, > > 2016-12-14 10:23 GMT+03:00 Park Kit : >> >> Hi Maxim, >> >> Sorry for a slow response since I took some time to check ASAN's working >> on a target platform. Thanks to your help, have managed to build ASAN with >> uclibc and builds

Re: ASN for MIPS with either clang or gcc

2016-12-14 Thread Maxim Ostapenko
Hi, 2016-12-14 10:23 GMT+03:00 Park Kit : > Hi Maxim, > > Sorry for a slow response since I took some time to check ASAN's working > on a target platform. Thanks to your help, have managed to build ASAN with > uclibc and builds fine. However, gets a seg fault when runs it on a target: > > #1 0x2

Re: ASN for MIPS with either clang or gcc

2016-12-13 Thread Park Kit
Hi Maxim, Sorry for a slow response since I took some time to check ASAN's working on a target platform. Thanks to your help, have managed to build ASAN with uclibc and builds fine. However, gets a seg fault when runs it on a target: #1 0x2aabf414 in __pthread_initialize_minimal_internal () from

Re: ASN for MIPS with either clang or gcc

2016-11-28 Thread Park Kit
Ah, sorry for that since I have missed that. Will give it try and update you on that. Many thanks, Kit https://kitpark.slack.com/ -- Sorry for a terse reply or typo as sent from a mobile. 2016-11-28 14:42 GMT+00:00 Maxim Ostapenko : > > > 2016-11-28 17:38 GMT+03:00 Park Kit : > >> Hi Maxim,

Re: ASN for MIPS with either clang or gcc

2016-11-28 Thread Maxim Ostapenko
2016-11-28 17:38 GMT+03:00 Park Kit : > Hi Maxim, > > Once done 3) make - j12 from step 3, run 'make install' which is different > from step 2 in the reference. Have set rpath to dismiss link errors: > > /home/NDS-UK/kyoupark/asn/install-4.8.2/bin/../lib/gcc/ > mips-linux/4.8.2/../../../../mips-li

Re: ASN for MIPS with either clang or gcc

2016-11-28 Thread Park Kit
Hi Maxim, Once done 3) make - j12 from step 3, run 'make install' which is different from step 2 in the reference. Have set rpath to dismiss link errors: /home/NDS-UK/kyoupark/asn/install-4.8.2/bin/../lib/gcc/mips-linux/4.8.2/../../../../mips-linux/bin/ld: warning: libpthread.so.0, needed by /hom

Re: ASN for MIPS with either clang or gcc

2016-11-28 Thread Maxim Ostapenko
2016-11-28 16:31 GMT+03:00 Park Kit : > Hi Maxim, > Hi, > > You're right. Have managed to have ASAN in build step. Very appreciated > for your advice up until now. However, found two things to check: > > 1. You said you used GCC trunk and I am trying out GCC 4.8.2. See > differences between the

Re: ASN for MIPS with either clang or gcc

2016-11-28 Thread Park Kit
Hi Maxim, You're right. Have managed to have ASAN in build step. Very appreciated for your advice up until now. However, found two things to check: 1. You said you used GCC trunk and I am trying out GCC 4.8.2. See differences between them in applying patches you sent and build error such as ../.

Re: ASN for MIPS with either clang or gcc

2016-11-25 Thread Maxim Ostapenko
25 Ноя 2016 г. 21:41 пользователь "Park Kit" написал: > > Hi Maxim, > > Still didn't build. The problem as far as I see, is "libgcc" since it should done in later steps(according to the reference) and it fails to build but when use all-gcc target, it didn't build libgcc so not a problem in this ca

Re: ASN for MIPS with either clang or gcc

2016-11-25 Thread Park Kit
Hi Maxim, Still didn't build. The problem as far as I see, is "libgcc" since it should done in later steps(according to the reference) and it fails to build but when use all-gcc target, it didn't build libgcc so not a problem in this case. But "make" tries to build libgcc and failed. The steps I

Re: ASN for MIPS with either clang or gcc

2016-11-25 Thread Maxim Ostapenko
25 Ноя 2016 г. 20:23 пользователь "Park Kit" написал: > > Hi Maxim, Hi > > Really appreciated for the link which works for me when follows exactly. However, I am seeing two differences from you when trying to build ASAN: > > 1. Used the same glibc version but no error on a machine I use. > 2. Wh

Re: ASN for MIPS with either clang or gcc

2016-11-25 Thread Park Kit
Hi Maxim, Really appreciated for the link which works for me when follows exactly. However, I am seeing two differences from you when trying to build ASAN: 1. Used the same glibc version but no error on a machine I use. 2. When either use a libsanitizer/configure.tgt tweak or --enable-libsanitize

Re: ASN for MIPS with either clang or gcc

2016-11-24 Thread Maxim Ostapenko
Hi, вторник, 22 ноября 2016 г., 17:48:21 UTC+3 пользователь Park Kit написал: > > Hi Sagar, Maxim, > > Appreciated for your try and comments. > > @Sagar, your steps are bit different from what I followed so will give it > a try to build. This confirms at least ASAN works for cross-compile on MIP

Re: ASN for MIPS with either clang or gcc

2016-11-22 Thread Park Kit
Hi Sagar, Maxim, Appreciated for your try and comments. @Sagar, your steps are bit different from what I followed so will give it a try to build. This confirms at least ASAN works for cross-compile on MIPS and which is great. @Maxim, you're right on 2) and that's what I did. Have you used the

Re: ASN for MIPS with either clang or gcc

2016-11-19 Thread sagar . thakur
Hi Park, *Following are the steps for building LLVM and compiler-rt for target MIPS (Host=x86, Target=MIPS):* 1. Install prerequisites with "sudo apt-get install cmake ninja-build gcc-5-mipsel-linux-gnu g++-5-mipsel-linux-gnu gcc-5-multilib-mipsel-linux-gnu g++-5-multilib-mipsel-linux

Re: ASN for MIPS with either clang or gcc

2016-11-15 Thread Maxim Ostapenko
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

Re: ASN for MIPS with either clang or gcc

2016-11-15 Thread 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. Looking forward to good news on that. Many thanks Kit 2016년 11월 15일 화요일 오후 6시 56분 48초 UTC, sagar@imgtec.com 님의 말: > > Hi Park, > > Sorr

Re: ASN for MIPS with either clang or gcc

2016-11-15 Thread sagar . thakur
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,

Re: ASN for MIPS with either clang or gcc

2016-11-15 Thread Park Kit
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 > wrote: > >> Correction. ASN means ASAN of course. :-) >> >> -- >> You recei

Re: ASN for MIPS with either clang or gcc

2016-10-14 Thread Konstantin Serebryany
Sagar, Simon, Could you please consult on ASAN for MIPS? On Fri, Oct 14, 2016 at 3:04 PM, Park Kit 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

Re: ASN for MIPS with either clang or gcc

2016-10-14 Thread Park Kit
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 address-sanitizer+unsubscr...@googlegroups.com. For more options,