Unmask and force sys-devel/gcc libssp on Solaris, to get a non-broken -fstack-protect...
authorFabian Groffen <grobian@gentoo.org>
Thu, 8 Dec 2011 08:11:38 +0000 (08:11 +0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 8 Dec 2011 08:11:38 +0000 (08:11 +0000)
profiles/prefix/ChangeLog
profiles/prefix/sunos/solaris/package.use.force [new file with mode: 0644]
profiles/prefix/sunos/solaris/package.use.mask

index a3d452f4ee77baa25349899eec9780f88486d66c..7443b2016e0a83f73e4546acfd7959467faeb44e 100644 (file)
@@ -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 <grobian@gentoo.org>
+  +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 <darkside@gentoo.org> +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 (file)
index 0000000..7d340ec
--- /dev/null
@@ -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 <grobian@gentoo.org> (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
+
index 8667cc4a96c0acdff0f4a4415c4132e511161549..a5d89be3ffd4e19f067a17e0b77f2b0e7888f490 100644 (file)
@@ -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 <grobian@gentoo.org> (08 Dec 2011)
+# Unmask libssp, Solaris' libc doesn't have stack protection symbols
+sys-devel/gcc libssp
 
 # Fabian Groffen <grobian@gentoo.org> (05 Sep 2011)
 # gir tries to link c++ code using gcc and obviously fails