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 ++
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
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
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
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