From owner-freebsd-current@FreeBSD.ORG Mon May 21 21:12:39 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 C69E616A492 for ; Mon, 21 May 2007 21:12:39 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (190-144-58-66.gci.net [66.58.144.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3280613C4E7 for ; Mon, 21 May 2007 21:12:36 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from localhost (localhost [127.0.0.1]) by stargate.alaskaparadise.com (Postfix) with ESMTP id E1F247EAD; Mon, 21 May 2007 12:54:34 -0800 (AKDT) From: Beech Rintoul Organization: FreeBSD Port Maintainer To: freebsd-current@freebsd.org Date: Mon, 21 May 2007 12:54:16 -0800 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> X-Face: jC2w\k*Q1\0DA2Q0Eh&BrP/Rt2M,^2O#R07VoT98m*>miQF9%Bi9vy`F6cPjwEe?m,)=?utf-8?q?2=0A=09X=3FM=5C=3AOE9QgZ?="xT3/n3,3MJ7N=Cfkmi%f(w^~X"SUxn>; 27NO; C+)g[7J`$G*SN>{<=?utf-8?q?O=3Bg7=7C=0A=09o=7D=265A=5D4?=@7D`=Eb@Zs1Ln814?]|k@'bG=.Ca"[|8+_.OsNAo8!#?4u MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705211254.23929.beech@alaskaparadise.com> X-Mailman-Approved-At: Tue, 22 May 2007 00:04:44 +0000 Cc: "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 Reply-To: beech@alaskaparadise.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 21:12:39 -0000 On Monday 21 May 2007, Simon L. Nielsen said: > 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 > > > > 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. > > I had hoped to be able to test and commit today, but I'm too beat > from the trip from Canada to be able to do this until tomorrow > (it's very high in the priority list to get this done tomorrow but > I don't know how hard the jet lag will hit this time). > > 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. > > Oh, and in case people were wondering - I'm not a "vendor branch > purist" wrt. OpenSSL, so getting the patch commited once I'm sure > it is OK isn't a problem. > > Alexander, thanks a lot for looking at this! I applied the patch and it did fix the problem for me. I would call it a success. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Port Maintainer - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.freebsd.org/releases/6.2R/announce.html ---------------------------------------------------------------------------------------