summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-03-19 16:23:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-03-19 16:23:12 +0000
commitb3a8c46941304414c7281ed8772ea34961cea9c4 (patch)
tree3ce21e11b4c324947f0d02c44becd41fc4d55ae8 /sys-fs
parentOld. (diff)
downloadgentoo-2-b3a8c46941304414c7281ed8772ea34961cea9c4.tar.gz
gentoo-2-b3a8c46941304414c7281ed8772ea34961cea9c4.tar.bz2
gentoo-2-b3a8c46941304414c7281ed8772ea34961cea9c4.zip
Temporarily use ld.bfd for ia64 wrt #504700; note: waiting for upstream to merge a patch.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/ChangeLog7
-rw-r--r--sys-fs/udev/udev-211.ebuild9
-rw-r--r--sys-fs/udev/udev-9999.ebuild9
3 files changed, 22 insertions, 3 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 638c87e1e860..b295c5898974 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.1012 2014/03/12 13:57:34 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.1013 2014/03/19 16:23:12 ssuominen Exp $
+
+ 19 Mar 2014; Samuli Suominen <ssuominen@gentoo.org> udev-211.ebuild,
+ udev-9999.ebuild:
+ Temporarily use ld.bfd for ia64 wrt #504700; note: waiting for upstream to
+ merge a patch.
12 Mar 2014; Samuli Suominen <ssuominen@gentoo.org> -udev-210.ebuild:
old
diff --git a/sys-fs/udev/udev-211.ebuild b/sys-fs/udev/udev-211.ebuild
index b32588609c2d..3bec6470e103 100644
--- a/sys-fs/udev/udev-211.ebuild
+++ b/sys-fs/udev/udev-211.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-211.ebuild,v 1.1 2014/03/12 07:03:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-211.ebuild,v 1.2 2014/03/19 16:23:12 ssuominen Exp $
EAPI=5
@@ -163,6 +163,13 @@ src_prepare() {
-e '/--enable-static is not supported by systemd/s:as_fn_error:echo:' \
configure || die
+ # Force ld.bfd for arches with no -Wl,--gc-sections support in ld.gold wrt #504700
+ # Do this here to make use of CC_CHECK_FLAGS_APPEND in configure.ac, as older binutils
+ # version doesn't necessarily support whole -Wl,-fuse-ld= flag
+ if use ia64; then
+ sed -i -e '/fuse-ld/s:gold:bfd:' configure || die
+ fi
+
if ! use elibc_glibc; then #443030
echo '#define secure_getenv(x) NULL' >> config.h.in
sed -i -e '/error.*secure_getenv/s:.*:#define secure_getenv(x) NULL:' src/shared/missing.h || die
diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild
index 057e0ba7f01b..0f9354749796 100644
--- a/sys-fs/udev/udev-9999.ebuild
+++ b/sys-fs/udev/udev-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.287 2014/03/12 07:03:11 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.288 2014/03/19 16:23:12 ssuominen Exp $
EAPI=5
@@ -163,6 +163,13 @@ src_prepare() {
-e '/--enable-static is not supported by systemd/s:as_fn_error:echo:' \
configure || die
+ # Force ld.bfd for arches with no -Wl,--gc-sections support in ld.gold wrt #504700
+ # Do this here to make use of CC_CHECK_FLAGS_APPEND in configure.ac, as older binutils
+ # version doesn't necessarily support whole -Wl,-fuse-ld= flag
+ if use ia64; then
+ sed -i -e '/fuse-ld/s:gold:bfd:' configure || die
+ fi
+
if ! use elibc_glibc; then #443030
echo '#define secure_getenv(x) NULL' >> config.h.in
sed -i -e '/error.*secure_getenv/s:.*:#define secure_getenv(x) NULL:' src/shared/missing.h || die