pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43939 (security/openssl dumps core on Solaris 10/x86)



On Mon, Oct 4, 2010 at 9:10 AM,  <obache%netbsd.org@localhost> wrote:
> Synopsis: security/openssl dumps core on Solaris 10/x86
>
> Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
> Responsible-Changed-By: obache%NetBSD.org@localhost
> Responsible-Changed-When: Mon, 04 Oct 2010 14:10:55 +0000
> Responsible-Changed-Why:
> solaris pkgsrc problem.

Per http://www.openssl.org/~appro/values.c

# This is Solaris x86 specific GCC run-time environment patch, which
# makes it possible to reliably deploy .init snippets. Trouble is that
# Solaris linker erroneously pads .init segment with zeros [instead of
# nops], which is bound to SEGV early upon program start-up. This bug
# was recognized by GCC team [it is mentioned in source code], but
# workaround apparently and obviously erroneously slipped away in some
# newer GCC release. This patch compensates for this mishap by dropping
# modified values-X*.o into GCC installation tree. Object modules in
# question are normally provided by Sun and linked prior crtbegin.o.
# Modified versions are additionally crafted with custom .init segment,
# which does some magic:-)

Not sure if this could/should be integrated into the pkgsrc gcc
package?  (that would only fix folks using pkgsrc gcc, not the one
provided by sun)
Maybe just add a reference to this in a MESSAGES file?

 -Tim


Home | Main Index | Thread Index | Old Index