[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#162690: marked as done ([parisc]gcc 3.x produces openssl test code that SEGVs with -march=2.0 and optimization >0)



Your message dated Sat, 21 May 2005 23:54:34 +0200
with message-id <87mzqow8h1.fsf@debian.org>
and subject line Bug #162690: [parisc]gcc 3.x produces openssl test code that SEGVs with -march=2.0 and optimization >0
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Sep 2002 17:21:34 +0000
>From kevincarson@shaw.ca Sat Sep 28 12:21:34 2002
Return-path: <kevincarson@shaw.ca>
Received: from shawidc-mo1.cg.shawcable.net (pd4mo1so.prod.shaw.ca) [24.71.223.10] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17vLHZ-0000TF-00; Sat, 28 Sep 2002 12:21:33 -0500
Received: from pd2mr3so.prod.shaw.ca (pd2mr3so-ser.prod.shaw.ca [10.0.141.108])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H35007E6S738B@l-daemon> for submit@bugs.debian.org; Sat,
 28 Sep 2002 11:21:03 -0600 (MDT)
Received: from pn2ml10so.prod.shaw.ca
 (pn2ml10so-qfe0.prod.shaw.ca [10.0.121.80])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with ESMTP id <0H35009C4S73WP@l-daemon> for submit@bugs.debian.org; Sat,
 28 Sep 2002 11:21:03 -0600 (MDT)
Received: from pinky (h24-84-82-78.vc.shawcable.net [24.84.82.78])
 by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002))
 with SMTP id <0H35001FDS7245@l-daemon> for submit@bugs.debian.org; Sat,
 28 Sep 2002 11:21:03 -0600 (MDT)
Date: Sat, 28 Sep 2002 10:21:01 -0700
From: Kevin Carson <kevincarson@shaw.ca>
Subject: [parisc]gcc 3.x produces openssl test code that SEGVs with -march=2.0
 and optimization >0
To: submit@bugs.debian.org
Message-id: <FJEEJFIHHMKEGJNFACHKKEOECIAA.kevincarson@shaw.ca>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
Delivered-To: submit@bugs.debian.org

Package: gcc

Running Debian unstable on PA-RISC platform  (C160 Workstation with 160MHz
PA-8000 CPU)

Compiling openssl 0.9.6g with any level of optimization for PA1.1 produces
code that passes all tests ("make test") and benchmarks ("openssl speed")
successfully.  Using -march=2.0 flag produces code that only runs
successfully at optimization level "-O0"  Any higher optimization fails some
of the test suite (reliably in test/exptest.c for instance).

I've observed this problem with gcc 3.0.4-8 and gcc-3.2.1-0pre2

libc6 2.2.5-14.3

"linux-parisc" configuration string in openssl Configure script for
successful run is
"gcc-3.2:-DB_ENDIAN -DNO_ASM -DTERMIO -O0 -march=2.0 -Wall::::::"

"linux-parisc" configuration string in openssl Configure script for failed
run is "gcc-3.2:-DB_ENDIAN -DNO_ASM -DTERMIO -O1 -march=2.0 -Wall::::::"

Run test by:

cd openssl-0.9.6g
<edit Configure to contain string above in single line>

make clean
./Configure linux-parisc
make test

if optimization is >0 run will fail with segmentation violation in exptest
(tests various operations on the big number library)

Kevin


---------------------------------------
Received: (at 162690-done) by bugs.debian.org; 21 May 2005 21:55:08 +0000
>From falk@debian.org Sat May 21 14:55:08 2005
Return-path: <falk@debian.org>
Received: from smtp06.web.de [217.72.192.224] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DZbw3-0003Mv-00; Sat, 21 May 2005 14:55:07 -0700
Received: from [82.82.220.210] (helo=juist)
	by smtp06.web.de with asmtp (TLSv1:DES-CBC3-SHA:168)
	(WEB.DE 4.105 #291)
	id 1DZbvW-0008U9-00; Sat, 21 May 2005 23:54:34 +0200
Received: from falk by juist with local (Exim 4.50)
	id 1DZbvW-00036n-AH; Sat, 21 May 2005 23:54:34 +0200
To: Kyle McMartin <kyle@there.is.no.cabal.ca>
Cc: debian-hppa@lists.debian.org,  162690-done@bugs.debian.org
Subject: Re: Bug #162690: [parisc]gcc 3.x produces openssl test code that
 SEGVs with -march=2.0 and optimization >0
References: <[🔎] 87ekc0zq2h.fsf@debian.org>
	<[🔎] 20050521212407.GA4446@roadwarrior.mcmartin.ca>
From: Falk Hueffner <falk@debian.org>
X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ
 wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2<T^
Date: Sat, 21 May 2005 23:54:34 +0200
In-Reply-To: <[🔎] 20050521212407.GA4446@roadwarrior.mcmartin.ca> (Kyle
 McMartin's message of "Sat, 21 May 2005 17:24:07 -0400")
Message-ID: <87mzqow8h1.fsf@debian.org>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (cilantro, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: falk@debian.org
X-Sender: falk.hueffner@web.de
Delivered-To: 162690-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Kyle McMartin <kyle@there.is.no.cabal.ca> writes:

> I tried this:
>
> compiler: gcc -DOPENSSL_THREADS -D_REENTRANT -DOPENSSL_NO_KRB5 -DB_ENDIAN -DTERMIO -O1 -march=2.0 -fomit-frame-pointer -Wall -DBN_DIV2W
>
> gcc version 3.3.5 (Debian 1:3.3.5-12)
>
> And the test suite seemed to pass.
>
> I think the bug can safely be closed, since gcc3.3 is the default
> compiler in sarge.

OK, let's do it.

-- 
	Falk



Reply to: