From owner-freebsd-current@FreeBSD.ORG Mon May 21 03:40:26 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 0D93816A400 for ; Mon, 21 May 2007 03:40:26 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id A444F13C458 for ; Mon, 21 May 2007 03:40:25 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by ug-out-1314.google.com with SMTP id 71so818939ugh for ; Sun, 20 May 2007 20:40:24 -0700 (PDT) Received: by 10.82.184.2 with SMTP id h2mr7675037buf.1179718824101; Sun, 20 May 2007 20:40:24 -0700 (PDT) Received: by 10.82.148.14 with HTTP; Sun, 20 May 2007 20:40:24 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 06:40:24 +0300 From: "Vlad GALU" To: freebsd-current@freebsd.org In-Reply-To: <20070520095125.395860f3@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> <20070520114413.GA23313@hoeg.nl> <20070520095125.395860f3@kan.dnsalias.net> 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: Mon, 21 May 2007 03:40:26 -0000 On 5/20/07, Alexander Kabaev wrote: > On Sun, 20 May 2007 13:44:13 +0200 > Ed Schouten wrote: > > > * Vlad GALU wrote: > > > On 5/20/07, Ed Schouten wrote: > > > > Hello, > > > > > > > > * Vlad GALU wrote: > > > > > There might be a PEBKAC here, but after applying the patch > > > > > (cleanly) and rebuilding/reinstalling everything under > > > > > /usr/src/secure, OpenVPN still crashes with SIGILL. > > > > > > > > The problem lies within macro's that are compiled within > > > > applications that make use of the OpenSSL library. Could you try > > > > recompiling OpenVPN (and other apps/libs that make use of > > > > OpenSSL) as well? > > > > > > Yes, I've just done that. The crashes I mentioned happen when I > > > rebuild the OpenVPN port, while performing the sanity tests (right > > > after compiling and linking). > > > > Well, I guess the previous mentioned patch doesn't fix all cases. I > > still get a lot of warnings during compilation of OpenSSL after > > applying the patch that look like this: > > > > > | d1_clnt.c:912 > > | d1_srvr.c:845 > > | s3_clnt.c:1856 > > | s3_lib.c:1756 > > | s3_lib.c:1937 > > | s3_srvr.c:1224 > > | ssl_cert.c:215 > > Just out of curiosity, did you happen to notice that files which my > patch is changing are header files? You need to install them for the > patch to have any effect. Otherwise rebuilding in secure/ will happily > use unpatched header files from /usr/inlcude/openssl. > > I suggest you just rebuild the whole world instead of trying to cut > corners. Thanks, I rebuilt world and all works ok now. Sorry for the noise. > -- > Alexander Kabaev > > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.