libssl0.9.7 segfaults on arm processors.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssl097 (Debian) |
Fix Released
|
Unknown
|
|||
openssl097 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #253848
http://
In Debian Bug tracker #253848, Len Sorensen (lennartsorensen) wrote : GCC 3.4.0 fixes problem. | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Automatically imported from Debian bug report #253848
http://
Debian Bug Importer (debzilla) wrote : | #3 |
Message-Id: <email address hidden>
Date: Thu, 10 Jun 2004 17:18:26 -0400
From: Len Sorensen <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libssl0.9.7 segfaults on arm processors.
Package: libssl0.9.7
Version: 0.9.7d-3
Severity: critical
Running openssl or ssh or anything else that uses libssl0.9.7 on arm
current segfaults.
The problem appears to be related to optimization level O3 in gcc 3.3.x
I have tried installing gcc 3.3.4 and compiled using -O2 (by changing
the arm defaults in Configure from O3 to O2) and now everything works
perfectly.
Could you change the optimization level for arm and recompile it that
way until gcc gets fixed. I saw some information in a discussion about
the pari package which indicates that it is a case of gcc O3 clobbering
the lr register when doing 'return functionname(
situations.
Thanks.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing')
Architecture: arm (armv5l)
Kernel: Linux 2.4.18-
Locale: LANG=C, LC_CTYPE=C
Versions of packages libssl0.9.7 depends on:
ii debconf [debconf-2.0] 1.4.25 Debian configuration management sy
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.4-1 GCC support library
-- debconf information:
libssl0.
Debian Bug Importer (debzilla) wrote : | #4 |
Message-ID: <email address hidden>
Date: Fri, 11 Jun 2004 14:09:08 -0400
From: Len Sorensen <email address hidden>
To: <email address hidden>
Subject: GCC 3.4.0 fixes problem.
I just finished doing a rebuild at -O3 using gcc 3.4.0 from experimental
and it builds a working library, so it appears the problem is only with
gcc 3.3.x which requires -O2 to build correctly.
Matt Zimmerman (mdz) wrote : | #5 |
This bug is arm-specific, therefore NOTWARTY
In Debian Bug tracker #253848, Steve Langasek (vorlon) wrote : | #6 |
tags 253848 patch
thanks
The attached patch should implement the needed change for building
openssl on arm.
Cheers,
--
Steve Langasek
postmodern programmer
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <email address hidden>
Date: Sat, 10 Jul 2004 21:30:46 -0700
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: libssl0.9.7 segfaults on arm processors.
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-
tags 253848 patch
thanks
The attached patch should implement the needed change for building
openssl on arm.
Cheers,
--
Steve Langasek
postmodern programmer
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-
diff -u openssl-
--- openssl-
+++ openssl-
@@ -377,7 +377,7 @@
"debian-
"debian-
"debian-
-"debian-
+"debian-
#"debian-
"debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_
#"debian-
diff -u openssl-
--- openssl-
+++ openssl-
@@ -1,3 +1,11 @@
+openssl (0.9.7d-3.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Change optimization used on arm to work around a compiler bug in gcc
+ 3.3 (closes: #253848).
+
+ -- Steve Langasek <email address hidden> Sat, 10 Jul 2004 21:09:02 -0700
+
openssl (0.9.7d-3.1) unstable; urgency=low
* Non-maintainer upload.
--3MwIy2ne0vdjd
In Debian Bug tracker #253848, Thom May (thombot) wrote : NMU | #8 |
Hi,
I'll be uploading openssl-0.9.7d-3.2 to DELAYED/5 days with the following
patch shortly.
This is a 32 day old critical bug which is causing build failures on arm.
Cheers,
-Thom
diff -ur openssl-
--- openssl-
+++ openssl-
@@ -377,7 +377,7 @@
"debian-
"debian-
"debian-
-"debian-
+"debian-
#"debian-
"debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_
#"debian-
diff -ur openssl-
--- openssl-
+++ openssl-
@@ -1,3 +1,11 @@
+openssl (0.9.7d-3.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Change optimisation on arm to work around a compiler bug in gcc 3.3
+ (Closes: #253848)
+
+ -- Thom May <email address hidden> Tue, 13 Jul 2004 18:41:55 +0100
+
openssl (0.9.7d-3.1) unstable; urgency=low
* Non-maintainer upload.
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Tue, 13 Jul 2004 19:40:48 +0100
From: Thom May <email address hidden>
To: <email address hidden>
Cc: Christoph Martin <email address hidden>
Subject: NMU
--qtZFehHsKgwS5rPz
Content-Type: text/plain; charset=iso-8859-1
Content-
Content-
Hi,=20
I'll be uploading openssl-0.9.7d-3.2 to DELAYED/5 days with the following
patch shortly.
This is a 32 day old critical bug which is causing build failures on arm.
Cheers,
-Thom
diff -ur openssl-
--- openssl-
+++ openssl-
@@ -377,7 +377,7 @@
"debian-
:-ldl:SIXTY_
:linux-
"debian-
l::-D_REENTRANT
alpha_asm}
"debian-
l::-D_REENTRANT
alpha_asm}
-"debian-
EENTRANT:
(SHLIB_
+"debian-
EENTRANT:
(SHLIB_
#"debian-
D_REENTRANT:
nux-shared:
"debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=3Dint=
::-D_REENTRANT:
DES_UNROLL:
HLIB_MAJOR)
#"debian-
::SIXTY_
d-gcc-shared:
diff -ur openssl-
--- openssl-
+++ openssl-
@@ -1,3 +1,11 @@
+openssl (0.9.7d-3.2) unstable; urgency=3Dlow
+
+ * Non-maintainer upload.
+ * Change optimisation on arm to work around a compiler bug in gcc 3.3
+ (Closes: #253848)
+
+ -- Thom May <email address hidden> Tue, 13 Jul 2004 18:41:55 +0100
+
openssl (0.9.7d-3.1) unstable; urgency=3Dlow
=20
* Non-maintainer upload.
--qtZFehHsKgwS5rPz
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-...
In Debian Bug tracker #253848, Thom May (thombot) wrote : Fixed in NMU of openssl 0.9.7d-3.2 | #10 |
tag 253848 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 13 Jul 2004 18:41:55 +0100
Source: openssl
Binary: libssl-dev openssl libcrypto0.9.7-udeb libssl0.9.7
Architecture: source sparc
Version: 0.9.7d-3.2
Distribution: unstable
Urgency: low
Maintainer: Christoph Martin <email address hidden>
Changed-By: Thom May <email address hidden>
Description:
libcrypto0.
libssl-dev - SSL development libraries, header files and documentation
libssl0.9.7 - SSL shared libraries
openssl - Secure Socket Layer (SSL) binary and related cryptographic tools
Closes: 253848
Changes:
openssl (0.9.7d-3.2) unstable; urgency=low
.
* Non-maintainer upload.
* Change optimisation on arm to work around a compiler bug in gcc 3.3
(Closes: #253848)
Files:
ab91cc7147ebbe
5768b1faee3d0e
5cd65e7e8405ad
98b1f649837fb0
ddf2e2fda72279
6a2e95e7b0b0de
package-type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQIVAwUBQPQudLV
ioV/MN6u6USzBRV
VxtWLWlOZTX/
5318Tm5jKi3uQAk
DMrtJz63aECnldf
W0w7uDpLhI9OuEp
RKLkMmGJZ+
ht8SREUwL2fquIy
Zi2i/gkUfu4wYNw
BVCiY14L2Mr1BiZ
0PkzzTcIFLHlZgy
GfAkRUseHYw=
=ze8O
-----END PGP SIGNATURE-----
In Debian Bug tracker #253848, Christoph Martin (christoph-martin) wrote : Bug#253848: fixed in openssl 0.9.7d-4 | #11 |
Source: openssl
Source-Version: 0.9.7d-4
We believe that the bug you reported is fixed in the latest version of
openssl, which is due to be installed in the Debian FTP archive:
libcrypto0.
to pool/main/
libssl-
to pool/main/
libssl0.
to pool/main/
openssl_
to pool/main/
openssl_
to pool/main/
openssl_
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Martin <email address hidden> (supplier of updated openssl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Format: 1.7
Date: Wed, 14 Jul 2004 14:31:02 +0200
Source: openssl
Binary: libssl-dev openssl libcrypto0.9.7-udeb libssl0.9.7
Architecture: source i386
Version: 0.9.7d-4
Distribution: unstable
Urgency: low
Maintainer: Christoph Martin <email address hidden>
Changed-By: Christoph Martin <email address hidden>
Description:
libcrypto0.
libssl-dev - SSL development libraries, header files and documentation
libssl0.9.7 - SSL shared libraries
openssl - Secure Socket Layer (SSL) binary and related cryptographic tools
Closes: 248749 250010 253848 254561
Changes:
openssl (0.9.7d-4) unstable; urgency=low
.
* add Catalan translation (closes: #248749)
* add Spanish translation (closes: #254561)
* include NMU fixes: see below
* decrease optimisation level for debian-arm to work around gcc bug
(closes: #253848) (thanks to Steve Langasek and Thom May)
* Add libcrypto0.
* Add watchfile
Files:
99d6253bb01089
31fbd21c77d786
bccd82b7dd4524
a0e66e0b880767
d4e8b553685358
7d10d3b589293b
package-type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQEVAwUBQPZAam4
OoukdZfvlr6QL4I
J6upLAHkimJTsyO
Im/oexyIqK1jJR/
Debian Bug Importer (debzilla) wrote : | #12 |
Message-Id: <email address hidden>
Date: Wed, 14 Jul 2004 16:32:11 -0400
From: Thom May <email address hidden>
To: <email address hidden>
Cc: Thom May <email address hidden>, Christoph Martin <email address hidden>
Subject: Fixed in NMU of openssl 0.9.7d-3.2
tag 253848 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 13 Jul 2004 18:41:55 +0100
Source: openssl
Binary: libssl-dev openssl libcrypto0.9.7-udeb libssl0.9.7
Architecture: source sparc
Version: 0.9.7d-3.2
Distribution: unstable
Urgency: low
Maintainer: Christoph Martin <email address hidden>
Changed-By: Thom May <email address hidden>
Description:
libcrypto0.
libssl-dev - SSL development libraries, header files and documentation
libssl0.9.7 - SSL shared libraries
openssl - Secure Socket Layer (SSL) binary and related cryptographic tools
Closes: 253848
Changes:
openssl (0.9.7d-3.2) unstable; urgency=low
.
* Non-maintainer upload.
* Change optimisation on arm to work around a compiler bug in gcc 3.3
(Closes: #253848)
Files:
ab91cc7147ebbe
5768b1faee3d0e
5cd65e7e8405ad
98b1f649837fb0
ddf2e2fda72279
6a2e95e7b0b0de
package-type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQIVAwUBQPQudLV
ioV/MN6u6USzBRV
VxtWLWlOZTX/
5318Tm5jKi3uQAk
DMrtJz63aECnldf
W0w7uDpLhI9OuEp
RKLkMmGJZ+
ht8SREUwL2fquIy
Zi2i/gkUfu4wYNw
BVCiY14L2Mr1BiZ
0PkzzTcIFLHlZgy
GfAkRUseHYw=
=ze8O
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <email address hidden>
Date: Thu, 15 Jul 2004 04:47:05 -0400
From: Christoph Martin <email address hidden>
To: <email address hidden>
Subject: Bug#253848: fixed in openssl 0.9.7d-4
Source: openssl
Source-Version: 0.9.7d-4
We believe that the bug you reported is fixed in the latest version of
openssl, which is due to be installed in the Debian FTP archive:
libcrypto0.
to pool/main/
libssl-
to pool/main/
libssl0.
to pool/main/
openssl_
to pool/main/
openssl_
to pool/main/
openssl_
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Martin <email address hidden> (supplier of updated openssl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Format: 1.7
Date: Wed, 14 Jul 2004 14:31:02 +0200
Source: openssl
Binary: libssl-dev openssl libcrypto0.9.7-udeb libssl0.9.7
Architecture: source i386
Version: 0.9.7d-4
Distribution: unstable
Urgency: low
Maintainer: Christoph Martin <email address hidden>
Changed-By: Christoph Martin <email address hidden>
Description:
libcrypto0.
libssl-dev - SSL development libraries, header files and documentation
libssl0.9.7 - SSL shared libraries
openssl - Secure Socket Layer (SSL) binary and related cryptographic tools
Closes: 248749 250010 253848 254561
Changes:
openssl (0.9.7d-4) unstable; urgency=low
.
* add Catalan translation (closes: #248749)
* add Spanish translation (closes: #254561)
* include NMU fixes: see below
* decrease optimisation level for debian-arm to work around gcc bug
(closes: #253848) (thanks to Steve Langasek and Thom May)
* Add libcrypto0.
* Add watchfile
Files:
99d6253bb01089
31fbd21c77d786
bccd82b7dd4524
a0e66e0b880767
d4e8b553685358
7d10d3b589293b
package-type: udeb
-----BEGIN PGP SIGNATURE----- iQEVAwUBQPZAam4
Version: GnuPG v1.2.4 (GNU/Linux)
Changed in openssl097: | |
status: | Unknown → Fix Released |
I just finished doing a rebuild at -O3 using gcc 3.4.0 from experimental
and it builds a working library, so it appears the problem is only with
gcc 3.3.x which requires -O2 to build correctly.