🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Even Holen Fri, 03 Mar 2000 00:00
[slrn] SigSEGV when using -O2 under hpux 10
#58873
Author: Even Holen
Date: Fri, 03 Mar 2000 00:00
17 lines
1452 bytes
When compiling slrn, at least up to and including verison 0.9.6.2, I've
discovered that using -O2 (as is in default distribution) gives me
segmentation violations when starting slrn.  If I do recompile removing
the '-O2' everything works nicely. I've been using gcc, version 2.8.1. 
(I haven't tried the newer egcs, so that might solve this... )

Have anybody experienced this problem, beside me, and if so is there any
fixes/patches to solve it?

(As a side note, I've compiled slrn on about a dozen platforms, and so
 far it's only hpux which have given me a problem using '-O2' )
Regards,
Even Holen
-- 
<><   Even Holen, evenh@pvv.ntnu.no, http://www.pvv.ntnu.no/~evenh/   :-)

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58876
Author: Ralf Hildebrandt
Date: Fri, 03 Mar 2000 00:00
20 lines
1508 bytes
On 3 Mar 2000 15:21:02 GMT, Even Holen <evenh+njus@pvv.ntnu.no> wrote:
>When compiling slrn, at least up to and including verison 0.9.6.2, I've
>discovered that using -O2 (as is in default distribution) gives me
>segmentation violations when starting slrn.  If I do recompile removing
>the '-O2' everything works nicely. I've been using gcc, version 2.8.1. 
>(I haven't tried the newer egcs, so that might solve this... )

No. I'm using 2.95.1 and encountered the same problems.
-O1 doesn't fix the problem, but building without optimization does :)

>Have anybody experienced this problem, beside me, and if so is there any
>fixes/patches to solve it?

Drop optimization.

>(As a side note, I've compiled slrn on about a dozen platforms, and so
> far it's only hpux which have given me a problem using '-O2' )
Same here.

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58878
Author: John E. Davis
Date: Fri, 03 Mar 2000 00:00
10 lines
975 bytes
On 3 Mar 2000 15:21:02 GMT, Even Holen <evenh+njus@pvv.ntnu.no>
wrote:
> far it's only hpux which have given me a problem using '-O2' )

It is an hpux-specifc gcc bug.  Report it to the gcc folks.
Meanwhile, do not use optimization for anything on your system.

--John

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58892
Author: Russ Allbery
Date: Fri, 03 Mar 2000 00:00
15 lines
1251 bytes
John E Davis <davis@space.mit.edu> writes:
> Even Holen <evenh+njus@pvv.ntnu.no> wrote:

>> far it's only hpux which have given me a problem using '-O2' )

> It is an hpux-specifc gcc bug.  Report it to the gcc folks.  Meanwhile,
> do not use optimization for anything on your system.

Given that he's using gcc 2.8.1, I wouldn't even bother reporting it.
That version of gcc is ancient and known to be buggy in various ways.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58902
Author: Ralf Hildebrandt
Date: Sat, 04 Mar 2000 00:00
8 lines
1004 bytes
On Sat, 04 Mar 2000 13:10:03 GMT, Frank Hahn <fhahn@yahoo.com> wrote:

>Have either of you setup Cygwin or Mingw32 on a MS Windows 95 system
>or are you talking about Unix/Unix like operating system?

Unix of course -- HP-UX 10.20 is a Unix

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58909
Author: Ralf Hildebrandt
Date: Sat, 04 Mar 2000 00:00
13 lines
1457 bytes
On 03 Mar 2000 14:31:59 -0800, Russ Allbery <rra@stanford.edu> wrote:

>Given that he's using gcc 2.8.1, I wouldn't even bother reporting it.
>That version of gcc is ancient and known to be buggy in various ways.

It still occurs in 2.95.1 (haven't tried .2 though)

-- 
<Ralf.Hildebrandt@gmx.de> http://www.stahl.bau.tu-bs.de/~hildeb
"Those who do not understand UNIX are condemned to reinvent it -- badly." 
                                                         -- Henry Spencer

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58913
Author: Frank Hahn
Date: Sat, 04 Mar 2000 00:00
22 lines
1455 bytes
On 3 Mar 2000 15:32:09 GMT, Ralf Hildebrandt <hildeb@www.stahl.bau.tu-bs.de>
wrote:
>On 3 Mar 2000 15:21:02 GMT, Even Holen <evenh+njus@pvv.ntnu.no> wrote:
>>(As a side note, I've compiled slrn on about a dozen platforms, and so
>> far it's only hpux which have given me a problem using '-O2' )
>Same here.
>
Have either of you setup Cygwin or Mingw32 on a MS Windows 95 system
or are you talking about Unix/Unix like operating system?

If you have compiled Slrn/Slang using the above compilers, I would
be interested in how you set things up.

Sorry for the intrusion.

-- 
Frank Hahn

"I drink to make other people interesting."
		-- George Jean Nathan

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58922
Author: Ralf Hildebrandt
Date: Sun, 05 Mar 2000 00:00
10 lines
1246 bytes
On Sun, 05 Mar 2000 15:10:11 GMT, Frank Hahn <fhahn@yahoo.com> wrote:

>I saw that Ralf and a previous poster had mentioned that they had
>compiled slrn on several different systems.  I was hoping maybe one
>of them was MS Windows 95 using either Cygwin or Mingw32.

No. But if you subscribe to the mutt-users mailinglist, you might hear about
such a user.

Re: [slrn] SigSEGV when using -O2 under hpux 10
#58931
Author: Frank Hahn
Date: Sun, 05 Mar 2000 00:00
31 lines
1892 bytes
On 04 Mar 2000 18:54:59 +0100, kristian ragndahl <ragndahl@postmaster.co.uk>
wrote:
>hildeb@www.stahl.bau.tu-bs.de (Ralf Hildebrandt) writes:
>
>> On Sat, 04 Mar 2000 13:10:03 GMT, Frank Hahn <fhahn@yahoo.com> wrote:
>> 
>> >Have either of you setup Cygwin or Mingw32 on a MS Windows 95 system
>> >or are you talking about Unix/Unix like operating system?
>> 
>> Unix of course -- HP-UX 10.20 is a Unix
>
>I'm sure Mr Hahn knew that. I think he meant the other 11?
>
I didn't make myself clear on what I was after. ;)

I saw that Ralf and a previous poster had mentioned that they had
compiled slrn on several different systems.  I was hoping maybe one
of them was MS Windows 95 using either Cygwin or Mingw32.

I know that I can download a precompiled version but I wanted to
setup one of the above systems mainly for learning.

Again, I apologize for sneaking in on this with a different
question.

-- 
Frank Hahn

Overdrawn?  But I still have checks left!

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads