From owner-freebsd-current@FreeBSD.ORG Sun May 20 07:29:10 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 E041116A46D for ; Sun, 20 May 2007 07:29:10 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 4999E13C4C1 for ; Sun, 20 May 2007 07:29:10 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from kobe.laptop (dialup116.ach.sch.gr [81.186.70.116]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4K7RteD005232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 20 May 2007 10:28:04 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4K7RjON004556; Sun, 20 May 2007 10:27:45 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4K7RhDs004555; Sun, 20 May 2007 10:27:43 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Sun, 20 May 2007 10:27:43 +0300 From: Giorgos Keramidas To: Alexander Kabaev Message-ID: <20070520072743.GA4514@kobe.laptop> References: <20070520022722.1f5a0cda@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.094, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.30, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No 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 07:29:11 -0000 On 2007-05-20 02:27, Alexander Kabaev wrote: > Hi all, > > 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 > > Unfortunately, our OpenSSL maintainer(s) are currently en-route > from BSDCan and cannot attend to the matters. Once we figure > the best way to fix the code and to integrate the fix into > OpenSSL, we will check the fix info CVS. People are advised to > patch their sources locally until then. Thanks! :-)