This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Enable building of libsanitizer on sparc linux again.
- From: Dodji Seketeli <dodji at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Diego Novillo <dnovillo at google dot com>, David Miller <davem at davemloft dot net>, Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- Date: Thu, 15 Nov 2012 11:56:40 +0100
- Subject: [PATCH] Enable building of libsanitizer on sparc linux again.
David Miller <davem@davemloft.net> wrote
> From: Dodji Seketeli <dodji@redhat.com>
> Date: Wed, 14 Nov 2012 14:26:40 +0100
>
> > I guess we could do that. That would build libsanitizer, but asan will
> > still not be available on sparc if the asan_shadow_offset() target hook
> > is not provided. Is that OK to you?
>
> Yes.
So, here is the (IMO obvious) patch to enable libsanitizer's build on
sparc linux, even if asan is not supported on that platform yet.
OK for trunk?
libsanitizer/ChangeLog:
* configure.tgt: Enable sparc linux.
---
libsanitizer/configure.tgt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index ca7ac1f..988312e 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -20,7 +20,7 @@
# Filter out unsupported systems.
case "${target}" in
- x86_64-*-linux* | i?86-*-linux*)
+ x86_64-*-linux* | i?86-*-linux* | sparc*-*-linux*)
;;
*)
UNSUPPORTED=1
--
Dodji