On 27 Jul 2012, at 24:52, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
 Dr. Robert Delius Royar PhD writes:
 
> I installed OS X 10.8 on my iMacs yesterday. XEmacs compiles and
> links without an error. temacs runs and byte compiles the elisp
> files. The build fails near the end when the dumped version of
> XEmacs tries load and run -batch and the batch-update functions.
 
 If you're using the most recent beta, you don't have this patch:
 
 2011-11-27  Marcus Crestani  <crestani(a)informatik.uni-tuebingen.de>
 
 	* configure.ac: 
 	Add "-Wl,-no_pie" to linker flags on Mac OS X Lion to disable ASLR
 	that breaks pdump.
 	* configure: Regenerate.
 
 One way to go would be to use hg tip. 
First, this message helped me build successfully. I already had tip.
However, configure needs to be patched so that XE_APPEND([-Wl,-no_pie], LDFLAGS) is set
for Mountain Lion as well as Lion. Currently it is set only for Darwin 11, not for 12. I
am not competent with editing autoconf scripts, but I have included a patch to
configure.ac and ChangeLog and attached a regenerated configure.
--- configure.ac.~1~    2011-12-14 10:33:34.000000000 -0500
+++ configure.ac        2012-07-27 07:58:56.000000000 -0400
@@ -2794,6 +2794,10 @@
        AC_MSG_RESULT(yes)
        XE_APPEND([-Wl,-no_pie], LDFLAGS) 
        ;;
+    Darwin:12.*)
+       AC_MSG_RESULT(yes)
+       XE_APPEND([-Wl,-no_pie], LDFLAGS) 
+       ;;
     *) AC_MSG_RESULT(no) ;;
 sace
--- ChangeLog~  2011-12-14 10:33:34.000000000 -0500
+++ ChangeLog   2012-07-27 08:06:09.000000000 -0400
@@ -1,3 +1,10 @@
+2012-07-27  Robert Delius Royar <xemacs(a)frinabulax.org>
+
+       * configure.ac:
+       Add "-Wl,-no_pie" to linker flags on Mac OS X Mountain Lion to 
+       disable ASLR that breaks pdump by extending the darwin version 
+       case to include darwin 12
+       * configure: Regenerate
 2011-11-27  Marcus Crestani  <crestani(a)informatik.uni-tuebingen.de>
 
        * configure.ac: 
-- 
  Robert Delius Royar <xemacs(a)frinabulax.org>
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta