diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-03-07 00:05:03 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-03-07 00:05:03 +0000 |
commit | ddfecd0171297d3350fd46b71a3b3d7432438abc (patch) | |
tree | 492dad189ada23da90eda61a7022d4c3930af71c /profiles | |
parent | Fixed ChangeLog header. (diff) | |
download | gentoo-2-ddfecd0171297d3350fd46b71a3b3d7432438abc.tar.gz gentoo-2-ddfecd0171297d3350fd46b71a3b3d7432438abc.tar.bz2 gentoo-2-ddfecd0171297d3350fd46b71a3b3d7432438abc.zip |
Committing new dev subprofile for sparc64. This consolidates the alsa/gcc34/multilib/26headers profiles into one more organized hierarchy. This also includes sparc 2005 project goals into the base profile (dev) while allowing a compatibility profile with 2005.0 (dev/gcc33/24headers).
Diffstat (limited to 'profiles')
19 files changed, 248 insertions, 0 deletions
diff --git a/profiles/default-linux/sparc/sparc64/dev/24headers/packages b/profiles/default-linux/sparc/sparc64/dev/24headers/packages new file mode 100644 index 000000000000..f3499629aa89 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/24headers/packages @@ -0,0 +1,7 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/24headers/packages,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +# Use 2.4 linux-headers by default +-*virtual/os-headers +*<sys-kernel/linux-headers-2.5 diff --git a/profiles/default-linux/sparc/sparc64/dev/24headers/parent b/profiles/default-linux/sparc/sparc64/dev/24headers/parent new file mode 100644 index 000000000000..74853ef4eaaf --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/24headers/parent @@ -0,0 +1,8 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2 +# 2004/03/18 00:16:43 seemant Exp $ + +# This file describes the parent profile to this. In most cases this will +# just be the name of the parent directory +.. diff --git a/profiles/default-linux/sparc/sparc64/dev/gcc33/24headers/packages b/profiles/default-linux/sparc/sparc64/dev/gcc33/24headers/packages new file mode 100644 index 000000000000..dc3cc448a647 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/gcc33/24headers/packages @@ -0,0 +1,7 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/gcc33/24headers/packages,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +# Use 2.4 linux-headers by default +-*virtual/os-headers +*<sys-kernel/linux-headers-2.5 diff --git a/profiles/default-linux/sparc/sparc64/dev/gcc33/24headers/parent b/profiles/default-linux/sparc/sparc64/dev/gcc33/24headers/parent new file mode 100644 index 000000000000..74853ef4eaaf --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/gcc33/24headers/parent @@ -0,0 +1,8 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2 +# 2004/03/18 00:16:43 seemant Exp $ + +# This file describes the parent profile to this. In most cases this will +# just be the name of the parent directory +.. diff --git a/profiles/default-linux/sparc/sparc64/dev/gcc33/packages b/profiles/default-linux/sparc/sparc64/dev/gcc33/packages new file mode 100644 index 000000000000..f8c2b44b4db2 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/gcc33/packages @@ -0,0 +1,11 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/gcc33/packages,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +# Since we're running a sparc64 kernel w/ 32bit (v9) userland, +# we need gcc-sparc64 for kernels. +# Only use gcc-sparc64-3.3.x for now. 3.4.x users want the gcc34 profile +*<sys-devel/gcc-sparc64-3.4.0 + +# Lock to gcc-3.3.x and allow 3.4 for the testing profile only +*<sys-devel/gcc-3.4.1 diff --git a/profiles/default-linux/sparc/sparc64/dev/gcc33/parent b/profiles/default-linux/sparc/sparc64/dev/gcc33/parent new file mode 100644 index 000000000000..74853ef4eaaf --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/gcc33/parent @@ -0,0 +1,8 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2 +# 2004/03/18 00:16:43 seemant Exp $ + +# This file describes the parent profile to this. In most cases this will +# just be the name of the parent directory +.. diff --git a/profiles/default-linux/sparc/sparc64/dev/make.defaults b/profiles/default-linux/sparc/sparc64/dev/make.defaults new file mode 100644 index 000000000000..a4471e4b6cb6 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/make.defaults @@ -0,0 +1,15 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/make.defaults,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +CHOST="sparc-unknown-linux-gnu" + +MULTILIB_ABIS="sparc32" +DEFAULT_ABI="sparc32" + +CFLAGS_sparc32="-m32" +LDFLAGS_sparc32="-m elf32-sparc" +CHOST_sparc32="sparc-unknown-linux-gnu" +CTARGET_ALIASES_sparc32="sparcv9-unknown-linux-gnu" +CDEFINE_sparc32="!__arch64__" +LIBDIR_sparc32="lib" diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/make.defaults b/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/make.defaults new file mode 100644 index 000000000000..aa9d95104cc4 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/make.defaults @@ -0,0 +1,5 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/make.defaults,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +DEFAULT_ABI="sparc64" diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/package.mask b/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/package.mask new file mode 100644 index 000000000000..56bd596706a4 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/package.mask @@ -0,0 +1,31 @@ +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/package.mask,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +# Jeremy Huddleston <eradicator@gentoo.org> +# mask out multilib unfriendly versions. Newer ones should install to & look +# in proper $(get_libdir) +<app-editors/emacs-21.3-r5 +<dev-db/postgresql-7.4.6 +<dev-db/sqlite-2.8.16 +=dev-db/sqlite-3.0* +<dev-lang/python-python-2.4-r2 +<dev-lang/tcl-8.4.6-r1 +<dev-lang/tk-8.4.6-r1 +<dev-libs/boost-1.32.0-r1 +<dev-libs/cyrus-sasl-2.1.20-r2 +<dev-libs/libmcal-0.7-r4 +<dev-python/PyQt-3.13 +<dev-python/pygtk-2.4.1 +<dev-python/sip-4.1.1 +<dev-tcltk/expect-5.42.1 +<media-libs/ming-0.2a-r1 +<media-video/transcode-0.6.14 +<net-fs/samba-3.0.11 +<net-libs/courier-authlib-0.52 +<net-libs/liblockfile-1.03-r2 +<net-www/mozilla-1.7.5-r1 +<net-www/mozilla-firefox-1.0.1 +<sys-apps/dbus-0.23-r2 +<sys-apps/iproute2-2.6.10.20050112 +<sys-devel/flex-2.5.4a-r6 +<sys-libs/pam-0.77-r7 +<sys-libs/pwdb-0.62-r1 diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/parent b/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/parent new file mode 100644 index 000000000000..74853ef4eaaf --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/64bitdefault/parent @@ -0,0 +1,8 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2 +# 2004/03/18 00:16:43 seemant Exp $ + +# This file describes the parent profile to this. In most cases this will +# just be the name of the parent directory +.. diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/README b/profiles/default-linux/sparc/sparc64/dev/multilib/README new file mode 100644 index 000000000000..22ac224bdcbb --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/README @@ -0,0 +1,53 @@ +There is no gurantee that this is correct... It should be (and it worked for me) +If it doesn't work for you, please come talk to me, so we can correct the bug. +--eradicator + +Set FEATURES=-sandbox in /etc/make.conf because of a sandbox bug that is seen +when using gcc-config 1.4.0 + +Make sure you have the latest gcc-config baselayout and portage: +# emerge -uv '>=sys-devel/gcc-config-1.3.11' '>=sys-apps/portage-2.1.51-r9' + +Delete the /usr/sparc64-unknown-linux-gnu symlink hackery: +# rm /usr/sparc64-unknown-linux-gnu + +Unmerge the kernel compiler as you don't need it any more +# emerge unmerge gcc-sparc64 + +Switch to profile: +# rm /etc/make.profile +# ln -s /usr/portage/profiles/default-linux/sparc/sparc64/dev/multilib /etc/make.profile + +Change CHOST in /etc/make.conf to sparc64-unknown-linux-gnu (or delete it since +the profile sets it for us): +# nano -w /etc/make.conf + +Get an updated baselayout +# emerge -v baselayout + +Get a sparc64 binutils: +# CC="sparc-unknown-linux-gnu-gcc" emerge -v binutils + +Use binutils-config to choose sparc64-* binutils: +# binutils-config -l +# binutils-config <value> +# . /etc/profile + +Get a stage1 sparc64 gcc: +# CC="sparc-unknown-linux-gnu-gcc" USE="build static" GCC_MAKE_TARGET="all" emerge -v gcc + +Remove sparc32 gcc compiler and binutils from your system +# emerge unmerge \=sys-devel/gcc-<version> \=sys-devel/binutils-<version> +# rm /etc/env.d/gcc/config-sparc-unknown-linux-gnu /etc/env.d/05gcc-sparc-unknown-linux-gnu /etc/env.d/binutils/binutils/config-sparc-unknown-linux-gnu + +Use gcc-config to set your gcc +Choose the sparc64-unknown-linux-gnu one you just emerged +# gcc-config -l +# gcc-config <value> +# . /etc/profile + +Use the stage1 gcc to build bootstrap multilib glibc +# USE="-nptl" CBUILD="sparc-unknown-linux-gnu" emerge -v glibc + +Now, finally emerge your multilib sandbox, full glibc and gcc +# emerge -v portage gcc glibc diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/make.defaults b/profiles/default-linux/sparc/sparc64/dev/multilib/make.defaults new file mode 100644 index 000000000000..56a436a3ada8 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/make.defaults @@ -0,0 +1,16 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/multilib/make.defaults,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +CHOST="sparc64-unknown-linux-gnu" + +MULTILIB_ABIS="sparc32 sparc64" +DEFAULT_ABI="sparc32" + +CFLAGS_sparc64="-m64" +LDFLAGS_sparc64="-m elf64-sparc" +CHOST_sparc64="sparc64-unknown-linux-gnu" +CTARGET_ALIASES_sparc64="sparc64-linux" +CDEFINE_sparc64="__arch64__" +LIBDIR_sparc64="lib64" + diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/package.mask b/profiles/default-linux/sparc/sparc64/dev/multilib/package.mask new file mode 100644 index 000000000000..7b246193920c --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/package.mask @@ -0,0 +1,5 @@ +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/multilib/package.mask,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +# Jeremy Huddleston <eradicator@gentoo.org> 2005.03.06 +# sys-devel/gcc brings in our 64bit compiler +sys-devel/gcc-sparc64 diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/packages b/profiles/default-linux/sparc/sparc64/dev/multilib/packages new file mode 100644 index 000000000000..b1d54f725b56 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/packages @@ -0,0 +1,7 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/multilib/packages,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +# sys-devel/gcc brings in our 64bit compiler +-*sys-devel/gcc-sparc64 + diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/parent b/profiles/default-linux/sparc/sparc64/dev/multilib/parent new file mode 100644 index 000000000000..74853ef4eaaf --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/parent @@ -0,0 +1,8 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2 +# 2004/03/18 00:16:43 seemant Exp $ + +# This file describes the parent profile to this. In most cases this will +# just be the name of the parent directory +.. diff --git a/profiles/default-linux/sparc/sparc64/dev/multilib/virtuals b/profiles/default-linux/sparc/sparc64/dev/multilib/virtuals new file mode 100644 index 000000000000..5e9441f5aa52 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/multilib/virtuals @@ -0,0 +1,5 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/multilib/virtuals,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +virtual/linux-sources sys-kernel/gentoo-dev-sources diff --git a/profiles/default-linux/sparc/sparc64/dev/packages b/profiles/default-linux/sparc/sparc64/dev/packages new file mode 100644 index 000000000000..5abc81b5fc5c --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/packages @@ -0,0 +1,7 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/sparc/sparc64/dev/packages,v 1.1 2005/03/07 00:05:03 eradicator Exp $ + +# Since we're running a sparc64 kernel w/ 32bit (v9) userland, +# we need gcc-sparc64 for kernels. +*sys-devel/gcc-sparc64 diff --git a/profiles/default-linux/sparc/sparc64/dev/parent b/profiles/default-linux/sparc/sparc64/dev/parent new file mode 100644 index 000000000000..74853ef4eaaf --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/parent @@ -0,0 +1,8 @@ +# Copyright 2004 Gentoo Foundation. +# Distributed under the terms of the GNU General Public License, v2 +# $Header: /home/cvsroot/gentoo-x86/profiles/default/x86/2004.0/parent,v 1.2 +# 2004/03/18 00:16:43 seemant Exp $ + +# This file describes the parent profile to this. In most cases this will +# just be the name of the parent directory +.. diff --git a/profiles/default-linux/sparc/sparc64/dev/profile.bashrc b/profiles/default-linux/sparc/sparc64/dev/profile.bashrc new file mode 100644 index 000000000000..a573012feed2 --- /dev/null +++ b/profiles/default-linux/sparc/sparc64/dev/profile.bashrc @@ -0,0 +1,31 @@ +# lib64 sandbox stuff copied from amd64's profile.bashrc: +# fix for bug 60147, "configure causes sandbox violations when lib64 +# is a directory". currently only works with cvs portage. + +addwrite /usr/lib64/conftest +addwrite /usr/lib64/cf + +# oh goodie, yet ANOTHER sandbox bug!!!! >:| +# without portage 2.0.51 and the following entries, at least dbus will spew +# sandbox violations like mad with python in lib64. +addpredict /usr/lib64/python2.0/ +addpredict /usr/lib64/python2.1/ +addpredict /usr/lib64/python2.2/ +addpredict /usr/lib64/python2.3/ +addpredict /usr/lib64/python2.4/ +addpredict /usr/lib64/python2.5/ +addpredict /usr/lib64/python3.0/ + +# The version of profile in our 'packages' does not yet set ABI for us nor +# export the CFLAGS_${ABI} envvars... The multilib-pkg patch does, but this +# won't be in portage until atleast .52_pre +if [ -n "${ABI}" ]; then + export ABI +elif [ -n "${DEFAULT_ABI}" ]; then + export ABI="${DEFAULT_ABI}" +else + export ABI="sparc32" +fi + +export CFLAGS_sparc32 +export CFLAGS_sparc64 |