Problems compiling some ports after upgrading to gcc 4.2.0
ler at lerctr.org
Thu May 24 04:27:02 UTC 2007
On May 24, 2007, at 12:18 AM, Garrett Cooper wrote:
> Beech Rintoul wrote:
>> On Wednesday 23 May 2007, Randy Bush said:
>>> having serious crashes when running anything using openssl in cvsup
>>> of last day, most recent being May 22 18:49 gmt.
>>> we are wondering about diagnostics
>>> dsaparam.c: In function 'dsaparam_main':
>>> dsaparam.c:337: warning: function called through a non-compatible
>>> type dsaparam.c:337: note: if this code is reached, the program
>>> will abort dsaparam.c:417: warning: function called through a
>>> non-compatible type dsaparam.c:417: note: if this code is reached,
>>> the program will abort dsaparam.c:436: warning: function called
>>> through a non-compatible type dsaparam.c:436: note: if this code is
>>> reached, the program will abort
>> Apply this patch and rebuild openssl. Fixed the problem for me.
> Is there any reason why this patch hasn't been committed yet?
It was committed yesterday.
See commit from Simon Nielsen:
simon 2007-05-22 20:28:19 UTC
FreeBSD src repository
Fix runtime crash in OpenSSL with "Illegal instruction" by making
casts a bit less evil.
This was e.g. seen when using portsnap as:
Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal
Note the patch is slightly different from kan's original patch to
match style in the OpenSSL source files a bit better.
Submitted by: kan
Tested by: many
Revision Changes Path
1.2 +783 -495 src/crypto/openssl/crypto/asn1/asn1.h
1.2 +11 -16 src/crypto/openssl/crypto/ocsp/ocsp.h
1.2 +168 -54 src/crypto/openssl/crypto/pem/pem.h
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
More information about the freebsd-current