https://bugs.kde.org/show_bug.cgi?id=365327

Rhys Kidd <rhysk...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #2 from Rhys Kidd <rhysk...@gmail.com> ---
Initial patch set attached that brings up macOS 10.12 support.

Patches against r15949, that allow valgrind and test suite to build on macOS
10.12.

Valgrind binaries do not yet run on macOS 10.12, due to an error mapping the
NULL page during load of /usr/lib/dyld, see output below:

$ uname -v
Darwin Kernel Version 16.0.0: Tue Aug 23 17:02:44 PDT 2016;
root:xnu-3789.1.31~2/RELEASE_X86_64
$ ./vg-in-place -d -d ls
...
--42669:1: initimg Loading client
--42669:1:     ume load_thin_file: begin:   /bin/ls
--42669:2:     ume   mmap fixed (file) (0x100000000, 20480)
--42669:2:     ume   mmap fixed (file) (0x100005000, 4096)
--42669:2:     ume   mmap fixed (file) (0x100006000, 16384)
--42669:1:     ume load_thin_file: begin:   /usr/lib/dyld
--42669:2:     ume   mmap fixed (file) (0x0, 253952)
valgrind: mmap-FIXED(0x0, 253952) failed in UME (load_segment1) with error 12
(Cannot allocate memory).

On OS X 10.11, that equivalent last mmap is at a higher base address:

$ uname -v
Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016;
root:xnu-3248.60.10~1/RELEASE_X86_64
$ ./vg-in-place -d -d ls
...
--64933:1: initimg Loading client
--64933:1:     ume load_thin_file: begin:   /bin/ls
--64933:2:     ume   mmap fixed (file) (0x100000000, 20480)
--64933:2:     ume   mmap fixed (file) (0x100005000, 4096)
--64933:2:     ume   mmap fixed (file) (0x100006000, 16384)
--64933:1:     ume load_thin_file: begin:   /usr/lib/dyld
--64933:2:     ume   mmap fixed (file) (0x7fff5fc00000, 229376)
...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to