Article View: news.software.readers
Article #42105Re: slrn: Illegal instruction on AIX
From: James Yang
Date: Wed, 15 Jul 1998 00:00
Date: Wed, 15 Jul 1998 00:00
27 lines
1587 bytes
1587 bytes
On 8 Jul 1998 12:13:53 GMT, Even Holen <evenh@ra.pvv.ntnu.no> wrote: >I've compiled a few versions of slrn, and they quite simple crash. > >The last version I've compiled is 0.9.5.2. After a trial run with >'gdb slrn' it reports the following when selecting a newsgroup: > Scoring articles: 0%, Killed: 0, High: 0, Low: 0 > Program received signal SIGILL, Illegal instruction. > 0x0 in ?? () from /Stores/pvv/slrn/ver-0.9.5.2/bin/slrn@rs6aix4 > >Does anybody know what to do? There's some weirdness going on in the calls to qsort() in art.c. Try commenting out the void * qsort_fun, qsort_fun = ..., and replace the qsort_fun with qsort instead. There should be two functions containing these sequences. You'll get a warning when you compile, but it seems to work. I've also been using 0.9.5.2 compiled with xlc instead of gcc. I don't think it had the same problem when i compiled it. This is AIX 4.1.4, gcc 2.7.0. Regards, --James
Technical Details
Message-ID:
<slrn6qog06.d9o.jamesy@bohr.ruph.cornell.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn6q6ojt.kmu.evenh@ra.pvv.ntnu.no>Show Full Headers
Complete Article Headers
Message-ID: <slrn6qog06.d9o.jamesy@bohr.ruph.cornell.edu> Subject: Re: slrn: Illegal instruction on AIX Date: Wed, 15 Jul 1998 00:00:00 +0000 From: jamesy@bohr.ruph.cornell.edu (James Yang) References: <slrn6q6ojt.kmu.evenh@ra.pvv.ntnu.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 371588328 Sender: jty2@cornell.edu (Verified) Organization: Cornell University Newsgroups: news.software.readers