Date: Sun, 20 May 2007 13:34:09 +0200 From: Henrik Brix Andersen <henrik@brixandersen.dk> To: Alexander Kabaev <kabaev@gmail.com> Cc: Michiel Boland <michiel@boland.org>, freebsd-current@freebsd.org, Larry Rosenman <ler@lerctr.org> Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade Message-ID: <20070520113409.GA42545@tirith.brixandersen.dk> In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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@brixandersen.dk> [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFGUDIxv+Q4flTiePgRAt7IAJ453m5Y3n12q4HA0Wo0azDOblSF6ACcDrfo ZUajA8mg6d8Xbxsh3HlFLGU= =XF4k -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070520113409.GA42545>
