[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Portability testers, please: getting the stack base
From: |
Richard Guenther |
Subject: |
Re: Portability testers, please: getting the stack base |
Date: |
Thu, 19 Oct 2000 11:03:39 +0200 (CEST) |
On 18 Oct 2000, Marius Vollmer wrote:
> Richard Guenther <address@hidden> writes:
>
> > Actual CVS does not compile (IRIX6.5, gcc 2.97 snapshot):
>
> Ok, can you please try again?
>
> 2000-10-18 Marius Vollmer <address@hidden>
>
> * gc_os_dep.c (GC_noop1, GC_bool, TRUE, FALSE, VOLATILE):
> Definitions copied from Boehm collector.
>
> I'm not sure how to proceed best, but I think just ironing this out
> little by little should work. There is not much `real' code with
> external dependencies in there, I guess.
Compiling is ok now - even without --with-threads. But unfortunately
I get the same oops as on ix86 (which I'll try to debug on ix86 as
debugging in IRIX doesnt really work here due to pthreads issues):
(gdb) bt
#0 0x0 in ?? ()
#1 0x40ad064 in scm_shell (argc=268618800, argv=0x0) at script.c:647
Cannot access memory at address 0x2c
(of course this is not very helpful...)
I suspect I'm doing something wrong here - the code I use for testing
is GLAME which you can get via CVS at
cvs -z3 -d:pserver:address@hidden:/cvsroot/glame co
glame
for the cvs password just press ENTER.
The following diff is applied to use the new scm_init stuff (for
relevant startup code follow src/cglame.c to src/glmid/glmid.c -
that should be all). Umm, cannot get access to the cvs at the
moment... hopefully this will be fixed soon. If not I can send
you the relevant files privately.
--- ../../glmid.c Thu Oct 19 11:02:37 2000
+++ src/glmid/glmid.c Thu Oct 19 10:21:18 2000
@@ -130,9 +130,11 @@
if (glame_init() == -1)
return -1;
#ifdef HAVE_GUILE
- argv[0] = NULL;
+ scm_init_guile();
+ main();
+ /* argv[0] = NULL;
argv[1] = (char *)main;
- gh_enter(0, argv, init_after_guile);
+ gh_enter(0, argv, init_after_guile); */
#endif
/* not reached if HAVE_GUILE */
--
Richard Guenther <address@hidden>
WWW: http://www.anatom.uni-tuebingen.de/~richi/
The GLAME Project: http://www.glame.de/
Re: Portability testers, please: getting the stack base, Richard Guenther, 2000/10/12
Re: Portability testers, please: getting the stack base, Dale P. Smith, 2000/10/12
Re: Portability testers, please: getting the stack base, Richard Guenther, 2000/10/12
Re: Portability testers, please: getting the stack base, Marcus G. Daniels, 2000/10/24