From owner-freebsd-current@FreeBSD.ORG Sun May 20 11:44:15 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 3B47716A400 for ; Sun, 20 May 2007 11:44:15 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id F3E1713C447 for ; Sun, 20 May 2007 11:44:14 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id EE4DF1D45B; Sun, 20 May 2007 13:44:13 +0200 (CEST) Date: Sun, 20 May 2007 13:44:13 +0200 From: Ed Schouten To: Vlad GALU Message-ID: <20070520114413.GA23313@hoeg.nl> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fowzm2eVyDiEwGH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: FreeBSD Current 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:44:15 -0000 --2fowzm2eVyDiEwGH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * 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? >=20 > 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_srvr.c: In function 'dtls1_send_server_key_exchange': | d1_srvr.c:845: warning: function called through a non-compatible type | d1_srvr.c:845: note: if this code is reached, the program will abort Below is a list of all source files with their corresponding line numbers on which the warnings occur: | 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 All these lines of code make use of the DHparams_dup() macro, so I suspect fixing that macro should cure the crashes. --=20 Ed Schouten WWW: http://g-rave.nl/ --2fowzm2eVyDiEwGH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUDSN52SDGA2eCwURArpxAJ44lMPY/ABxcUowR28peq5dUoxXbACfWtoP wmp3Ie4MF0A7cF6zTRwYksY= =+gSb -----END PGP SIGNATURE----- --2fowzm2eVyDiEwGH--