From 7899a78de90ee5b240e2b3945e98cb8b07bbc995 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 8 Dec 2011 08:11:38 +0000 Subject: Unmask and force sys-devel/gcc libssp on Solaris, to get a non-broken -fstack-protector(-all). --- profiles/prefix/ChangeLog | 7 ++++++- profiles/prefix/sunos/solaris/package.use.force | 10 ++++++++++ profiles/prefix/sunos/solaris/package.use.mask | 6 +++++- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 profiles/prefix/sunos/solaris/package.use.force diff --git a/profiles/prefix/ChangeLog b/profiles/prefix/ChangeLog index a3d452f4ee77..7443b2016e0a 100644 --- a/profiles/prefix/ChangeLog +++ b/profiles/prefix/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for profiles/prefix # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/ChangeLog,v 1.305 2011/12/05 21:17:31 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/ChangeLog,v 1.306 2011/12/08 08:11:38 grobian Exp $ + + 08 Dec 2011; Fabian Groffen + +sunos/solaris/package.use.force, sunos/solaris/package.use.mask: + Unmask and force sys-devel/gcc libssp on Solaris, to get a non-broken + -fstack-protector(-all). 05 Dec 2011; Jeremy Olexa +linux/profile.bashrc: Disable the automatic fortify patch for some older linux hosts, bug 289757 diff --git a/profiles/prefix/sunos/solaris/package.use.force b/profiles/prefix/sunos/solaris/package.use.force new file mode 100644 index 000000000000..7d340eceb02a --- /dev/null +++ b/profiles/prefix/sunos/solaris/package.use.force @@ -0,0 +1,10 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/sunos/solaris/package.use.force,v 1.1 2011/12/08 08:11:38 grobian Exp $ + +# Fabian Groffen (08 Dec 2011) +# Force libssp, Solaris' libc doesn't have stack protection symbols, +# hence without this, -fstack-protector fails with linker unresolved +# symbol errors. +sys-devel/gcc libssp + diff --git a/profiles/prefix/sunos/solaris/package.use.mask b/profiles/prefix/sunos/solaris/package.use.mask index 8667cc4a96c0..a5d89be3ffd4 100644 --- a/profiles/prefix/sunos/solaris/package.use.mask +++ b/profiles/prefix/sunos/solaris/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/sunos/solaris/package.use.mask,v 1.4 2011/09/04 13:32:17 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/prefix/sunos/solaris/package.use.mask,v 1.5 2011/12/08 08:11:38 grobian Exp $ + +# Fabian Groffen (08 Dec 2011) +# Unmask libssp, Solaris' libc doesn't have stack protection symbols +sys-devel/gcc libssp # Fabian Groffen (05 Sep 2011) # gir tries to link c++ code using gcc and obviously fails -- cgit v1.2.3-65-gdbad