https://bugs.kde.org/show_bug.cgi?id=365327
Louis Brunner <louis.brunner...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |louis.brunner...@gmail.com --- Comment #12 from Louis Brunner <louis.brunner...@gmail.com> --- Created attachment 104964 --> https://bugs.kde.org/attachment.cgi?id=104964&action=edit macOS Sierra incomplete support I have been working on a patch to support macOS Sierra. At the moment, it works for a variety of programs (python, GIMP, most basic commands like ls, mkdir) but it is still incomplete (warnings in dyld, libsystem_kernel... crash for some GUI programs). The patch adds a few required syscalls with placeholder implementations (faccessat, fstatat64, csrctl, getentropy and ulock_wake) and the new way of loading dylib (placing them at the end of the currently loaded segments). The second change means we need to know where the last segment was loaded, which means carrying around one more pointer on pointer in every function (which already have 6-9 arguments), that's why I created a structure (load_info_t) to store all this information and easily carry it around. It also adds one assert in is_in_syscall in coregrind/m_syswrap/syswrap-main.c to match the other syscall related functions in the same file. I had a difficult to diagnose crash in this function because it didn't check for the existence of the syscall table. Tell me if you need any change -- You are receiving this mail because: You are watching all bug changes.