unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [patch] get 1.8.8 to build on Solaris 10u9
@ 2011-04-28 15:33 Andrew Gaylard
  2011-04-28 17:55 ` Andy Wingo
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Gaylard @ 2011-04-28 15:33 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

Hi,

With the attached patch, I can build and run guile-1.8.8 on Solaris.
It seems that the old logic that used USRSTACK no longer works,
so I took it out.

Tested on Solaris 10u9, on both SPARC64 and x86_64.

- Andrew

[-- Attachment #2: fix-solaris-stackbase-detection.patch --]
[-- Type: text/x-diff, Size: 680 bytes --]

--- guile-1.8.8/libguile/gc_os_dep.c.orig	Mon Dec 13 19:25:01 2010
+++ guile-1.8.8/libguile/gc_os_dep.c	Fri Apr 15 14:03:13 2011
@@ -714,11 +714,8 @@
 /*      # define STACKBOTTOM ((ptr_t)(_start)) worked through 2.7,      */
 /*      but reportedly breaks under 2.8.  It appears that the stack     */
 /*      base is a property of the executable, so this should not break  */
 /*      old executables.                                                */
-/*      HEURISTIC2 probably works, but this appears to be preferable.   */
-#       include <sys/vm.h>
-#       define STACKBOTTOM ((ptr_t) USRSTACK)
 #	ifndef USE_MMAP
 #	    define USE_MMAP
 #	endif
 #       ifdef USE_MMAP

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-29 20:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 15:33 [patch] get 1.8.8 to build on Solaris 10u9 Andrew Gaylard
2011-04-28 17:55 ` Andy Wingo
2011-04-28 18:19   ` Nelson H. F. Beebe
2011-04-29 20:27   ` Andrew Gaylard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).