Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
- From: Henrik Brix Andersen <henrik@xxxxxxxxxxxxxxx>
- Date: Sun, 20 May 2007 13:34:09 +0200
Hi,
On Sun, May 20, 2007 at 02:27:22AM -0400, Alexander Kabaev wrote:
there were several reports of OpenSSL being broken when compiled with
GCC 4.2. It turns out OpenSSL uses function casting feature that was
aggressively de-supported by GCC 4.2 and GCC goes as far as inserting
invalid instructions ON PURPOSE to discourage the practice.
Consequently, OpenSSL need the patch similar to attached one to work.
Just in case mailing list will eat the attachment, the patch can be
found at
http://people.freebsd.org/~kan/openssl-gcc42.diff
Thanks. I can confirm that the above patch fixes the openssl core
dumps (illegal instruction) I was seeing after the upgrade to gcc-4.2.
Regards,
Brix
--
Henrik Brix Andersen <henrik@xxxxxxxxxxxxxxx>
Attachment:
pgpmU1dd5BLnb.pgp
Description: PGP signature
- References:
- HEADS UP: OpenSSL problems after GCC 4.2 upgrade
- From: Alexander Kabaev
- HEADS UP: OpenSSL problems after GCC 4.2 upgrade
- Prev by Date: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
- Next by Date: ruby-1.8.6 and GCC-4.2 issues
- Previous by thread: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
- Next by thread: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
- Index(es):
Relevant Pages
|