From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8f2471f1843203bd X-Google-Attributes: gid111c93,public From: Arun Sharma Subject: Re: Netscape for Alpha? Date: 1998/04/02 Message-ID: #1/1 X-Deja-AN: 340288074 Sender: asharma@zugzwang.mcom.com References: <3522d242.0@rainbow.hrz.uni-siegen.de> <3523795c.0@rainbow.hrz.uni-siegen.de> Organization: Netscape Communications Corporation Newsgroups: comp.os.linux.alpha Nils Faerber writes: > It compiled? Really? Yes. > I had a undefined reference to "JB_SP" if I remember correctly which > I was not able to track down. Which versions do you use, > i.e. distribution, compiler and kernel (for the header files)? Sorry, this one didn't make it into the free source. Here's the patch for ns/nsprpub/pr/include/md/_linux.h: Index: _linux.h =================================================================== RCS file: /m/src/ns/nspr20/pr/include/md/_linux.h,v retrieving revision 2.0 retrieving revision 2.1 diff -r2.0 -r2.1 69a70,73 > > #if defined(__GLIBC__) && __GLIBC__ >= 2 > #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP] > #else 70a75,76 > #endif /* defined(__GLIBC__) && __GLIBC__ >= 2 */ > > After the before mentioned problem I gave it try with "make -k" but then I > saw many many more syntax errors due to misdefined or undefined things. Too > bad! NSPR (netscape portable runtime) is like libc. If it doesn't compile, nothing else works. Also, there is a kernel bug that makes ns/nsprpub/pr/test//threads core dump. The behavior I saw was that if a signal (SIGALRM) is delivered while the process is doing sigprocmask, you get a core dump. gdb on Redhat 5.0 can't debug this core dump, because it's buggy. I got a private snapshot from cygnus, which showed that the process was inside a system call (namely sigprocmask) when it died. You can get around this problem by setting NSPR_NOCLOCK=1 in your env. Are you using lesstif to compile ? The Alpha machine we have here is a bit slow and I haven't compiled the released sources on it yet. Also, I'm taking a month off starting tomorrow and shall be checking my mail (adsharma at home.com) only once in a while. Let me know if you need more info. -Arun