[Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES

2018-04-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Wed Apr 18 07:02:40 2018
New Revision: 259459

URL: https://gcc.gnu.org/viewcvs?rev=259459&root=gcc&view=rev
Log:
PR sanitizer/85389
* asan/asan_allocator.h (kAllocatorSpace): For __powerpc64__ change
from 0xa00ULL to ~(uptr)0.

Modified:
trunk/libsanitizer/ChangeLog
trunk/libsanitizer/asan/asan_allocator.h

Fixed on the trunk (though backports are still in order to release branches).

[Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES

2018-04-17 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394

seurer at gcc dot gnu.org changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |seurer at gcc dot 
gnu.org

--- Comment #3 from seurer at gcc dot gnu.org ---
I tested the patch Jakub shows and it works fine on powerpc64 with kernels
ranging from 2.6 to 4.13.

[Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES

2018-04-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394

--- Comment #2 from Jakub Jelinek  ---
--- libsanitizer/asan/asan_allocator.h  2017-10-19 13:20:58.926958939 +0200
+++ libsanitizer/asan/asan_allocator.h  2018-04-13 00:24:53.331985820 +0200
@@ -122,7 +122,7 @@ const uptr kAllocatorSpace = ~(uptr)0;
 const uptr kAllocatorSize  =  0x400ULL;  // 4T.
 typedef DefaultSizeClassMap SizeClassMap;
 # elif defined(__powerpc64__)
-const uptr kAllocatorSpace =  0xa00ULL;
+const uptr kAllocatorSpace = ~(uptr)0;
 const uptr kAllocatorSize  =  0x200ULL;  // 2T.
 typedef DefaultSizeClassMap SizeClassMap;
 # elif defined(__aarch64__) && SANITIZER_ANDROID

works, but the performance effects of it are unknown yet.

[Bug sanitizer/85394] [8 Regression] Unable to run sanitized executables on ppc64le Ubuntu and SLES

2018-04-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85394

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-04-13
Version|unknown |8.0
   Target Milestone|--- |8.0
Summary|Unable to run sanitized |[8 Regression] Unable to
   |executables on ppc64le  |run sanitized executables
   |Ubuntu and SLES |on ppc64le Ubuntu and SLES
 Ever confirmed|0   |1