From owner-freebsd-current@FreeBSD.ORG Tue May 22 07:16: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 F0F4316A473 for ; Tue, 22 May 2007 07:16:11 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 4C87C13C465 for ; Tue, 22 May 2007 07:16:10 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 22 May 2007 07:16:09 -0000 Received: from h081217094222.dyn.cm.kabsi.at (EHLO taxman.pepperland) [81.217.94.222] by mail.gmx.net (mp051) with SMTP; 22 May 2007 09:16:09 +0200 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX1/muZo8rP7mGRcPC0Jjh2EVT3vd5rSMfBq7IdEFWD jJiwjZHxcBPpcj From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Tue, 22 May 2007 09:16:07 +0200 User-Agent: KMail/1.9.6 References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070521201817.GB1380@zaphod.nitro.dk> In-Reply-To: <20070521201817.GB1380@zaphod.nitro.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705220916.07976.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 Cc: freebsd-current@freebsd.org, "Simon L. Nielsen" 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: Tue, 22 May 2007 07:16:12 -0000 On Monday 21 May 2007 22:18:18 Simon L. Nielsen wrote: > On 2007.05.20 02:27:22 -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. > > "Interesting" choice - oh well. > > > 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 ... > I haven't seen enough reports of this patch working to be really > comfortable committing the patch without having had a chance to try it > myself. > > Other people who try this patch please report any success/failure. > Success can also just be reported in private mail. After applying the patch, konqueror with https no longer causes SIGILL.