public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer
@ 2012-12-04 8:35 ktietz at gcc dot gnu.org
2012-12-04 9:34 ` [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-12-04 8:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
Bug #: 55587
Summary: Testsuite test c-c++-common/asn/memcmp-1.c fails to
link on targets without libasan/libsanitizer
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ktietz@gcc.gnu.org
CC: dodji@gcc.gnu.org, dvyukov@gcc.gnu.org,
jakub@gcc.gnu.org, kcc@gcc.gnu.org
Target: i686-*-mingw32 i686-*-cygwin
Due missing dependency library this test fails for none-linux targets.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c fails to link on targets without libasan/libsanitizer
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
@ 2012-12-04 9:34 ` rguenth at gcc dot gnu.org
2012-12-04 9:41 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-04 9:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-12-04
Component|sanitizer |testsuite
Summary|Testsuite test |[ASAN] Testsuite test
|c-c++-common/asn/memcmp-1.c |c-c++-common/asan/memcmp-1.
|fails to link on targets |c fails to link on targets
|without |without
|libasan/libsanitizer |libasan/libsanitizer
Ever Confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-04 09:33:22 UTC ---
Confirmed. The testsuite misses something like dg-require asan.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c fails to link on targets without libasan/libsanitizer
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
2012-12-04 9:34 ` [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c " rguenth at gcc dot gnu.org
@ 2012-12-04 9:41 ` jakub at gcc dot gnu.org
2012-12-04 11:56 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-12-04 9:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-04 09:40:44 UTC ---
asan.exp starts with
if ![check_effective_target_faddress_sanitizer] {
return
}
but that just checks whether -fsanitize=address works, not whether libasan has
been built. That further check is in asan_init, guess we could return 0/1 from
asan_init on whether it found libasan and if it hasn't, don't call
gcc-dg-runtest.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c fails to link on targets without libasan/libsanitizer
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
2012-12-04 9:34 ` [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c " rguenth at gcc dot gnu.org
2012-12-04 9:41 ` jakub at gcc dot gnu.org
@ 2012-12-04 11:56 ` jakub at gcc dot gnu.org
2012-12-04 12:11 ` ktietz at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-12-04 11:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-04 11:55:42 UTC ---
Created attachment 28875
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28875
gcc48-pr55587.patch
Does this patch work for you? Worked for me in a quick testing (both with
libsanitizer around and without).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c fails to link on targets without libasan/libsanitizer
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
` (2 preceding siblings ...)
2012-12-04 11:56 ` jakub at gcc dot gnu.org
@ 2012-12-04 12:11 ` ktietz at gcc dot gnu.org
2012-12-04 13:22 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-12-04 12:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-12-04 12:10:12 UTC ---
(In reply to comment #3)
> Created attachment 28875 [details]
> gcc48-pr55587.patch
>
> Does this patch work for you? Worked for me in a quick testing (both with
> libsanitizer around and without).
Yes, it works for me. Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c fails to link on targets without libasan/libsanitizer
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
` (3 preceding siblings ...)
2012-12-04 12:11 ` ktietz at gcc dot gnu.org
@ 2012-12-04 13:22 ` jakub at gcc dot gnu.org
2012-12-04 13:27 ` jakub at gcc dot gnu.org
2013-06-25 21:38 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-12-04 13:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-04 13:21:31 UTC ---
Author: jakub
Date: Tue Dec 4 13:21:11 2012
New Revision: 194134
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194134
Log:
PR testsuite/55587
* lib/asan-dg.exp (asan_init): Return 1 if libasan has been found,
0 if not.
* g++.dg/asan/asan.exp: Don't run gcc-dg-runtest if [asan_init]
returned 0.
* gcc.dg/asan/asan.exp: Likewise.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/asan/asan.exp
trunk/gcc/testsuite/gcc.dg/asan/asan.exp
trunk/gcc/testsuite/lib/asan-dg.exp
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c fails to link on targets without libasan/libsanitizer
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
` (4 preceding siblings ...)
2012-12-04 13:22 ` jakub at gcc dot gnu.org
@ 2012-12-04 13:27 ` jakub at gcc dot gnu.org
2013-06-25 21:38 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-12-04 13:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-04 13:26:32 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c fails to link on targets without libasan/libsanitizer
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
` (5 preceding siblings ...)
2012-12-04 13:27 ` jakub at gcc dot gnu.org
@ 2013-06-25 21:38 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-06-25 21:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55587
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This patch is broken for testing the already installed GCC.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-06-25 21:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-04 8:35 [Bug sanitizer/55587] New: Testsuite test c-c++-common/asn/memcmp-1.c fails to link on targets without libasan/libsanitizer ktietz at gcc dot gnu.org
2012-12-04 9:34 ` [Bug testsuite/55587] [ASAN] Testsuite test c-c++-common/asan/memcmp-1.c " rguenth at gcc dot gnu.org
2012-12-04 9:41 ` jakub at gcc dot gnu.org
2012-12-04 11:56 ` jakub at gcc dot gnu.org
2012-12-04 12:11 ` ktietz at gcc dot gnu.org
2012-12-04 13:22 ` jakub at gcc dot gnu.org
2012-12-04 13:27 ` jakub at gcc dot gnu.org
2013-06-25 21:38 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).