🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #58876

Re: [slrn] SigSEGV when using -O2 under hpux 10

#58876
From: 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.

Technical Details
Message-ID: <slrn8bvmnp.srk.hildeb@stahlw06.stahl.bau.tu-bs.de>
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
References: <slrn8bvdug.604.evenh+njus@ai.pvv.ntnu.no>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8bvmnp.srk.hildeb@stahlw06.stahl.bau.tu-bs.de>
Subject: Re: [slrn] SigSEGV when using -O2 under hpux 10
Date: Fri, 03 Mar 2000 00:00:00 +0000
From: hildeb@www.stahl.bau.tu-bs.de (Ralf Hildebrandt)
References: <slrn8bvdug.604.evenh+njus@ai.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: 592704461
Distribution: world
Organization: TU Braunschweig, Germany
User-Agent: slrn/0.9.5.7 (UNIX)
Newsgroups: news.software.readers