[PATCH 1/2] ARC: uaccess: dont use "l" inline as constraint

2017-12-08 Thread Vineet Gupta
This constraint has been removed from gcc There was an earlier fix 3c7c7a2fc8811 which fixed this in delay.h but somehow missed this one as gcc change had not made its way into production toolchains Cc: sta...@vger.kernel.org Signed-off-by: Vineet Gupta --- arch/arc/include/asm/uaccess.h | 5 ++

[PATCH 2/2] ARC: provide for gcc "isolate path" induced generated abort calls

2017-12-08 Thread Vineet Gupta
gcc toggle -fisolate-erroneous-paths-dereference (default at -O2 onwards) isolates faulty code paths such as null pointer access, divide by zero etc. If gcc port doesnt implement __builtin_trap, an abort() is generated which causes kernel link error hence this patch. FWIW ARC gcc now has the built

[PATCH v2] Fix subtle race in tst-cancel2 / tst-cancelx2

2017-12-08 Thread Vineet Gupta
When ran on ARC, these tests would ocassionally fail | [ARCLinux]# for i in 1 2 3 4 5 ; do ./tst-cancel2; echo $?; done | write succeeded | result is wrong: expected 0x, got 0x1 | 1 <-- fail | 0

[PATCH] Fix subtle race in tst-cancel2 / tst-cancelx2

2017-12-08 Thread Vineet Gupta
When ran on ARC, these tests would ocassionally fail | [ARCLinux]# for i in 1 2 3 4 5 ; do ./tst-cancel2; echo $?; done | write succeeded | result is wrong: expected 0x, got 0x1 | 1 <-- fail | 0

Re: [RFC 0/6] glibc port to ARC architecture

2017-12-08 Thread Joseph Myers
On Thu, 7 Dec 2017, Vineet Gupta wrote: > I presume you just want to know 010-glibcs-arc-linux-gnu-check-*.txt after > running > > scripts/build-many-glibcs.py glibcs arc-linux-gnu > > FAIL: elf/check-localplt > Summary of test results: > 1 FAIL >1169 PASS > 15 XFAIL > > And eve