Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade



On 2007-05-20 02:27, Alexander Kabaev <kabaev@xxxxxxxxx> 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! :-)

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
    ... aggressively de-supported by GCC 4.2 and GCC goes as far as inserting ... Just in case mailing list will eat the attachment, the patch can be ... our OpenSSL maintainerare currently en-route from ... I haven't seen enough reports of this patch working to be really ...
    (freebsd-current)
  • Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade
    ... aggressively de-supported by GCC 4.2 and GCC goes as far as inserting ... Just in case mailing list will eat the attachment, the patch can be ... our OpenSSL maintainerare currently en-route from ... I haven't seen enough reports of this patch working to be really ...
    (freebsd-current)
  • Problems configuring OpenSSH 3.5p1 on Sol 5.8
    ... I have installed gcc 3.2.2, OpenSSL 0.9.6g. ... uname -m = sun4u ... BusType = <unknown> ...
    (SSH)
  • OpenSSL bugfix
    ... Looking at the commit logs, there has not been an update to openssl ... The patch / fix is trivial and it has been in the ...
    (freebsd-current)
  • Re: Sun Studio 11 vs. gcc 4.1.1
    ... OpenSSL 0.9.8e with builtin test "openssl speed". ... assembler routines were turned off with "no-asm". ... time compared to gcc. ... On x86 the results are mixed: In 32bit Studio 11 usually generates better ...
    (comp.sys.sun.admin)