[systemd/f22] disable gold on arm

Lennart Poettering lennart at fedoraproject.org
Mon Feb 16 21:55:27 UTC 2015


commit 78bc69f934ea6639624e4e81f55f52b1cf2d2002
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Feb 16 22:55:06 2015 +0100

    disable gold on arm

 systemd.spec |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 6c829c1..a52bcc0 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -299,6 +299,14 @@ CONFIGURE_OPTS=(
         --disable-terminal
 )
 
+%ifarch %{arm} aarch64
+# gold on arm is broken
+# https://bugzilla.redhat.com/show_bug.cgi?id=1193212
+CONFIGURE_OPTS+=(
+        LDFLAGS=-Wl,-fuse-ld=bfd
+)
+%endif
+
 pushd build3
 %define _configure ../configure
 %configure \
@@ -861,6 +869,7 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
 - This removes the sysctl/bridge hack, a different solution needs to be found for this (see #634736)
 - This removes the /etc/resolv.conf hack, anaconda needs to fix their handling of /etc/resolv.conf as symlink
 - This enables "%check"
+- disable gold on arm, as that is broken (see #1193212)
 
 * Mon Feb 16 2015 Peter Robinson <pbrobinson at fedoraproject.org> 218-6
 - aarch64 now has seccomp support


More information about the scm-commits mailing list