Mailinglist Archive: opensuse-bugs (15061 mails)
| < Previous | Next > |
[Bug 307669] New: openssl: still gcc 4.2 problems
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 5 Sep 2007 03:10:08 -0600 (MDT)
- Message-id: <bug-307669-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=307669#c429740
Summary: openssl: still gcc 4.2 problems
Product: openSUSE 10.3
Version: Beta 2
Platform: All
OS/Version: openSUSE 10.3
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Security
AssignedTo: mkoenig@xxxxxxxxxx
ReportedBy: mkoenig@xxxxxxxxxx
QAContact: qa@xxxxxxx
CC: security-team@xxxxxxx
Found By: Development
There are still gcc 4.2 build problems with openssl.
The following warning appears in the build log:
gcc -fprofile-generate -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DNO_ASM
-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-fomit-frame-pointer -fno-strict-aliasing -DTERMIO -Wall -fstack-protector
-c -o ocsp_ext.o ocsp_ext.c
ocsp_ext.c: In function 'OCSP_crlID_new':
ocsp_ext.c:447: warning: function called through a non-compatible type
ocsp_ext.c:447: note: if this code is reached, the program will abort
ocsp_ext.c: In function 'OCSP_accept_responses_new':
ocsp_ext.c:476: warning: function called through a non-compatible type
ocsp_ext.c:476: note: if this code is reached, the program will abort
ocsp_ext.c: In function 'OCSP_archive_cutoff_new':
ocsp_ext.c:497: warning: function called through a non-compatible type
ocsp_ext.c:497: note: if this code is reached, the program will abort
ocsp_ext.c: In function 'OCSP_url_svcloc_new':
ocsp_ext.c:536: warning: function called through a non-compatible type
ocsp_ext.c:536: note: if this code is reached, the program will abort
Although there are currently no test suite failures, this issue seems critical
to me (I observed some s390 failures of openssl for a couple of days, which
might be related to this, however for some reason they disappeared now).
The following patch (from debian #429740) should fix the problem:
--- crypto/ocsp/ocsp.h.orig 2007-09-02 17:56:39.000000000 +0200
+++ crypto/ocsp/ocsp.h 2007-09-02 18:04:50.000000000 +0200
@@ -469,7 +469,7 @@
ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d,
void *data, STACK_OF(ASN1_OBJECT) *sk);
#define ASN1_STRING_encode_of(type,s,i2d,data,sk) \
-((ASN1_STRING *(*)(ASN1_STRING *,I2D_OF(type),type *,STACK_OF(ASN1_OBJECT)
*))openssl_fcast(ASN1_STRING_encode))(s,i2d,data,sk)
+ ASN1_STRING_encode(s, CHECKED_I2D_OF(type, i2d), data, sk)
X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim);
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: openssl: still gcc 4.2 problems
Product: openSUSE 10.3
Version: Beta 2
Platform: All
OS/Version: openSUSE 10.3
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Security
AssignedTo: mkoenig@xxxxxxxxxx
ReportedBy: mkoenig@xxxxxxxxxx
QAContact: qa@xxxxxxx
CC: security-team@xxxxxxx
Found By: Development
There are still gcc 4.2 build problems with openssl.
The following warning appears in the build log:
gcc -fprofile-generate -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DNO_ASM
-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-fomit-frame-pointer -fno-strict-aliasing -DTERMIO -Wall -fstack-protector
-c -o ocsp_ext.o ocsp_ext.c
ocsp_ext.c: In function 'OCSP_crlID_new':
ocsp_ext.c:447: warning: function called through a non-compatible type
ocsp_ext.c:447: note: if this code is reached, the program will abort
ocsp_ext.c: In function 'OCSP_accept_responses_new':
ocsp_ext.c:476: warning: function called through a non-compatible type
ocsp_ext.c:476: note: if this code is reached, the program will abort
ocsp_ext.c: In function 'OCSP_archive_cutoff_new':
ocsp_ext.c:497: warning: function called through a non-compatible type
ocsp_ext.c:497: note: if this code is reached, the program will abort
ocsp_ext.c: In function 'OCSP_url_svcloc_new':
ocsp_ext.c:536: warning: function called through a non-compatible type
ocsp_ext.c:536: note: if this code is reached, the program will abort
Although there are currently no test suite failures, this issue seems critical
to me (I observed some s390 failures of openssl for a couple of days, which
might be related to this, however for some reason they disappeared now).
The following patch (from debian #429740) should fix the problem:
--- crypto/ocsp/ocsp.h.orig 2007-09-02 17:56:39.000000000 +0200
+++ crypto/ocsp/ocsp.h 2007-09-02 18:04:50.000000000 +0200
@@ -469,7 +469,7 @@
ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d,
void *data, STACK_OF(ASN1_OBJECT) *sk);
#define ASN1_STRING_encode_of(type,s,i2d,data,sk) \
-((ASN1_STRING *(*)(ASN1_STRING *,I2D_OF(type),type *,STACK_OF(ASN1_OBJECT)
*))openssl_fcast(ASN1_STRING_encode))(s,i2d,data,sk)
+ ASN1_STRING_encode(s, CHECKED_I2D_OF(type, i2d), data, sk)
X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim);
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |