From owner-freebsd-current@FreeBSD.ORG Sun May 20 13:51:32 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 2829516A469 for ; Sun, 20 May 2007 13:51:32 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id D365D13C469 for ; Sun, 20 May 2007 13:51:31 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1280891wxc for ; Sun, 20 May 2007 06:51:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=iS4cAkKZbDWozcQQKexBFzOhgPpl+9EV8GX+fYEADAGvFAG6jcSE2mzhYz13lK8ibVKplgdxFIg8CN2bEe8zIKBQRoQTjRDtmAB+ybIgWAyadASjoZxnWIoAp57e7dhFM618uaw1llmUSVbT85ncAV111RuVSja2AdCNUbGent0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=fuPSSnOCvI6wPNoLL9aGR5FbKWBP7aYppaWu6JHwW0cPkOkTNMY6CqxYw8ccBQo8x+YLfIARMR0rBhNUXI4LWHJVBYE59qFHIDRPnAHC3EGrbfkhjO6sYkENT2Iz5eHaVphTJNQzbbs8uInxVVcQ/oWK5ggTVloNAU4AV+bKL68= Received: by 10.70.67.4 with SMTP id p4mr5567704wxa.1179669091323; Sun, 20 May 2007 06:51:31 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id h17sm7493546wxd.2007.05.20.06.51.29; Sun, 20 May 2007 06:51:30 -0700 (PDT) Date: Sun, 20 May 2007 09:51:25 -0400 From: Alexander Kabaev To: Ed Schouten Message-ID: <20070520095125.395860f3@kan.dnsalias.net> In-Reply-To: <20070520114413.GA23313@hoeg.nl> References: <20070520022722.1f5a0cda@kan.dnsalias.net> <20070520082913.GX23313@hoeg.nl> <20070520102018.GA41098@tirith.brixandersen.dk> <20070520110651.GY23313@hoeg.nl> <20070520114413.GA23313@hoeg.nl> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_6rfD5YsKQ+157wxm5zBaJqu; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Vlad GALU , 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 13:51:32 -0000 --Sig_6rfD5YsKQ+157wxm5zBaJqu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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? > >=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). >=20 > 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: >=20 > | 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. --=20 Alexander Kabaev --Sig_6rfD5YsKQ+157wxm5zBaJqu Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUFJeQ6z1jMm+XZYRAlMVAJ96iuVFxbvDDdxMOlSWNjtAyOo6mwCgzegH OHOUEHOuEQx7sg7+ZEe6E1g= =3ala -----END PGP SIGNATURE----- --Sig_6rfD5YsKQ+157wxm5zBaJqu--