Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 10:27:43 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        Michiel Boland <michiel@boland.org>, freebsd-current@FreeBSD.org, Larry Rosenman <ler@lerctr.org>
Subject:   Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
Message-ID:  <20070520072743.GA4514@kobe.laptop>
In-Reply-To: <20070520022722.1f5a0cda@kan.dnsalias.net>
References:  <20070520022722.1f5a0cda@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-05-20 02:27, Alexander Kabaev <kabaev@gmail.com> wrote:
> Hi all,
>
> 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.
>
> 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.

Thanks! :-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070520072743.GA4514>