This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libsanitizer merge from upstream r208536
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Yury Gribov <y dot gribov at samsung dot com>, Andrew Pinski <pinskia at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Dodji Seketeli <dodji at redhat dot com>, Dmitry Vyukov <dvyukov at google dot com>, Marek Polacek <polacek at redhat dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Yuri Gribov <tetra2005 at gmail dot com>
- Date: Fri, 23 May 2014 08:32:54 +0100
- Subject: Re: libsanitizer merge from upstream r208536
- Authentication-results: sourceware.org; auth=none
- References: <CAGQ9bdxH9rh0Cz8LBYZsuHKEFpkVosNkX2qrX10RGwK5hFEEqg at mail dot gmail dot com> <CA+=Sn1m56D1L6mfAcBWya+Pus2py=r0U8GC08MY6RrDhBJvWKw at mail dot gmail dot com> <CAGQ9bdyTjtxbdH9Ey-tyvce1B7eNQmSrvnRv9uTCw8y8L5y-Qw at mail dot gmail dot com> <53745088 dot 2060603 at samsung dot com> <CAGQ9bdzAYvegO+YA_RNOGjiO6NBwkgwCwjko7Pt+k-aNuDJW+Q at mail dot gmail dot com> <537478B6 dot 60101 at samsung dot com> <20140515083945 dot GK10386 at tucnak dot redhat dot com> <CAGQ9bdwjCH611ByxwDqZcsr1b+9kc_S7-Yp1fotfhu58=QsM2A at mail dot gmail dot com> <20140521194327 dot GX10386 at tucnak dot redhat dot com> <CAGQ9bdyyRYJ=_MjjrKf+nek3Ni4AAtic_m-NkOFdBhQyeEyzvA at mail dot gmail dot com>
- Reply-to: ramrad01 at arm dot com
On Thu, May 22, 2014 at 7:31 AM, Konstantin Serebryany
<konstantin.s.serebryany@gmail.com> wrote:
> On Wed, May 21, 2014 at 11:43 PM, Jakub Jelinek <jakub@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.
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