Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Tue, 22 May 2007 09:16:07 +0200
On Monday 21 May 2007 22:18:18 Simon L. Nielsen wrote:
> On 2007.05.20 02:27:22 -0400, 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.
>
> "Interesting" choice - oh well.
>
> > 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
...
> I haven't seen enough reports of this patch working to be really
> comfortable committing the patch without having had a chance to try it
> myself.
>
> Other people who try this patch please report any success/failure.
> Success can also just be reported in private mail.

After applying the patch, konqueror with https no longer causes SIGILL.
Received on Tue May 22 2007 - 05:16:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC