Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 07:45:18 -0400
From:      Colin Percival <cperciva@freebsd.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
Message-ID:  <465034CE.4060802@freebsd.org>
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
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.
> ...

For the record (since I know several people were asking at BSDCan), this is
a great example of why it makes sense to have libmd as well as libcrypto: A
minimal hashing library which we maintain ourselves is far less likely to
randomly break than a bloated^W more feature-complete library which is
maintained outside of FreeBSD and occasionally imported onto a vendor branch.

Colin Percival



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