From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:34:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99FD216A469 for ; Sun, 20 May 2007 11:34:11 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 6006513C447 for ; Sun, 20 May 2007 11:34:11 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by solow.pil.dk (Postfix) with ESMTP id BB92F1CC0DF; Sun, 20 May 2007 13:34:10 +0200 (CEST) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id C7C3AB8CF; Sun, 20 May 2007 13:34:09 +0200 (CEST) Date: Sun, 20 May 2007 13:34:09 +0200 From: Henrik Brix Andersen To: Alexander Kabaev Message-ID: <20070520113409.GA42545@tirith.brixandersen.dk> Mail-Followup-To: Alexander Kabaev , freebsd-current@freebsd.org, Michiel Boland , Larry Rosenman References: <20070520022722.1f5a0cda@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Michiel Boland , freebsd-current@freebsd.org, Larry Rosenman Subject: Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 11:34:11 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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 >=20 > 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 --=20 Henrik Brix Andersen --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFGUDIxv+Q4flTiePgRAt7IAJ453m5Y3n12q4HA0Wo0azDOblSF6ACcDrfo ZUajA8mg6d8Xbxsh3HlFLGU= =XF4k -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--