Hello There!
I'm attempting to build pth-1.3.7 (as distributed with jabber) on a
Cobalt Qube II.
I have hacked pth_mctx.c slightly to get it to build. It's obviously
the wrong hack, beacuse the application (jabberd) core dumps in
pth_spawn_trampoline().
Here is the output of "make test":
=== TESTING GLOBAL LIBRARY API ===
Fetching library version
version = 0x103207
=== TESTING BASIC OPERATION ===
Initializing Pth system (spawns scheduler and main thread)
Please send the following summary line together with details about
the configuration (pth_acdef.h, pth_acmac.h, config.status, config.log)
and build/test steps (output of 'make' and 'make test') to the author
Ralf S. Engelschall <[EMAIL PROTECTED]> to help him in tracking
down your platform problem.
Pth: FAILED: mips-cobalt-linux-gnu2.0glibc2.0 | sjlj/sjljlx/none | down
| 1.3.7
This is a linux 2.0.34 system:
[dsmith@borg pth-1.3.7]$ uname -a
Linux borg.altus.cc 2.0.34C53_SK #1 Tue May 23 11:53:17 PDT 2000 mips
unknown
Here is what I changed:
[dsmith@borg pth-1.3.7]$ diff -u pth_mctx.c.old pth_mctx.c
--- pth_mctx.c.old Thu Mar 30 14:04:39 2000
+++ pth_mctx.c Tue Apr 17 15:45:14 2001
@@ -469,7 +469,7 @@
&& __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 0 && defined(__mc68000__)
mctx->jb[0].__jmpbuf[0].__aregs[0] = (long int)func;
mctx->jb[0].__jmpbuf[0].__sp = (int *)sk_addr_hi;
-#elif defined(__GNU_LIBRARY__) && defined(__i386__)
+#elif defined(__GNU_LIBRARY__) && (defined(__i386__) ||
defined(__MIPSEL__))
mctx->jb[0].__jmpbuf[0].__pc = (char *)func;
mctx->jb[0].__jmpbuf[0].__sp = sk_addr_hi;
#else
This is a linux 2.0.34 system:
[dsmith@borg pth-1.3.7]$ uname -a
Linux borg.altus.cc 2.0.34C53_SK #1 Tue May 23 11:53:17 PDT 2000 mips
unknown
I currently do not have access to the source for setjmp/longjmp but it
is avaliable somewhere.
Thanks for your help. Oh, could you please CC: me as I'm not on this
this? Thanks.
-Dale
--
Dale P. Smith
Treasurer, Cleveland Linux Users Group http://cleveland.lug.net
Senior Systems Consultant, Altus Technologies Corporation
[EMAIL PROTECTED]
440-746-9000 x309
______________________________________________________________________
GNU Portable Threads (Pth) http://www.gnu.org/software/pth/
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager (Majordomo) [EMAIL PROTECTED]