Commit afcf929d authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Sjoerd Simons
Browse files

d/p/buildsys-Don-t-default-to-gold-as-the-linker.patch

* d/p/buildsys-Don-t-default-to-gold-as-the-linker.patch
  + Don't explicitely pick gold as the defualt linker. Fixes FTBS on sparc
    (Closes: #760879)
parent 867e9666
......@@ -22,7 +22,12 @@ systemd (215-3) UNRELEASED; urgency=medium
and ask the user for permission before attaching the information to the
bug report. (Closes: #756248)
-- Martin Pitt <mpitt@debian.org> Mon, 08 Sep 2014 12:58:27 +0200
[ Sjoerd Simons ]
* d/p/buildsys-Don-t-default-to-gold-as-the-linker.patch
+ Don't explicitely pick gold as the defualt linker. Fixes FTBS on sparc
(Closes: #760879)
-- Sjoerd Simons <sjoerd@debian.org> Sun, 14 Sep 2014 18:45:16 +0200
systemd (215-2) experimental; urgency=medium
......
From: Sjoerd Simons <sjoerd@luon.net>
Date: Sun, 14 Sep 2014 18:37:51 +0200
Subject: buildsys: Don't default to gold as the linker
systemd fails to build on sparc when using gold as the linker. Since
ifuncs aren't used any more for the compat libraries there isn't a real
reason anymore to explicitely switch to gold as a linker (apart from a
small build speedup). So remove the explict linker selection and use the
default linker instead.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760879
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 78776da..747d81a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,8 +216,7 @@ CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\
-Wl,--gc-sections \
-Wl,-z,relro \
-Wl,-z,now \
- -pie \
- -Wl,-fuse-ld=gold])
+ -pie ])
AC_SUBST([OUR_LDFLAGS], "$with_ldflags $sanitizer_ldflags")
AC_CHECK_SIZEOF(pid_t)
......@@ -151,3 +151,4 @@ Stop-syslog.socket-when-entering-emergency-mode.patch
Make-run-lock-tmpfs-an-API-fs.patch
Include-additional-directories-in-ProtectSystem.patch
Fix-paths-in-man-pages.patch
buildsys-Don-t-default-to-gold-as-the-linker.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment