On Fri, May 23, 2014 at 11:32 AM, Ramana Radhakrishnan <ramana....@googlemail.com> wrote: > On Thu, May 22, 2014 at 7:31 AM, Konstantin Serebryany > <konstantin.s.serebry...@gmail.com> wrote: >> On Wed, May 21, 2014 at 11:43 PM, Jakub Jelinek <ja...@redhat.com> wrote: >>> On Wed, May 21, 2014 at 04:09:19PM +0400, Konstantin Serebryany wrote: >>>> A new patch based on r209283. >>>> This one has the H.J.'s patches for x32. >>> >>> Ok for trunk then. But please help the ppc*/arm*/sparc* maintainers if >>> issues on >>> those targets are reported. >> Of course. arm should be in a good shape since there are arm users >> upstream, including ourselves. > > On ARM the asan tests have always been a random generator of PASS / > FAIL on qemu despite efforts to "nobble" qemu for /proc/self/maps > outputs.
We ourselves test only Android ARM on a real box. There the tests work. On ARM Linux there are quite a few known test failures (mostly due to unwinding), and no public regular testing. See e.g. http://reviews.llvm.org/D3857 We don't have any experience with running asan on quemu and I remember some complaints regarding quemu itself, e.g. https://code.google.com/p/address-sanitizer/issues/detail?id=160 As usual: if you are interested in supporting asan on any given platform, please work with us upstream. > > On a board where this appears to work well ( my A15 / A7 Odroid XU at home) > > https://gcc.gnu.org/ml/gcc-testresults/2014-05/msg01902.html > > the set of results from before the merge. indicates the following failures. > > Running target unix > FAIL: c-c++-common/asan/asan-interface-1.c -O0 (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -O0 compilation > failed to produce executable > FAIL: c-c++-common/asan/asan-interface-1.c -O1 (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -O1 compilation > failed to produce executable > FAIL: c-c++-common/asan/asan-interface-1.c -O2 (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -O2 compilation > failed to produce executable > FAIL: c-c++-common/asan/asan-interface-1.c -O3 -fomit-frame-pointer > (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -O3 > -fomit-frame-pointer compilation failed to produce executable > FAIL: c-c++-common/asan/asan-interface-1.c -O3 -g (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -O3 -g compilation > failed to produce executable > FAIL: c-c++-common/asan/asan-interface-1.c -Os (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -Os compilation > failed to produce executable > FAIL: c-c++-common/asan/asan-interface-1.c -O2 -flto > -fno-use-linker-plugin -flto-partition=none (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -O2 -flto > -fno-use-linker-plugin -flto-partition=none compilation failed to > produce executable > FAIL: c-c++-common/asan/asan-interface-1.c -O2 -flto > -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) > UNRESOLVED: c-c++-common/asan/asan-interface-1.c -O2 -flto > -fuse-linker-plugin -fno-fat-lto-objects compilation failed to > produce executable > > After the merge I see these new failures instead > > https://gcc.gnu.org/ml/gcc-testresults/2014-05/msg02018.html > > FAIL: c-c++-common/asan/heap-overflow-1.c -O0 output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/heap-overflow-1.c -O1 output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/heap-overflow-1.c -O2 output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/heap-overflow-1.c -O3 -fomit-frame-pointer > output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/heap-overflow-1.c -O3 -g output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/heap-overflow-1.c -Os output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/heap-overflow-1.c -O2 -flto > -fno-use-linker-plugin -flto-partition=none output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/heap-overflow-1.c -O2 -flto > -fuse-linker-plugin -fno-fat-lto-objects output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O0 output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O1 output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O3 > -fomit-frame-pointer output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O3 -g output > pattern test, is > ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -Os output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 -flto > -fno-use-linker-plugin -flto-partition=none output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 -flto > -fuse-linker-plugin -fno-fat-lto-objects output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -O0 output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -O1 output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -O3 -fomit-frame-pointer > output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -O3 -g output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -Os output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 -flto > -fno-use-linker-plugin -flto-partition=none output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 -flto > -fuse-linker-plugin -fno-fat-lto-objects output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -O0 output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -O1 output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -O2 output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -O3 -fomit-frame-pointer > output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -O3 -g output pattern > test, is ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -Os output pattern test, > is ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -O2 -flto > -fno-use-linker-plugin -flto-partition=none output pattern test, is > ================================================================= > FAIL: c-c++-common/asan/use-after-free-1.c -O2 -flto > -fuse-linker-plugin -fno-fat-lto-objects output pattern test, is > ================ > > > > regards > Ramana > >> ppc may get broken -- I haven't heard from anyone there for a while. >> Same for sparc. >> I'll commit later today. >> >> >>> Thanks. >>> >>> Jakub