# ChangeLog for sys-libs/glibc
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.392 2005/10/07 00:40:10 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.393 2005/10/07 03:12:03 eradicator Exp $
+
+ 07 Oct 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ glibc-2.3.5-r2.ebuild, glibc-2.3.5.20050722.ebuild:
+ Avoid using CFLAGS_${ABI} for sparc64 as that is deprecated (and won't work
+ with the default eselect-compiler settings).
07 Oct 2005; Jeremy Huddleston <eradicator@gentoo.org>
glibc-2.3.5-r2.ebuild, glibc-2.3.5.20050722.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 fdb10236c276418af0f6b5e2dbac55a7 ChangeLog 83465
+MD5 13df09fb7a62a6a09dd8a0c7c264da42 ChangeLog 83702
MD5 941f13d27badc76c1e3704c59acaff26 files/2.3.1/glibc-2.3.1-ctype-compat-v3.patch 2823
MD5 67b125cec4f1f0d26ce4df706451fee6 files/2.3.1/glibc-2.3.1-fpu-cw-mips.patch 433
MD5 1c4e567ed001f9489e11ee06c1ced0b7 files/2.3.1/glibc-2.3.1-libc_wait-compat.patch 1053
MD5 b93ff1f1ad8baa0a062abb18f22d63f9 glibc-2.3.4.20041102-r2.ebuild 41373
MD5 cdbe2c23324cb303ee28f52927bd64f2 glibc-2.3.4.20050125-r1.ebuild 39566
MD5 f9ecdb0b89b5b8a0667a86d40dfbc9c9 glibc-2.3.5-r1.ebuild 40292
-MD5 e301599df0999a9b9d18b6ddf079fb86 glibc-2.3.5-r2.ebuild 38041
+MD5 c1978cbb0ead3b4bd501851193c396ed glibc-2.3.5-r2.ebuild 38405
MD5 65203448f3153faa1943b035e7c18e5f glibc-2.3.5.20050421.ebuild 40178
-MD5 92233da75aa90330697372b0899fc084 glibc-2.3.5.20050722.ebuild 38768
+MD5 e83d18b523ec3337eb395e1f2dff5aa1 glibc-2.3.5.20050722.ebuild 39163
MD5 3eda9d663fe1a353baea5a53df6d6bbb glibc-2.3.5.ebuild 40235
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDRcdlOpjtAl+gMRURAmbMAJ9lpWdL8tkFcK3doquCxkJpZcUBHwCeISjj
-wQCZ9l+h4AtH9AWKNeW+MAQ=
-=/oUt
+iD8DBQFDReebOpjtAl+gMRURAoLtAJ9qPdxxWWGTw2gxJFQY7voobX29PwCgzzTP
+jEC9JynSfOty5YT8PgCn7iY=
+=7AdF
-----END PGP SIGNATURE-----
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.5-r2.ebuild,v 1.3 2005/10/07 00:54:44 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.5-r2.ebuild,v 1.4 2005/10/07 03:12:03 eradicator Exp $
# Here's how the cross-compile logic breaks down ...
# CTARGET - machine that will target the binaries
}
setup_flags() {
+ # Store our CFLAGS because it's changed depending on which CTARGET
+ # we are building when pulling glibc on a multilib profile
+ CFLAGS_BASE=${CFLAGS_BASE-${CFLAGS}}
+ CFLAGS=${CFLAGS_BASE}
+ ASFLAGS_BASE=${ASFLAGS_BASE-${ASFLAGS}}
+ ASFLAGS=${ASFLAGS_BASE}
+
# Over-zealous CFLAGS can often cause problems. What may work for one
# person may not work for another. To avoid a large influx of bugs
# relating to failed builds, we strip most CFLAGS out to ensure as few
unset CBUILD_OPT CTARGET_OPT
has_multilib_profile && CTARGET_OPT=$(get_abi_CHOST)
+ [[ -z ${CTARGET_OPT} ]] && CTARGET_OPT=$(get_abi_CHOST)
case $(tc-arch) in
- # Punt this when amd64's 2004.3 is removed
amd64)
+ # Punt this when amd64's 2004.3 is removed
CFLAGS_x86="-m32"
;;
ppc)
if is_crosscompile || [[ ${PROFILE_ARCH} == "sparc64" ]] || { has_multilib_profile && ! tc-is-cross-compiler; } ; then
case ${ABI} in
sparc64)
+ filter-flags -Wa,-xarch -Wa,-A
+
if is-flag "-mcpu=ultrasparc3"; then
CTARGET_OPT="sparc64b-unknown-linux-gnu"
- CFLAGS_sparc64="$(get_abi_CFLAGS) -Wa,-xarch=v9b"
+ append-flags "-Wa,-xarch=v9b"
+ export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9b"
else
CTARGET_OPT="sparc64-unknown-linux-gnu"
- CFLAGS_sparc64="$(get_abi_CFLAGS) -Wa,-xarch=v9a"
+ append-flags "-Wa,-xarch=v9a"
+ export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9a"
fi
-
- filter-flags -Wa,-xarch -Wa,-A
;;
*)
if is-flag "-mcpu=ultrasparc3"; then
# Setup toolchain variables that would be defined in the profiles for these archs.
setup_env() {
- setup_flags
-
if is_crosscompile || tc-is-cross-compiler ; then
multilib_env ${CTARGET}
+ # We only install for this CTARGET on crosscompilers
+ MULTILIB_ABIS=${DEFAULT_ABI}
+ ABI=${DEFAULT_ABI}
+
# We need to export CFLAGS with abi information in them because
# glibc's configure script checks CFLAGS for some targets (like mips)
local VAR="CFLAGS_"${CTARGET//[-.]/_}
CFLAGS=${!VAR-"-O2 -pipe"}
-
- # We only install for this CTARGET on crosscompilers
- MULTILIB_ABIS=${DEFAULT_ABI}
-
- ABI=${DEFAULT_ABI:-default}
fi
export ABI=${ABI:-${DEFAULT_ABI:-default}}
+
+ setup_flags
}
### /ECLASS PUNTAGE ###
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.5.20050722.ebuild,v 1.19 2005/10/07 00:54:44 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.5.20050722.ebuild,v 1.20 2005/10/07 03:12:03 eradicator Exp $
# Here's how the cross-compile logic breaks down ...
# CTARGET - machine that will target the binaries
}
setup_flags() {
+ # Store our CFLAGS because it's changed depending on which CTARGET
+ # we are building when pulling glibc on a multilib profile
+ CFLAGS_BASE=${CFLAGS_BASE-${CFLAGS}}
+ CFLAGS=${CFLAGS_BASE}
+ ASFLAGS_BASE=${ASFLAGS_BASE-${ASFLAGS}}
+ ASFLAGS=${ASFLAGS_BASE}
+
# Over-zealous CFLAGS can often cause problems. What may work for one
# person may not work for another. To avoid a large influx of bugs
# relating to failed builds, we strip most CFLAGS out to ensure as few
strip-unsupported-flags
filter-flags -m32 -m64 -mabi=*
- has_multilib_profile && CTARGET_OPT=$(get_abi_CHOST)
+ unset CBUILD_OPT CTARGET_OPT
+ has_multilib_profile && CTARGET_OPT=$(get_abi_CTARGET)
+ [[ -z ${CTARGET_OPT} ]] && CTARGET_OPT=$(get_abi_CHOST)
case $(tc-arch) in
ppc)
if is_crosscompile || [[ ${PROFILE_ARCH} == "sparc64" ]] || { has_multilib_profile && ! tc-is-cross-compiler; } ; then
case ${ABI} in
sparc64)
+ filter-flags -Wa,-xarch -Wa,-A
+
if is-flag "-mcpu=ultrasparc3"; then
CTARGET_OPT="sparc64b-unknown-linux-gnu"
- CFLAGS_sparc64="$(get_abi_CFLAGS) -Wa,-xarch=v9b"
+ append-flags "-Wa,-xarch=v9b"
+ export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9b"
else
CTARGET_OPT="sparc64-unknown-linux-gnu"
- CFLAGS_sparc64="$(get_abi_CFLAGS) -Wa,-xarch=v9a"
+ append-flags "-Wa,-xarch=v9a"
+ export ASFLAGS="${ASFLAGS} -Wa,-xarch=v9a"
fi
-
- filter-flags -Wa,-xarch -Wa,-A
;;
*)
if is-flag "-mcpu=ultrasparc3"; then
# Setup toolchain variables that would be defined in the profiles for these archs.
setup_env() {
- setup_flags
-
if is_crosscompile || tc-is-cross-compiler; then
multilib_env ${CTARGET}
+ # We only install for this CTARGET on crosscompilers
+ MULTILIB_ABIS=${DEFAULT_ABI}
+ ABI=${DEFAULT_ABI}
+
# We need to export CFLAGS with abi information in them because
# glibc's configure script checks CFLAGS for some targets (like mips)
local VAR="CFLAGS_"${CTARGET//[-.]/_}
CFLAGS=${!VAR-"-O2 -pipe"}
-
- # We only install for this CTARGET on crosscompilers
- MULTILIB_ABIS=${DEFAULT_ABI}
-
- ABI=${DEFAULT_ABI:-default}
fi
export ABI=${ABI:-${DEFAULT_ABI:-default}}
+
+ setup_flags
}
### /ECLASS PUNTAGE ###