diff options
Diffstat (limited to 'profiles/default/linux/sparc/experimental/multilib')
10 files changed, 54 insertions, 0 deletions
diff --git a/profiles/default/linux/sparc/experimental/multilib/desktop/eapi b/profiles/default/linux/sparc/experimental/multilib/desktop/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/desktop/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/sparc/experimental/multilib/desktop/parent b/profiles/default/linux/sparc/experimental/multilib/desktop/parent new file mode 100644 index 000000000000..db8ce088c69a --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/desktop/parent @@ -0,0 +1,2 @@ +.. +../../../../../../targets/desktop diff --git a/profiles/default/linux/sparc/experimental/multilib/developer/eapi b/profiles/default/linux/sparc/experimental/multilib/developer/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/developer/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/sparc/experimental/multilib/developer/parent b/profiles/default/linux/sparc/experimental/multilib/developer/parent new file mode 100644 index 000000000000..5c8258a71e32 --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/developer/parent @@ -0,0 +1,2 @@ +.. +../../../../../../targets/developer diff --git a/profiles/default/linux/sparc/experimental/multilib/eapi b/profiles/default/linux/sparc/experimental/multilib/eapi new file mode 100644 index 000000000000..7ed6ff82de6b --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/eapi @@ -0,0 +1 @@ +5 diff --git a/profiles/default/linux/sparc/experimental/multilib/make.defaults b/profiles/default/linux/sparc/experimental/multilib/make.defaults new file mode 100644 index 000000000000..32c57a2aa5e7 --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/make.defaults @@ -0,0 +1,15 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Multilib stuff +MULTILIB_ABIS="sparc32 sparc64" + +# without this glibc will segfault when compiling a sparc64 abi +FEATURES="userpriv" + +# can't set this in the top level make.defaults as it breaks +# sys-kernel/linux-headers for non-multilib profiles +CFLAGS_sparc64="-m64" + +LIBDIR_sparc32="lib32" +LIBDIR_sparc64="lib64" diff --git a/profiles/default/linux/sparc/experimental/multilib/package.use.mask b/profiles/default/linux/sparc/experimental/multilib/package.use.mask new file mode 100644 index 000000000000..1e3b836871c0 --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/package.use.mask @@ -0,0 +1,5 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Needs all X libraries in both 32 and 64 bit.. +sys-devel/gcc awt diff --git a/profiles/default/linux/sparc/experimental/multilib/packages b/profiles/default/linux/sparc/experimental/multilib/packages new file mode 100644 index 000000000000..cc2785b25d52 --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/packages @@ -0,0 +1,8 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# older versions of gcc don't support biarch +*>=sys-devel/gcc-4.3.2-r1 + +# building a sparc64 ABI with older versions doesn't work right +*>=sys-libs/glibc-2.7 diff --git a/profiles/default/linux/sparc/experimental/multilib/parent b/profiles/default/linux/sparc/experimental/multilib/parent new file mode 100644 index 000000000000..04ec01cf0979 --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/parent @@ -0,0 +1,3 @@ +.. +../../../../../releases/13.0 +../../../../../features/multilib diff --git a/profiles/default/linux/sparc/experimental/multilib/profile.bashrc b/profiles/default/linux/sparc/experimental/multilib/profile.bashrc new file mode 100644 index 000000000000..00533800398d --- /dev/null +++ b/profiles/default/linux/sparc/experimental/multilib/profile.bashrc @@ -0,0 +1,16 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +if [[ "${EBUILD_PHASE}" == "setup" ]] +then + if [[ ! "${I_READ_THE_MULTILIB_MIGRATION_GUIDE}" == "yes" ]] + then + ewarn "When migrating to the new sparc mutlilib profile please keep in mind that it" + ewarn "is still in an experimental state. Also note that you need to follow the" + ewarn "migration guide [0], otherwise important packages such as gcc or glibc will" + ewarn "fail to compile and most other packages will be installed incorrectly." + ewarn "" + ewarn "[0] http://sparc.gentoo.org/multilib.xml" + echo + fi +fi |