Hi, If it could helps: I modified unexaix.c to add this at the top of file: #define __XCOFF64__ 1 And changed this line: auxentry.x_sym.x_fcnary.x_fcn.x_lnnoptr += bias; by auxentry.x_fcn.x_lnnoptr += bias; It worked but generated a huge bootstrap-emacs file, 4GB and is generating this error: [...] Finding pointers to doc strings... Finding pointers to doc strings...done Dumping under the name emacs 82139 pure bytes used [...] gmake[2]: Entering directory '/data/src/emacs-25.1/leim' GEN ../lisp/leim/leim-list.el exec(): 0509-036 Cannot load program ../src/bootstrap-emacs because of the following errors: 0509-026 System error: There is not enough memory available now. Size of the file: $ ls -l src/bootstrap-emacs -rwxr-xr-x 1 gen01571 staff 4050705370 Dec 08 15:46 src/bootstrap-emacs Thank you