UPX 3.08 for Mac OSX generates a binary without the __PAGEZERO segment. This cases "Cannot enforce a hard page-zero" error on OSX Yosemite. Sample binary can be found here:
https://sourceforge.net/p/iso2mesh/code/401/tree/trunk/iso2mesh/bin/cgalmesh.mexmaci64?format=raw
running "otool -lV cgalmesh.mexmaci64" shows only the __TEXT segment.
Relevant discussions can be found at
https://www.marshut.net/kshmnx/statically-linked-binaries-killed-by-signal-9-on-yosemite.html
https://groups.google.com/d/msg/iso2mesh-users/5kctBakrn_Y/Z88shCvaORsJ
upx-3.08 was released on 12-Dec-2011, which is three years ago. The latest released version is upx-3.91 dated 30-Sep-2013, about 15 months ago. upx-3.91 generates the __PAGEZERO segment. Please use upx-3.91 or newer.