Re: [PATCH v3] mkimage: fix segfault on MacOS arm64

2022-01-31 Thread Tom Rini
On Tue, Jan 25, 2022 at 02:29:44AM +0300, Sergey V. Lobanov wrote: > mkimage segfaults due to the ASLR mechanism on MacOS arm64 > > It is required to use _dyld_get_image_vmaddr_slide() > to prevent segfault on MacOS arm64 > > This patch is based on the discussion > https://github.com/u-boot/u-bo

[PATCH v3] mkimage: fix segfault on MacOS arm64

2022-01-24 Thread Sergey V. Lobanov
mkimage segfaults due to the ASLR mechanism on MacOS arm64 It is required to use _dyld_get_image_vmaddr_slide() to prevent segfault on MacOS arm64 This patch is based on the discussion https://github.com/u-boot/u-boot/commit/3b142045e8a7f0ab17b6099e9226296af45967d0 Thanks to Jessica Clarke, Ronn